51 lines
1.0 KiB
JavaScript
51 lines
1.0 KiB
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = void 0;
|
||
|
var autoAdjustOverflow = {
|
||
|
adjustX: 1,
|
||
|
adjustY: 1
|
||
|
};
|
||
|
var targetOffset = [0, 0];
|
||
|
var placements = {
|
||
|
topLeft: {
|
||
|
points: ['bl', 'tl'],
|
||
|
overflow: autoAdjustOverflow,
|
||
|
offset: [0, -4],
|
||
|
targetOffset: targetOffset
|
||
|
},
|
||
|
top: {
|
||
|
points: ['bc', 'tc'],
|
||
|
overflow: autoAdjustOverflow,
|
||
|
offset: [0, -4],
|
||
|
targetOffset: targetOffset
|
||
|
},
|
||
|
topRight: {
|
||
|
points: ['br', 'tr'],
|
||
|
overflow: autoAdjustOverflow,
|
||
|
offset: [0, -4],
|
||
|
targetOffset: targetOffset
|
||
|
},
|
||
|
bottomLeft: {
|
||
|
points: ['tl', 'bl'],
|
||
|
overflow: autoAdjustOverflow,
|
||
|
offset: [0, 4],
|
||
|
targetOffset: targetOffset
|
||
|
},
|
||
|
bottom: {
|
||
|
points: ['tc', 'bc'],
|
||
|
overflow: autoAdjustOverflow,
|
||
|
offset: [0, 4],
|
||
|
targetOffset: targetOffset
|
||
|
},
|
||
|
bottomRight: {
|
||
|
points: ['tr', 'br'],
|
||
|
overflow: autoAdjustOverflow,
|
||
|
offset: [0, 4],
|
||
|
targetOffset: targetOffset
|
||
|
}
|
||
|
};
|
||
|
var _default = placements;
|
||
|
exports.default = _default;
|