@ -20,7 +20,7 @@ export class Bubble extends Widget {
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
_defaultConfig() {
const conf = super._defaultConfig(arguments);
const conf = super._defaultConfig(...arguments);
return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-popper",
@ -26,7 +26,7 @@ export class Combo extends Bubble {
baseCls: (conf.baseCls || "") + " bi-combo" + (BI.isIE() ? " hack" : ""),
@ -24,7 +24,7 @@ export class Expander extends Widget {
return extend(super._defaultConfig(arguments), {
return extend(super._defaultConfig(...arguments), {
baseCls: "bi-expander",
trigger: "click",
toggle: true,
@ -12,7 +12,7 @@ export class ButtonGroup extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE";
baseCls: "bi-button-group",
behaviors: {},
items: [],
@ -11,7 +11,7 @@ export class ComboGroup extends Widget {
baseCls: "bi-combo-group bi-list-item",
// 以下这些属性对每一个combo都是公用的
@ -7,7 +7,7 @@ export class VirtualGroup extends Widget {
baseCls: "bi-virtual-group",
layouts: [{
@ -14,7 +14,7 @@ export class Loader extends Widget {
baseCls: "bi-loader",
direction: "top",
@ -10,7 +10,7 @@ export class Navigation extends Widget {
direction: "bottom", // top, bottom, left, right, custom
logic: {
dynamic: false,
@ -21,7 +21,7 @@ export class Searcher extends Widget {
static EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
baseCls: "bi-searcher",
lgap: 0,
rgap: 0,
@ -25,7 +25,7 @@ export class Switcher extends Widget {
baseCls: "bi-switcher",
direction: BI.Direction.Top,
@ -10,7 +10,7 @@ export class Tab extends Widget {
baseCls: "bi-tab",
direction: "top", // top, bottom, left, right, custom
single: false, // 是不是单页面
@ -13,7 +13,7 @@ export class ButtonTree extends ButtonGroup {
baseCls: "bi-button-tree",
});
}
@ -243,7 +243,7 @@ export class BarPopover extends Popover {
static xtype = "bi.bar_popover";
btns: [BI.i18nText("BI-Basic_OK"), BI.i18nText("BI-Basic_Cancel")],
@ -15,7 +15,7 @@ export class PopupView extends Widget {
_defaultConfig(props) {
_baseCls: `bi-popup-view${props.primary ? " bi-primary" : ""}`,
// 品牌色
primary: false,
@ -15,7 +15,7 @@ export class SearcherView extends Pane {
baseCls: `${conf.baseCls || ""} bi-searcher-view bi-card`,
@ -18,7 +18,7 @@ export class Single extends Widget {
static xtype = "bi.single";
return BI.extend(conf, {
readonly: false,
@ -13,7 +13,7 @@ export class A extends Text {
static xtype = "bi.a";
baseCls: `${conf.baseCls || ""} bi-a display-block`,
@ -15,7 +15,7 @@ export class BasicButton extends Single {
static EVENT_CHANGE = "BasicButton.EVENT_CHANGE";
_baseCls: `${conf._baseCls || ""} bi-basic-button${conf.invalid ? "" : " cursor-pointer"}${(BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""}`,
@ -14,7 +14,7 @@ export class NodeButton extends BasicButton {
static xtype = "bi.node_button";
_baseCls: `${conf._baseCls || ""} bi-node`,
@ -12,7 +12,7 @@ export class IconButton extends BasicButton {
static xtype = "bi.icon_button";
_baseCls: `${conf._baseCls || ""} bi-icon-button horizon-center`,
@ -15,7 +15,7 @@ export class ImageButton extends BasicButton {
static xtype = "bi.image_button";
baseCls: `${conf.baseCls || ""} bi-image-button`,
@ -14,7 +14,7 @@ export class TextButton extends BasicButton {
baseCls: `${conf.baseCls || ""} bi-text-button`,
@ -14,7 +14,7 @@ export class BlankIconIconTextItem extends BasicButton {
static xtype = "bi.blank_icon_icon_text_item";
baseCls: `${conf.baseCls || ""} bi-blank-icon-icon-text-item`,
@ -15,7 +15,7 @@ export class BlankIconTextIconItem extends BasicButton {
baseCls: `${conf.baseCls || ""} bi-blank-icon-text-icon-item`,
@ -14,7 +14,7 @@ export class BlankIconTextItem extends BasicButton {
baseCls: `${conf.baseCls || ""} bi-blank-icon-text-item`,
@ -16,7 +16,7 @@ export class IconTextIconItem extends BasicButton {
static xtype = "bi.icon_text_icon_item";
baseCls: `${conf.baseCls || ""} bi-icon-text-icon-item`,
@ -14,7 +14,7 @@ export class IconTextItem extends BasicButton {
static xtype = "bi.icon_text_item";
baseCls: `${conf.baseCls || ""} bi-icon-text-item`,
@ -15,7 +15,7 @@ export class TextIconItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"
baseCls: `${conf.baseCls || ""} bi-text-icon-item`,
@ -15,7 +15,7 @@ export class TextItem extends BasicButton {
baseCls: `${conf.baseCls || ""} bi-text-item`,
@ -13,7 +13,7 @@ export class IconTextIconNode extends NodeButton {
baseCls: `${conf.baseCls || ""} bi-icon-text-icon-node`,
@ -13,7 +13,7 @@ export class IconTextNode extends NodeButton {
static xtype = "bi.icon_text_node";
baseCls: `${conf.baseCls || ""} bi-icon-text-node`,
@ -12,7 +12,7 @@ export default class TextIconNode extends NodeButton {
static xtype = "bi.text_icon_node";
baseCls: `${conf.baseCls || ""} bi-text-icon-node`,
@ -16,7 +16,7 @@ export class TextNode extends NodeButton {
baseCls: `${conf.baseCls || ""} bi-text-node`,
@ -33,7 +33,7 @@ export class Editor extends Single {
static EVENT_EMPTY = "EVENT_EMPTY";
baseCls: "bi-editor bi-focus-shadow",
@ -20,7 +20,7 @@ export class MultifileEditor extends Widget {
static EVENT_UPLOADED = "EVENT_UPLOADED";
baseCls: (conf.baseCls || "") + " bi-multifile-editor",
@ -11,7 +11,7 @@ export class Icon extends Single {
static xtype = "bi.icon";
tagName: "i",
@ -13,7 +13,7 @@ export class ImageCheckbox extends IconButton {
static EVENT_CHANGE = IconButton.EVENT_CHANGE;
baseCls: (conf.baseCls || "") + " bi-image-checkbox check-box-icon",
@ -459,7 +459,7 @@ export class File extends Widget {
baseCls: (conf.baseCls || "") + " bi-file display-block",
@ -34,7 +34,7 @@ export class Input extends Single {
static EVENT_RESTRICT = "EVENT_RESTRICT";
baseCls: (conf.baseCls || "") + " bi-input display-block overflow-dot",
@ -13,7 +13,7 @@ export class ImageRadio extends IconButton {
baseCls: (conf.baseCls || "") + " bi-radio radio-icon",
@ -7,7 +7,7 @@ import { Single } from "../0.single";
export class AbstractLabel extends Single {
textAlign: "center",
@ -11,7 +11,7 @@ import { Single } from "../0.single";
import { extend } from "../../../core";
export class Tip extends Single {
_baseCls: `${conf._baseCls || ""} bi-tip`,
@ -21,7 +21,7 @@ export class Toast extends Tip {
static xtype = "bi.toast";
extraCls: "bi-toast",
text: "",
level: "success", // success或warning
@ -17,7 +17,7 @@ export class Tooltip extends Tip {
static xtype = "bi.tooltip";
extraCls: "bi-tooltip",
@ -17,7 +17,7 @@ export class IconChangeButton extends Single {
baseCls: "bi-icon-change-button",
@ -14,7 +14,7 @@ export class TriggerIconButton extends IconButton {
baseCls: `${conf.baseCls || ""} bi-trigger-icon-button overflow-hidden`,
@ -13,7 +13,7 @@ export class HalfIconButton extends IconButton {
static EVENT_CHANGE = IconButton.EVENT_CHANGE
extraCls: "bi-half-icon-button check-half-select-icon",
@ -12,7 +12,7 @@ export class HalfButton extends BasicButton {
selected: false,
@ -13,7 +13,7 @@ export class MultiSelectItem extends BasicButton {
extraCls: "bi-multi-select-item",
attributes: {
tabIndex: 1,
@ -12,7 +12,7 @@ export class SingleSelectIconTextItem extends Single {
static xtype = "bi.single_select_icon_text_item";
extraCls: "bi-single-select-icon-text-item bi-list-item-active",
@ -7,7 +7,7 @@ export class SingleSelectItem extends BasicButton {
extraCls: "bi-single-select-item bi-list-item-active",
@ -12,7 +12,7 @@ export class SingleSelectRadioItem extends BasicButton {
extraCls: "bi-single-select-radio-item",
@ -9,7 +9,7 @@ export class ArrowNode extends NodeButton {
static xtype = "bi.arrow_group_node";
baseCls: `${conf.baseCls || ""} bi-arrow-group-node bi-list-item`,
@ -13,7 +13,7 @@ export class FirstPlusGroupNode extends NodeButton {
static xtype = "bi.first_plus_group_node";
baseCls: `${conf.baseCls || ""} bi-first-plus-group-node bi-list-item`,
@ -13,7 +13,7 @@ export class IconArrowNode extends NodeButton {
static xtype = "bi.icon_arrow_node";
baseCls: `${conf.baseCls || ""} bi-icon-arrow-node bi-list-item`,
@ -12,7 +12,7 @@ export class LastPlusGroupNode extends NodeButton {
static xtype = "bi.last_plus_group_node";
baseCls: `${conf.baseCls || ""} bi-last-plus-group-node bi-list-item`,
@ -12,7 +12,7 @@ export class MidPlusGroupNode extends NodeButton {
static xtype = "bi.mid_plus_group_node";
baseCls: `${conf.baseCls || ""} bi-mid-plus-group-node bi-list-item`,
@ -6,7 +6,7 @@ export class MultiLayerIconArrowNode extends NodeButton {
static xtype = "bi.multilayer_icon_arrow_node";
extraCls: "bi-multilayer-icon-arrow-node bi-list-item",
@ -12,7 +12,7 @@ export class PlusGroupNode extends NodeButton {
static xtype = "bi.plus_group_node";
baseCls: `${conf.baseCls || ""} bi-plus-group-node bi-list-item`,
@ -7,7 +7,7 @@ export class TreeNodeSwitcher extends NodeButton {
baseCls: "bi-tree-node-switcher",
iconWidth: 24,
iconHeight: 24,
@ -6,7 +6,7 @@ export class FirstTreeLeafItem extends BasicButton {
static xtype = "bi.first_tree_leaf_item";
extraCls: "bi-first-tree-leaf-item bi-list-item-active",
@ -6,7 +6,7 @@ export class IconTreeLeafItem extends BasicButton {
static xtype = "bi.icon_tree_leaf_item";
extraCls: "bi-icon-tree-leaf-item bi-list-item-active",
@ -6,7 +6,7 @@ export class LastTreeLeafItem extends BasicButton {
static xtype = "bi.last_tree_leaf_item";
extraCls: "bi-last-tree-leaf-item bi-list-item-active",
@ -6,7 +6,7 @@ export class MidTreeLeafItem extends BasicButton {
static xtype = "bi.mid_tree_leaf_item";
extraCls: "bi-mid-tree-leaf-item bi-list-item-active",
@ -10,7 +10,7 @@ export class MultiLayerIconTreeLeafItem extends BasicButton {
static xtype = "bi.multilayer_icon_tree_leaf_item";
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0,
height: 24,
@ -6,7 +6,7 @@ export class BasicTreeItem extends NodeButton {
static xtype = "bi.tree_item";
baseCls: `${conf.baseCls || ""} bi-tree-item bi-list-item-active`,
@ -7,7 +7,7 @@ import { extend } from "../2.base";
export class Behavior extends OB {
rule: () => true,
@ -8,7 +8,7 @@ import { OB } from "../3.ob";
export class StyleLoaderManager extends OB {
return extend(super._defaultConfig(arguments), {});
return extend(super._defaultConfig(...arguments), {});
_init() {