From ad988917c1e9a61c17bb434ba83ca53062b51334 Mon Sep 17 00:00:00 2001 From: "Zhenfei.Li" Date: Sun, 8 Jan 2023 23:25:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20refactor:=20?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=9B=BF=E6=8D=A2=E4=B8=80=E4=B8=8B=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/bubble.js | 2 +- src/base/combination/combo.js | 2 +- src/base/combination/expander.js | 2 +- src/base/combination/group.button.js | 2 +- src/base/combination/group.combo.js | 2 +- src/base/combination/group.virtual.js | 2 +- src/base/combination/loader.js | 2 +- src/base/combination/navigation.js | 2 +- src/base/combination/searcher.js | 2 +- src/base/combination/switcher.js | 2 +- src/base/combination/tab.js | 2 +- src/base/combination/tree.button.js | 2 +- src/base/layer/layer.popover.js | 2 +- src/base/layer/layer.popup.js | 2 +- src/base/layer/layer.searcher.js | 2 +- src/base/single/0.single.js | 2 +- src/base/single/a/a.js | 2 +- src/base/single/button/button.basic.js | 2 +- src/base/single/button/button.node.js | 2 +- src/base/single/button/buttons/button.icon.js | 2 +- src/base/single/button/buttons/button.image.js | 2 +- src/base/single/button/buttons/button.text.js | 2 +- src/base/single/button/listitem/blankiconicontextitem.js | 2 +- src/base/single/button/listitem/blankicontexticonitem.js | 2 +- src/base/single/button/listitem/blankicontextitem.js | 2 +- src/base/single/button/listitem/icontexticonitem.js | 2 +- src/base/single/button/listitem/icontextitem.js | 2 +- src/base/single/button/listitem/texticonitem.js | 2 +- src/base/single/button/listitem/textitem.js | 2 +- src/base/single/button/node/icontexticonnode.js | 2 +- src/base/single/button/node/icontextnode.js | 2 +- src/base/single/button/node/texticonnode.js | 2 +- src/base/single/button/node/textnode.js | 2 +- src/base/single/editor/editor.js | 2 +- src/base/single/editor/editor.multifile.js | 2 +- src/base/single/icon/icon.js | 2 +- src/base/single/input/checkbox/checkbox.image.js | 2 +- src/base/single/input/file.js | 2 +- src/base/single/input/input.js | 2 +- src/base/single/input/radio/radio.image.js | 2 +- src/base/single/label/abstract.label.js | 2 +- src/base/single/tip/0.tip.js | 2 +- src/base/single/tip/tip.toast.js | 2 +- src/base/single/tip/tip.tooltip.js | 2 +- src/case/button/icon/icon.change.js | 2 +- src/case/button/icon/icon.trigger.js | 2 +- src/case/button/icon/iconhalf/icon.half.image.js | 2 +- src/case/button/icon/iconhalf/icon.half.js | 2 +- src/case/button/item.multiselect.js | 2 +- src/case/button/item.singleselect.icontext.js | 2 +- src/case/button/item.singleselect.js | 2 +- src/case/button/item.singleselect.radio.js | 2 +- src/case/button/node/node.arrow.js | 2 +- src/case/button/node/node.first.plus.js | 2 +- src/case/button/node/node.icon.arrow.js | 2 +- src/case/button/node/node.last.plus.js | 2 +- src/case/button/node/node.mid.plus.js | 2 +- src/case/button/node/node.multilayer.icon.arrow.js | 2 +- src/case/button/node/node.plus.js | 2 +- src/case/button/node/siwtcher.tree.node.js | 2 +- src/case/button/treeitem/item.first.treeleaf.js | 2 +- src/case/button/treeitem/item.icon.treeleaf.js | 2 +- src/case/button/treeitem/item.last.treeleaf.js | 2 +- src/case/button/treeitem/item.mid.treeleaf.js | 2 +- src/case/button/treeitem/item.multilayer.icon.treeleaf.js | 2 +- src/case/button/treeitem/treeitem.js | 2 +- src/core/behavior/0.behavior.js | 2 +- src/core/loader/loader.style.js | 2 +- 68 files changed, 68 insertions(+), 68 deletions(-) diff --git a/src/base/combination/bubble.js b/src/base/combination/bubble.js index 49bc6d176..143b73fe4 100644 --- a/src/base/combination/bubble.js +++ b/src/base/combination/bubble.js @@ -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", diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index 6f16862e2..16d3f6468 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -26,7 +26,7 @@ export class Combo extends Bubble { 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-combo" + (BI.isIE() ? " hack" : ""), diff --git a/src/base/combination/expander.js b/src/base/combination/expander.js index fe04aec7a..8f7158470 100644 --- a/src/base/combination/expander.js +++ b/src/base/combination/expander.js @@ -24,7 +24,7 @@ export class Expander extends Widget { static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-expander", trigger: "click", toggle: true, diff --git a/src/base/combination/group.button.js b/src/base/combination/group.button.js index 57c2e47e2..01b54e98c 100644 --- a/src/base/combination/group.button.js +++ b/src/base/combination/group.button.js @@ -12,7 +12,7 @@ export class ButtonGroup extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-button-group", behaviors: {}, items: [], diff --git a/src/base/combination/group.combo.js b/src/base/combination/group.combo.js index e2c0d1f6f..0fc637511 100644 --- a/src/base/combination/group.combo.js +++ b/src/base/combination/group.combo.js @@ -11,7 +11,7 @@ export class ComboGroup extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-combo-group bi-list-item", // 以下这些属性对每一个combo都是公用的 diff --git a/src/base/combination/group.virtual.js b/src/base/combination/group.virtual.js index a9f069ea7..a7e87c92c 100644 --- a/src/base/combination/group.virtual.js +++ b/src/base/combination/group.virtual.js @@ -7,7 +7,7 @@ export class VirtualGroup extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-virtual-group", items: [], layouts: [{ diff --git a/src/base/combination/loader.js b/src/base/combination/loader.js index 744f2bb12..7cabb8f61 100644 --- a/src/base/combination/loader.js +++ b/src/base/combination/loader.js @@ -14,7 +14,7 @@ export class Loader extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-loader", direction: "top", diff --git a/src/base/combination/navigation.js b/src/base/combination/navigation.js index 671459d5c..da12b1174 100644 --- a/src/base/combination/navigation.js +++ b/src/base/combination/navigation.js @@ -10,7 +10,7 @@ export class Navigation extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { direction: "bottom", // top, bottom, left, right, custom logic: { dynamic: false, diff --git a/src/base/combination/searcher.js b/src/base/combination/searcher.js index acf316e76..dcf482527 100644 --- a/src/base/combination/searcher.js +++ b/src/base/combination/searcher.js @@ -21,7 +21,7 @@ export class Searcher extends Widget { static EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-searcher", lgap: 0, rgap: 0, diff --git a/src/base/combination/switcher.js b/src/base/combination/switcher.js index b19f75404..7df64dff6 100644 --- a/src/base/combination/switcher.js +++ b/src/base/combination/switcher.js @@ -25,7 +25,7 @@ export class Switcher extends Widget { static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-switcher", direction: BI.Direction.Top, trigger: "click", diff --git a/src/base/combination/tab.js b/src/base/combination/tab.js index f7a7e2038..d9d5a5cc7 100644 --- a/src/base/combination/tab.js +++ b/src/base/combination/tab.js @@ -10,7 +10,7 @@ export class Tab extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-tab", direction: "top", // top, bottom, left, right, custom single: false, // 是不是单页面 diff --git a/src/base/combination/tree.button.js b/src/base/combination/tree.button.js index be25898f9..79e4b4ed5 100644 --- a/src/base/combination/tree.button.js +++ b/src/base/combination/tree.button.js @@ -13,7 +13,7 @@ export class ButtonTree extends ButtonGroup { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-button-tree", }); } diff --git a/src/base/layer/layer.popover.js b/src/base/layer/layer.popover.js index 5462b227f..3521af648 100644 --- a/src/base/layer/layer.popover.js +++ b/src/base/layer/layer.popover.js @@ -243,7 +243,7 @@ export class BarPopover extends Popover { static xtype = "bi.bar_popover"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { btns: [BI.i18nText("BI-Basic_OK"), BI.i18nText("BI-Basic_Cancel")], }); } diff --git a/src/base/layer/layer.popup.js b/src/base/layer/layer.popup.js index 359ab2df0..6151faec0 100644 --- a/src/base/layer/layer.popup.js +++ b/src/base/layer/layer.popup.js @@ -15,7 +15,7 @@ export class PopupView extends Widget { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig(props) { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { _baseCls: `bi-popup-view${props.primary ? " bi-primary" : ""}`, // 品牌色 primary: false, diff --git a/src/base/layer/layer.searcher.js b/src/base/layer/layer.searcher.js index 2ef9d1cbb..cf9d961db 100644 --- a/src/base/layer/layer.searcher.js +++ b/src/base/layer/layer.searcher.js @@ -15,7 +15,7 @@ export class SearcherView extends Pane { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-searcher-view bi-card`, diff --git a/src/base/single/0.single.js b/src/base/single/0.single.js index cd6ec00b0..20661bf53 100644 --- a/src/base/single/0.single.js +++ b/src/base/single/0.single.js @@ -18,7 +18,7 @@ export class Single extends Widget { static xtype = "bi.single"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return BI.extend(conf, { readonly: false, diff --git a/src/base/single/a/a.js b/src/base/single/a/a.js index 45a9c7846..41edbf3fb 100644 --- a/src/base/single/a/a.js +++ b/src/base/single/a/a.js @@ -13,7 +13,7 @@ export class A extends Text { static xtype = "bi.a"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-a display-block`, diff --git a/src/base/single/button/button.basic.js b/src/base/single/button/button.basic.js index ce2d1dfa8..c5d067b68 100644 --- a/src/base/single/button/button.basic.js +++ b/src/base/single/button/button.basic.js @@ -15,7 +15,7 @@ export class BasicButton extends Single { static EVENT_CHANGE = "BasicButton.EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { _baseCls: `${conf._baseCls || ""} bi-basic-button${conf.invalid ? "" : " cursor-pointer"}${(BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""}`, diff --git a/src/base/single/button/button.node.js b/src/base/single/button/button.node.js index d48bab2fb..4684d0c72 100644 --- a/src/base/single/button/button.node.js +++ b/src/base/single/button/button.node.js @@ -14,7 +14,7 @@ export class NodeButton extends BasicButton { static xtype = "bi.node_button"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { _baseCls: `${conf._baseCls || ""} bi-node`, diff --git a/src/base/single/button/buttons/button.icon.js b/src/base/single/button/buttons/button.icon.js index 5f3100a9b..edc65fc28 100644 --- a/src/base/single/button/buttons/button.icon.js +++ b/src/base/single/button/buttons/button.icon.js @@ -12,7 +12,7 @@ export class IconButton extends BasicButton { static xtype = "bi.icon_button"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { _baseCls: `${conf._baseCls || ""} bi-icon-button horizon-center`, diff --git a/src/base/single/button/buttons/button.image.js b/src/base/single/button/buttons/button.image.js index e8fcf6ede..9920ea784 100644 --- a/src/base/single/button/buttons/button.image.js +++ b/src/base/single/button/buttons/button.image.js @@ -15,7 +15,7 @@ export class ImageButton extends BasicButton { static xtype = "bi.image_button"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-image-button`, diff --git a/src/base/single/button/buttons/button.text.js b/src/base/single/button/buttons/button.text.js index 107a8ba38..6f3a2d2ea 100644 --- a/src/base/single/button/buttons/button.text.js +++ b/src/base/single/button/buttons/button.text.js @@ -14,7 +14,7 @@ export class TextButton extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-text-button`, diff --git a/src/base/single/button/listitem/blankiconicontextitem.js b/src/base/single/button/listitem/blankiconicontextitem.js index d57267110..e0dd3ac0f 100644 --- a/src/base/single/button/listitem/blankiconicontextitem.js +++ b/src/base/single/button/listitem/blankiconicontextitem.js @@ -14,7 +14,7 @@ export class BlankIconIconTextItem extends BasicButton { static xtype = "bi.blank_icon_icon_text_item"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-blank-icon-icon-text-item`, diff --git a/src/base/single/button/listitem/blankicontexticonitem.js b/src/base/single/button/listitem/blankicontexticonitem.js index 1880cdcb3..11ff0a64d 100644 --- a/src/base/single/button/listitem/blankicontexticonitem.js +++ b/src/base/single/button/listitem/blankicontexticonitem.js @@ -15,7 +15,7 @@ export class BlankIconTextIconItem extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-blank-icon-text-icon-item`, diff --git a/src/base/single/button/listitem/blankicontextitem.js b/src/base/single/button/listitem/blankicontextitem.js index 30be259d2..c80c8a2e2 100644 --- a/src/base/single/button/listitem/blankicontextitem.js +++ b/src/base/single/button/listitem/blankicontextitem.js @@ -14,7 +14,7 @@ export class BlankIconTextItem extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-blank-icon-text-item`, diff --git a/src/base/single/button/listitem/icontexticonitem.js b/src/base/single/button/listitem/icontexticonitem.js index 3d95eac4e..2727191c1 100644 --- a/src/base/single/button/listitem/icontexticonitem.js +++ b/src/base/single/button/listitem/icontexticonitem.js @@ -16,7 +16,7 @@ export class IconTextIconItem extends BasicButton { static xtype = "bi.icon_text_icon_item"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-icon-text-icon-item`, diff --git a/src/base/single/button/listitem/icontextitem.js b/src/base/single/button/listitem/icontextitem.js index b906cc6e7..074cacbca 100644 --- a/src/base/single/button/listitem/icontextitem.js +++ b/src/base/single/button/listitem/icontextitem.js @@ -14,7 +14,7 @@ export class IconTextItem extends BasicButton { static xtype = "bi.icon_text_item"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-icon-text-item`, diff --git a/src/base/single/button/listitem/texticonitem.js b/src/base/single/button/listitem/texticonitem.js index c17811c92..4c8b53d08 100644 --- a/src/base/single/button/listitem/texticonitem.js +++ b/src/base/single/button/listitem/texticonitem.js @@ -15,7 +15,7 @@ export class TextIconItem extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE" _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-text-icon-item`, diff --git a/src/base/single/button/listitem/textitem.js b/src/base/single/button/listitem/textitem.js index 29546ad02..62ca182ae 100644 --- a/src/base/single/button/listitem/textitem.js +++ b/src/base/single/button/listitem/textitem.js @@ -15,7 +15,7 @@ export class TextItem extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-text-item`, diff --git a/src/base/single/button/node/icontexticonnode.js b/src/base/single/button/node/icontexticonnode.js index 77a737b48..c80903d78 100644 --- a/src/base/single/button/node/icontexticonnode.js +++ b/src/base/single/button/node/icontexticonnode.js @@ -13,7 +13,7 @@ export class IconTextIconNode extends NodeButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-icon-text-icon-node`, diff --git a/src/base/single/button/node/icontextnode.js b/src/base/single/button/node/icontextnode.js index 54c2b60bf..b9281df80 100644 --- a/src/base/single/button/node/icontextnode.js +++ b/src/base/single/button/node/icontextnode.js @@ -13,7 +13,7 @@ export class IconTextNode extends NodeButton { static xtype = "bi.icon_text_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-icon-text-node`, diff --git a/src/base/single/button/node/texticonnode.js b/src/base/single/button/node/texticonnode.js index e4ca824a1..48836cfff 100644 --- a/src/base/single/button/node/texticonnode.js +++ b/src/base/single/button/node/texticonnode.js @@ -12,7 +12,7 @@ export default class TextIconNode extends NodeButton { static xtype = "bi.text_icon_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-text-icon-node`, diff --git a/src/base/single/button/node/textnode.js b/src/base/single/button/node/textnode.js index c7b56766d..2907b4c9d 100644 --- a/src/base/single/button/node/textnode.js +++ b/src/base/single/button/node/textnode.js @@ -16,7 +16,7 @@ export class TextNode extends NodeButton { _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-text-node`, diff --git a/src/base/single/editor/editor.js b/src/base/single/editor/editor.js index 0cf075a39..59007cd79 100644 --- a/src/base/single/editor/editor.js +++ b/src/base/single/editor/editor.js @@ -33,7 +33,7 @@ export class Editor extends Single { static EVENT_EMPTY = "EVENT_EMPTY"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: "bi-editor bi-focus-shadow", diff --git a/src/base/single/editor/editor.multifile.js b/src/base/single/editor/editor.multifile.js index 0954dcbbb..2f143c048 100644 --- a/src/base/single/editor/editor.multifile.js +++ b/src/base/single/editor/editor.multifile.js @@ -20,7 +20,7 @@ export class MultifileEditor extends Widget { static EVENT_UPLOADED = "EVENT_UPLOADED"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: (conf.baseCls || "") + " bi-multifile-editor", diff --git a/src/base/single/icon/icon.js b/src/base/single/icon/icon.js index 8dddd52b9..63b573a41 100644 --- a/src/base/single/icon/icon.js +++ b/src/base/single/icon/icon.js @@ -11,7 +11,7 @@ export class Icon extends Single { static xtype = "bi.icon"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { tagName: "i", diff --git a/src/base/single/input/checkbox/checkbox.image.js b/src/base/single/input/checkbox/checkbox.image.js index 04a6c5589..3b7e445e7 100644 --- a/src/base/single/input/checkbox/checkbox.image.js +++ b/src/base/single/input/checkbox/checkbox.image.js @@ -13,7 +13,7 @@ export class ImageCheckbox extends IconButton { static EVENT_CHANGE = IconButton.EVENT_CHANGE; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: (conf.baseCls || "") + " bi-image-checkbox check-box-icon", diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 8564efda7..9f0e0e708 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -459,7 +459,7 @@ export class File extends Widget { static EVENT_UPLOADED = "EVENT_UPLOADED"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: (conf.baseCls || "") + " bi-file display-block", diff --git a/src/base/single/input/input.js b/src/base/single/input/input.js index bd784b350..59f3a7686 100644 --- a/src/base/single/input/input.js +++ b/src/base/single/input/input.js @@ -34,7 +34,7 @@ export class Input extends Single { static EVENT_RESTRICT = "EVENT_RESTRICT"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: (conf.baseCls || "") + " bi-input display-block overflow-dot", diff --git a/src/base/single/input/radio/radio.image.js b/src/base/single/input/radio/radio.image.js index 513b1feff..72921b79c 100644 --- a/src/base/single/input/radio/radio.image.js +++ b/src/base/single/input/radio/radio.image.js @@ -13,7 +13,7 @@ export class ImageRadio extends IconButton { static EVENT_CHANGE = IconButton.EVENT_CHANGE; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: (conf.baseCls || "") + " bi-radio radio-icon", diff --git a/src/base/single/label/abstract.label.js b/src/base/single/label/abstract.label.js index b794e7fc4..28332de3e 100644 --- a/src/base/single/label/abstract.label.js +++ b/src/base/single/label/abstract.label.js @@ -7,7 +7,7 @@ import { Single } from "../0.single"; export class AbstractLabel extends Single { _defaultConfig(props) { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { textAlign: "center", diff --git a/src/base/single/tip/0.tip.js b/src/base/single/tip/0.tip.js index f94b581ab..22f5e46da 100644 --- a/src/base/single/tip/0.tip.js +++ b/src/base/single/tip/0.tip.js @@ -11,7 +11,7 @@ import { Single } from "../0.single"; import { extend } from "../../../core"; export class Tip extends Single { _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { _baseCls: `${conf._baseCls || ""} bi-tip`, diff --git a/src/base/single/tip/tip.toast.js b/src/base/single/tip/tip.toast.js index e42347d44..e9467e34a 100644 --- a/src/base/single/tip/tip.toast.js +++ b/src/base/single/tip/tip.toast.js @@ -21,7 +21,7 @@ export class Toast extends Tip { static xtype = "bi.toast"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-toast", text: "", level: "success", // success或warning diff --git a/src/base/single/tip/tip.tooltip.js b/src/base/single/tip/tip.tooltip.js index 9c573e9fd..46926195e 100644 --- a/src/base/single/tip/tip.tooltip.js +++ b/src/base/single/tip/tip.tooltip.js @@ -17,7 +17,7 @@ export class Tooltip extends Tip { static xtype = "bi.tooltip"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-tooltip", text: "", level: "success", // success或warning diff --git a/src/case/button/icon/icon.change.js b/src/case/button/icon/icon.change.js index f477373e5..16ebd501d 100644 --- a/src/case/button/icon/icon.change.js +++ b/src/case/button/icon/icon.change.js @@ -17,7 +17,7 @@ export class IconChangeButton extends Single { _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: "bi-icon-change-button", diff --git a/src/case/button/icon/icon.trigger.js b/src/case/button/icon/icon.trigger.js index a9afa3d8a..a7606d59b 100644 --- a/src/case/button/icon/icon.trigger.js +++ b/src/case/button/icon/icon.trigger.js @@ -14,7 +14,7 @@ export class TriggerIconButton extends IconButton { static EVENT_CHANGE = IconButton.EVENT_CHANGE; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-trigger-icon-button overflow-hidden`, diff --git a/src/case/button/icon/iconhalf/icon.half.image.js b/src/case/button/icon/iconhalf/icon.half.image.js index e165b4d23..24d2d0cea 100644 --- a/src/case/button/icon/iconhalf/icon.half.image.js +++ b/src/case/button/icon/iconhalf/icon.half.image.js @@ -13,7 +13,7 @@ export class HalfIconButton extends IconButton { static EVENT_CHANGE = IconButton.EVENT_CHANGE _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { extraCls: "bi-half-icon-button check-half-select-icon", diff --git a/src/case/button/icon/iconhalf/icon.half.js b/src/case/button/icon/iconhalf/icon.half.js index 7a72e5823..a0db816ed 100644 --- a/src/case/button/icon/iconhalf/icon.half.js +++ b/src/case/button/icon/iconhalf/icon.half.js @@ -12,7 +12,7 @@ export class HalfButton extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { selected: false, diff --git a/src/case/button/item.multiselect.js b/src/case/button/item.multiselect.js index dd5548f4a..bd82f2dcc 100644 --- a/src/case/button/item.multiselect.js +++ b/src/case/button/item.multiselect.js @@ -13,7 +13,7 @@ export class MultiSelectItem extends BasicButton { _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-multi-select-item", attributes: { tabIndex: 1, diff --git a/src/case/button/item.singleselect.icontext.js b/src/case/button/item.singleselect.icontext.js index c32fc6b5a..58e329ff4 100644 --- a/src/case/button/item.singleselect.icontext.js +++ b/src/case/button/item.singleselect.icontext.js @@ -12,7 +12,7 @@ export class SingleSelectIconTextItem extends Single { static xtype = "bi.single_select_icon_text_item"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-single-select-icon-text-item bi-list-item-active", attributes: { tabIndex: 1, diff --git a/src/case/button/item.singleselect.js b/src/case/button/item.singleselect.js index e06f1c4a9..a3fd34b01 100644 --- a/src/case/button/item.singleselect.js +++ b/src/case/button/item.singleselect.js @@ -7,7 +7,7 @@ export class SingleSelectItem extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-single-select-item bi-list-item-active", attributes: { tabIndex: 1, diff --git a/src/case/button/item.singleselect.radio.js b/src/case/button/item.singleselect.radio.js index 8a314165d..0fd83a4b6 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -12,7 +12,7 @@ export class SingleSelectRadioItem extends BasicButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-single-select-radio-item", attributes: { tabIndex: 1, diff --git a/src/case/button/node/node.arrow.js b/src/case/button/node/node.arrow.js index aac112417..dc1834c88 100644 --- a/src/case/button/node/node.arrow.js +++ b/src/case/button/node/node.arrow.js @@ -9,7 +9,7 @@ export class ArrowNode extends NodeButton { static xtype = "bi.arrow_group_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-arrow-group-node bi-list-item`, diff --git a/src/case/button/node/node.first.plus.js b/src/case/button/node/node.first.plus.js index 5202c77ee..8e895f801 100644 --- a/src/case/button/node/node.first.plus.js +++ b/src/case/button/node/node.first.plus.js @@ -13,7 +13,7 @@ export class FirstPlusGroupNode extends NodeButton { static xtype = "bi.first_plus_group_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-first-plus-group-node bi-list-item`, diff --git a/src/case/button/node/node.icon.arrow.js b/src/case/button/node/node.icon.arrow.js index c779795ec..866568b95 100644 --- a/src/case/button/node/node.icon.arrow.js +++ b/src/case/button/node/node.icon.arrow.js @@ -13,7 +13,7 @@ export class IconArrowNode extends NodeButton { static xtype = "bi.icon_arrow_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-icon-arrow-node bi-list-item`, diff --git a/src/case/button/node/node.last.plus.js b/src/case/button/node/node.last.plus.js index 2f273f1d8..95e745f4e 100644 --- a/src/case/button/node/node.last.plus.js +++ b/src/case/button/node/node.last.plus.js @@ -12,7 +12,7 @@ export class LastPlusGroupNode extends NodeButton { static xtype = "bi.last_plus_group_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-last-plus-group-node bi-list-item`, diff --git a/src/case/button/node/node.mid.plus.js b/src/case/button/node/node.mid.plus.js index 116a73a48..e1276d6ab 100644 --- a/src/case/button/node/node.mid.plus.js +++ b/src/case/button/node/node.mid.plus.js @@ -12,7 +12,7 @@ export class MidPlusGroupNode extends NodeButton { static xtype = "bi.mid_plus_group_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-mid-plus-group-node bi-list-item`, diff --git a/src/case/button/node/node.multilayer.icon.arrow.js b/src/case/button/node/node.multilayer.icon.arrow.js index 958e88b79..995bc0327 100644 --- a/src/case/button/node/node.multilayer.icon.arrow.js +++ b/src/case/button/node/node.multilayer.icon.arrow.js @@ -6,7 +6,7 @@ export class MultiLayerIconArrowNode extends NodeButton { static xtype = "bi.multilayer_icon_arrow_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { extraCls: "bi-multilayer-icon-arrow-node bi-list-item", diff --git a/src/case/button/node/node.plus.js b/src/case/button/node/node.plus.js index b04624456..4a4e1b042 100644 --- a/src/case/button/node/node.plus.js +++ b/src/case/button/node/node.plus.js @@ -12,7 +12,7 @@ export class PlusGroupNode extends NodeButton { static xtype = "bi.plus_group_node"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-plus-group-node bi-list-item`, diff --git a/src/case/button/node/siwtcher.tree.node.js b/src/case/button/node/siwtcher.tree.node.js index fe89b6569..502deb48f 100644 --- a/src/case/button/node/siwtcher.tree.node.js +++ b/src/case/button/node/siwtcher.tree.node.js @@ -7,7 +7,7 @@ export class TreeNodeSwitcher extends NodeButton { static EVENT_CHANGE = "EVENT_CHANGE"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { baseCls: "bi-tree-node-switcher", iconWidth: 24, iconHeight: 24, diff --git a/src/case/button/treeitem/item.first.treeleaf.js b/src/case/button/treeitem/item.first.treeleaf.js index f379f65c0..b69340b14 100644 --- a/src/case/button/treeitem/item.first.treeleaf.js +++ b/src/case/button/treeitem/item.first.treeleaf.js @@ -6,7 +6,7 @@ export class FirstTreeLeafItem extends BasicButton { static xtype = "bi.first_tree_leaf_item"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-first-tree-leaf-item bi-list-item-active", logic: { dynamic: false, diff --git a/src/case/button/treeitem/item.icon.treeleaf.js b/src/case/button/treeitem/item.icon.treeleaf.js index 56b94723b..dee13e086 100644 --- a/src/case/button/treeitem/item.icon.treeleaf.js +++ b/src/case/button/treeitem/item.icon.treeleaf.js @@ -6,7 +6,7 @@ export class IconTreeLeafItem extends BasicButton { static xtype = "bi.icon_tree_leaf_item"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-icon-tree-leaf-item bi-list-item-active", logic: { dynamic: false, diff --git a/src/case/button/treeitem/item.last.treeleaf.js b/src/case/button/treeitem/item.last.treeleaf.js index e8317f892..6b89cfbf6 100644 --- a/src/case/button/treeitem/item.last.treeleaf.js +++ b/src/case/button/treeitem/item.last.treeleaf.js @@ -6,7 +6,7 @@ export class LastTreeLeafItem extends BasicButton { static xtype = "bi.last_tree_leaf_item"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-last-tree-leaf-item bi-list-item-active", logic: { dynamic: false, diff --git a/src/case/button/treeitem/item.mid.treeleaf.js b/src/case/button/treeitem/item.mid.treeleaf.js index dfc00d4db..60d76c414 100644 --- a/src/case/button/treeitem/item.mid.treeleaf.js +++ b/src/case/button/treeitem/item.mid.treeleaf.js @@ -6,7 +6,7 @@ export class MidTreeLeafItem extends BasicButton { static xtype = "bi.mid_tree_leaf_item"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-mid-tree-leaf-item bi-list-item-active", logic: { dynamic: false, diff --git a/src/case/button/treeitem/item.multilayer.icon.treeleaf.js b/src/case/button/treeitem/item.multilayer.icon.treeleaf.js index b39108611..75d67b090 100644 --- a/src/case/button/treeitem/item.multilayer.icon.treeleaf.js +++ b/src/case/button/treeitem/item.multilayer.icon.treeleaf.js @@ -10,7 +10,7 @@ export class MultiLayerIconTreeLeafItem extends BasicButton { static xtype = "bi.multilayer_icon_tree_leaf_item"; _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", layer: 0, height: 24, diff --git a/src/case/button/treeitem/treeitem.js b/src/case/button/treeitem/treeitem.js index c6235facd..85777dd5c 100644 --- a/src/case/button/treeitem/treeitem.js +++ b/src/case/button/treeitem/treeitem.js @@ -6,7 +6,7 @@ export class BasicTreeItem extends NodeButton { static xtype = "bi.tree_item"; _defaultConfig() { - const conf = super._defaultConfig(arguments); + const conf = super._defaultConfig(...arguments); return extend(conf, { baseCls: `${conf.baseCls || ""} bi-tree-item bi-list-item-active`, diff --git a/src/core/behavior/0.behavior.js b/src/core/behavior/0.behavior.js index 22496e242..37dfb3375 100644 --- a/src/core/behavior/0.behavior.js +++ b/src/core/behavior/0.behavior.js @@ -7,7 +7,7 @@ import { extend } from "../2.base"; export class Behavior extends OB { _defaultConfig() { - return extend(super._defaultConfig(arguments), { + return extend(super._defaultConfig(...arguments), { rule: () => true, }); } diff --git a/src/core/loader/loader.style.js b/src/core/loader/loader.style.js index f89aea175..c775ff49a 100644 --- a/src/core/loader/loader.style.js +++ b/src/core/loader/loader.style.js @@ -8,7 +8,7 @@ import { OB } from "../3.ob"; export class StyleLoaderManager extends OB { _defaultConfig() { - return extend(super._defaultConfig(arguments), {}); + return extend(super._defaultConfig(...arguments), {}); } _init() {