|
|
|
@ -121,6 +121,11 @@ export class BasicTreeItem extends NodeButton {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 下面的全是兼容,正常开发不要用 |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
export class FirstTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.first_tree_leaf_item"; |
|
|
|
|
|
|
|
|
@ -133,6 +138,9 @@ export class FirstTreeLeafItem extends BasicTreeItem {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @deprecated |
|
|
|
|
*/ |
|
|
|
|
@shortcut() |
|
|
|
|
export class MidTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.mid_tree_leaf_item"; |
|
|
|
@ -146,6 +154,9 @@ export class MidTreeLeafItem extends BasicTreeItem {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @deprecated |
|
|
|
|
*/ |
|
|
|
|
@shortcut() |
|
|
|
|
export class LastTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.last_tree_leaf_item"; |
|
|
|
@ -159,6 +170,9 @@ export class LastTreeLeafItem extends BasicTreeItem {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @deprecated |
|
|
|
|
*/ |
|
|
|
|
@shortcut() |
|
|
|
|
export class RootTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.root_tree_leaf_item"; |
|
|
|
@ -171,3 +185,51 @@ export class RootTreeLeafItem extends BasicTreeItem {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @deprecated |
|
|
|
|
*/ |
|
|
|
|
@shortcut() |
|
|
|
|
export class MultiLayerSingleTreeFirstTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.multilayer_single_tree_first_tree_leaf_item"; |
|
|
|
|
|
|
|
|
|
_defaultConfig() { |
|
|
|
|
return extend(super._defaultConfig(...arguments), { |
|
|
|
|
extraCls: "bi-multilayer-single-tree-first-tree-leaf-item", |
|
|
|
|
isFirstNode: true, |
|
|
|
|
isLastNode: false, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @deprecated |
|
|
|
|
*/ |
|
|
|
|
@shortcut() |
|
|
|
|
export class MultiLayerSingleTreeLastTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.multilayer_single_tree_last_tree_leaf_item"; |
|
|
|
|
|
|
|
|
|
_defaultConfig() { |
|
|
|
|
return extend(super._defaultConfig(...arguments), { |
|
|
|
|
extraCls: "bi-multilayer-single-tree-last-tree-leaf-item", |
|
|
|
|
isFirstNode: false, |
|
|
|
|
isLastNode: true, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @deprecated |
|
|
|
|
*/ |
|
|
|
|
@shortcut() |
|
|
|
|
export class MultiLayerSingleTreeMidTreeLeafItem extends BasicTreeItem { |
|
|
|
|
static xtype = "bi.multilayer_single_tree_mid_tree_leaf_item"; |
|
|
|
|
|
|
|
|
|
_defaultConfig() { |
|
|
|
|
return extend(super._defaultConfig(...arguments), { |
|
|
|
|
extraCls: "bi-multilayer-single-tree-mid-tree-leaf-item", |
|
|
|
|
isFirstNode: false, |
|
|
|
|
isLastNode: false, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|