@ -1,5 +1,5 @@
import { Label, Text } from "./single";
import {
AbsoluteCenterLayout,
CenterAdaptLayout,
HorizontalAdaptLayout,
VerticalLayout,
@ -12,7 +12,8 @@ import {
createWidget,
Providers
} from "@/core";
import { Layers } from "@/base";
import { Layers } from "@/base/0.base";
/**
* 当没有元素时有提示信息的view
@ -43,7 +44,7 @@ export class Pane extends Widget {
_assertTip() {
if (!this._tipText) {
createWidget({
type: "bi.absolute_center_adapt",
type: AbsoluteCenterLayout.xtype,
element: this,
items: [
{
@ -1,4 +1,14 @@
import { HTapeLayout, AbsoluteLayout, Layout, VerticalLayout, Widget, shortcut, isPlainObject, extend } from "@/core";
VTapeLayout,
HTapeLayout,
AbsoluteLayout,
Layout,
Widget,
shortcut,
isPlainObject,
extend
import { Label, IconButton } from "../single";
@ -128,7 +138,7 @@ export class Drawer extends Widget {
return extend(
type: "bi.vtape",
type: VTapeLayout.xtype,
items,
},
this._getSuitableSize()
@ -1,4 +1,6 @@
RightVerticalAdaptLayout,
@ -202,7 +204,7 @@ export class Popover extends Widget {
scrolly: false,
}
: {
height: this._getSuitableHeight(size.height),
);
@ -302,7 +304,7 @@ export class BarPopover extends Popover {
const { footer, warningTitle } = this.options;
footer ||
(this.options.footer = {
type: "bi.right_vertical_adapt",
type: RightVerticalAdaptLayout.xtype,
lgap: 10,
import { Widget, shortcut, Actions, extend, isKey, isNotNull, isFunction, isPlainObject, isNull, delay } from "@/core";
import { Tooltips } from "@/base";
import { Tooltips } from "@/base/0.base";
* guy
@ -13,7 +13,7 @@ import {
import { Label } from "../label";
import { Single } from "../0.single";
import { Bubbles } from "@/base";
import { Bubbles } from "@/base/0.base";
* Created by GUY on 2015/4/15.
@ -16,7 +16,7 @@ import {
*