@ucloud-pccl/react-components
Version:
UCloud pccl react components
184 lines (183 loc) • 5 kB
TypeScript
export function getPlacements(offset?: number, adjust?: boolean): {
topLeft: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
top: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
topRight: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
bottomLeft: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
bottom: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
bottomRight: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
leftTop: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
left: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
leftBottom: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
rightTop: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
right: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
rightBottom: {
points: string[];
overflow: {};
offset: number[];
targetOffset: number[];
};
};
declare namespace _default {
namespace topLeft {
export const points: string[];
export const overflow: {};
export const offset: number[];
export { targetOffset };
}
namespace top {
const points_1: string[];
export { points_1 as points };
const overflow_1: {};
export { overflow_1 as overflow };
const offset_1: number[];
export { offset_1 as offset };
export { targetOffset };
}
namespace topRight {
const points_2: string[];
export { points_2 as points };
const overflow_2: {};
export { overflow_2 as overflow };
const offset_2: number[];
export { offset_2 as offset };
export { targetOffset };
}
namespace bottomLeft {
const points_3: string[];
export { points_3 as points };
const overflow_3: {};
export { overflow_3 as overflow };
const offset_3: number[];
export { offset_3 as offset };
export { targetOffset };
}
namespace bottom {
const points_4: string[];
export { points_4 as points };
const overflow_4: {};
export { overflow_4 as overflow };
const offset_4: number[];
export { offset_4 as offset };
export { targetOffset };
}
namespace bottomRight {
const points_5: string[];
export { points_5 as points };
const overflow_5: {};
export { overflow_5 as overflow };
const offset_5: number[];
export { offset_5 as offset };
export { targetOffset };
}
namespace leftTop {
const points_6: string[];
export { points_6 as points };
const overflow_6: {};
export { overflow_6 as overflow };
const offset_6: number[];
export { offset_6 as offset };
export { targetOffset };
}
namespace left {
const points_7: string[];
export { points_7 as points };
const overflow_7: {};
export { overflow_7 as overflow };
const offset_7: number[];
export { offset_7 as offset };
export { targetOffset };
}
namespace leftBottom {
const points_8: string[];
export { points_8 as points };
const overflow_8: {};
export { overflow_8 as overflow };
const offset_8: number[];
export { offset_8 as offset };
export { targetOffset };
}
namespace rightTop {
const points_9: string[];
export { points_9 as points };
const overflow_9: {};
export { overflow_9 as overflow };
const offset_9: number[];
export { offset_9 as offset };
export { targetOffset };
}
namespace right {
const points_10: string[];
export { points_10 as points };
const overflow_10: {};
export { overflow_10 as overflow };
const offset_10: number[];
export { offset_10 as offset };
export { targetOffset };
}
namespace rightBottom {
const points_11: string[];
export { points_11 as points };
const overflow_11: {};
export { overflow_11 as overflow };
const offset_11: number[];
export { offset_11 as offset };
export { targetOffset };
}
}
export default _default;
declare const targetOffset: number[];