Browse Source

Pull request #3330: 无JIRA任务 refactor: 批量替换一下错误写法

Merge in VISUAL/fineui from ~ZHENFEI.LI/fineui:es6 to es6

* commit 'ce500ccec12d020f149558967162287fd91b2106':
  无JIRA任务 refactor: 批量替换一下错误写法
es6
Zhenfei.Li-李振飞 2 years ago
parent
commit
77124056b5
  1. 2
      src/base/combination/bubble.js
  2. 2
      src/base/combination/combo.js
  3. 2
      src/base/combination/expander.js
  4. 2
      src/base/combination/group.button.js
  5. 2
      src/base/combination/group.combo.js
  6. 2
      src/base/combination/group.virtual.js
  7. 2
      src/base/combination/loader.js
  8. 2
      src/base/combination/navigation.js
  9. 2
      src/base/combination/searcher.js
  10. 2
      src/base/combination/switcher.js
  11. 2
      src/base/combination/tab.js
  12. 2
      src/base/combination/tree.button.js
  13. 2
      src/base/layer/layer.popover.js
  14. 2
      src/base/layer/layer.popup.js
  15. 2
      src/base/layer/layer.searcher.js
  16. 2
      src/base/single/a/a.js
  17. 2
      src/base/single/button/button.basic.js
  18. 2
      src/base/single/button/button.node.js
  19. 2
      src/base/single/button/buttons/button.icon.js
  20. 2
      src/base/single/button/buttons/button.image.js
  21. 2
      src/base/single/button/buttons/button.text.js
  22. 2
      src/base/single/button/listitem/blankiconicontextitem.js
  23. 2
      src/base/single/button/listitem/blankicontexticonitem.js
  24. 2
      src/base/single/button/listitem/blankicontextitem.js
  25. 2
      src/base/single/button/listitem/icontexticonitem.js
  26. 2
      src/base/single/button/listitem/icontextitem.js
  27. 2
      src/base/single/button/listitem/texticonitem.js
  28. 2
      src/base/single/button/listitem/textitem.js
  29. 2
      src/base/single/button/node/icontexticonnode.js
  30. 2
      src/base/single/button/node/icontextnode.js
  31. 2
      src/base/single/button/node/texticonnode.js
  32. 2
      src/base/single/button/node/textnode.js
  33. 2
      src/base/single/editor/editor.js
  34. 2
      src/base/single/editor/editor.multifile.js
  35. 2
      src/base/single/icon/icon.js
  36. 2
      src/base/single/input/checkbox/checkbox.image.js
  37. 2
      src/base/single/input/file.js
  38. 2
      src/base/single/input/input.js
  39. 2
      src/base/single/input/radio/radio.image.js
  40. 2
      src/base/single/label/abstract.label.js
  41. 2
      src/base/single/tip/0.tip.js
  42. 2
      src/base/single/tip/tip.toast.js
  43. 2
      src/base/single/tip/tip.tooltip.js
  44. 2
      src/case/button/icon/icon.change.js
  45. 2
      src/case/button/icon/icon.trigger.js
  46. 2
      src/case/button/icon/iconhalf/icon.half.image.js
  47. 2
      src/case/button/icon/iconhalf/icon.half.js
  48. 2
      src/case/button/item.multiselect.js
  49. 2
      src/case/button/item.singleselect.icontext.js
  50. 2
      src/case/button/item.singleselect.js
  51. 2
      src/case/button/item.singleselect.radio.js
  52. 2
      src/case/button/node/node.arrow.js
  53. 2
      src/case/button/node/node.first.plus.js
  54. 2
      src/case/button/node/node.icon.arrow.js
  55. 2
      src/case/button/node/node.last.plus.js
  56. 2
      src/case/button/node/node.mid.plus.js
  57. 2
      src/case/button/node/node.multilayer.icon.arrow.js
  58. 2
      src/case/button/node/node.plus.js
  59. 2
      src/case/button/node/siwtcher.tree.node.js
  60. 2
      src/case/button/treeitem/item.first.treeleaf.js
  61. 2
      src/case/button/treeitem/item.icon.treeleaf.js
  62. 2
      src/case/button/treeitem/item.last.treeleaf.js
  63. 2
      src/case/button/treeitem/item.mid.treeleaf.js
  64. 2
      src/case/button/treeitem/item.multilayer.icon.treeleaf.js
  65. 2
      src/case/button/treeitem/treeitem.js
  66. 2
      src/core/behavior/0.behavior.js
  67. 2
      src/core/loader/loader.style.js

2
src/base/combination/bubble.js

@ -20,7 +20,7 @@ export class Bubble extends Widget {
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-popper", baseCls: (conf.baseCls || "") + " bi-popper",

2
src/base/combination/combo.js

@ -26,7 +26,7 @@ export class Combo extends Bubble {
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-combo" + (BI.isIE() ? " hack" : ""), baseCls: (conf.baseCls || "") + " bi-combo" + (BI.isIE() ? " hack" : ""),

2
src/base/combination/expander.js

@ -24,7 +24,7 @@ export class Expander extends Widget {
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-expander", baseCls: "bi-expander",
trigger: "click", trigger: "click",
toggle: true, toggle: true,

2
src/base/combination/group.button.js

@ -12,7 +12,7 @@ export class ButtonGroup extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-button-group", baseCls: "bi-button-group",
behaviors: {}, behaviors: {},
items: [], items: [],

2
src/base/combination/group.combo.js

@ -11,7 +11,7 @@ export class ComboGroup extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-combo-group bi-list-item", baseCls: "bi-combo-group bi-list-item",
// 以下这些属性对每一个combo都是公用的 // 以下这些属性对每一个combo都是公用的

2
src/base/combination/group.virtual.js

@ -7,7 +7,7 @@ export class VirtualGroup extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-virtual-group", baseCls: "bi-virtual-group",
items: [], items: [],
layouts: [{ layouts: [{

2
src/base/combination/loader.js

@ -14,7 +14,7 @@ export class Loader extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-loader", baseCls: "bi-loader",
direction: "top", direction: "top",

2
src/base/combination/navigation.js

@ -10,7 +10,7 @@ export class Navigation extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
direction: "bottom", // top, bottom, left, right, custom direction: "bottom", // top, bottom, left, right, custom
logic: { logic: {
dynamic: false, dynamic: false,

2
src/base/combination/searcher.js

@ -21,7 +21,7 @@ export class Searcher extends Widget {
static EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; static EVENT_AFTER_INIT = "EVENT_AFTER_INIT";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-searcher", baseCls: "bi-searcher",
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,

2
src/base/combination/switcher.js

@ -25,7 +25,7 @@ export class Switcher extends Widget {
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-switcher", baseCls: "bi-switcher",
direction: BI.Direction.Top, direction: BI.Direction.Top,
trigger: "click", trigger: "click",

2
src/base/combination/tab.js

@ -10,7 +10,7 @@ export class Tab extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-tab", baseCls: "bi-tab",
direction: "top", // top, bottom, left, right, custom direction: "top", // top, bottom, left, right, custom
single: false, // 是不是单页面 single: false, // 是不是单页面

2
src/base/combination/tree.button.js

@ -13,7 +13,7 @@ export class ButtonTree extends ButtonGroup {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-button-tree", baseCls: "bi-button-tree",
}); });
} }

2
src/base/layer/layer.popover.js

@ -243,7 +243,7 @@ export class BarPopover extends Popover {
static xtype = "bi.bar_popover"; static xtype = "bi.bar_popover";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
btns: [BI.i18nText("BI-Basic_OK"), BI.i18nText("BI-Basic_Cancel")], btns: [BI.i18nText("BI-Basic_OK"), BI.i18nText("BI-Basic_Cancel")],
}); });
} }

2
src/base/layer/layer.popup.js

@ -15,7 +15,7 @@ export class PopupView extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig(props) { _defaultConfig(props) {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
_baseCls: `bi-popup-view${props.primary ? " bi-primary" : ""}`, _baseCls: `bi-popup-view${props.primary ? " bi-primary" : ""}`,
// 品牌色 // 品牌色
primary: false, primary: false,

2
src/base/layer/layer.searcher.js

@ -15,7 +15,7 @@ export class SearcherView extends Pane {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-searcher-view bi-card`, baseCls: `${conf.baseCls || ""} bi-searcher-view bi-card`,

2
src/base/single/a/a.js

@ -13,7 +13,7 @@ export class A extends Text {
static xtype = "bi.a"; static xtype = "bi.a";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-a display-block`, baseCls: `${conf.baseCls || ""} bi-a display-block`,

2
src/base/single/button/button.basic.js

@ -15,7 +15,7 @@ export class BasicButton extends Single {
static EVENT_CHANGE = "BasicButton.EVENT_CHANGE"; static EVENT_CHANGE = "BasicButton.EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
_baseCls: `${conf._baseCls || ""} bi-basic-button${conf.invalid ? "" : " cursor-pointer"}${(BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""}`, _baseCls: `${conf._baseCls || ""} bi-basic-button${conf.invalid ? "" : " cursor-pointer"}${(BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""}`,

2
src/base/single/button/button.node.js

@ -14,7 +14,7 @@ export class NodeButton extends BasicButton {
static xtype = "bi.node_button"; static xtype = "bi.node_button";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
_baseCls: `${conf._baseCls || ""} bi-node`, _baseCls: `${conf._baseCls || ""} bi-node`,

2
src/base/single/button/buttons/button.icon.js

@ -12,7 +12,7 @@ export class IconButton extends BasicButton {
static xtype = "bi.icon_button"; static xtype = "bi.icon_button";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
_baseCls: `${conf._baseCls || ""} bi-icon-button horizon-center`, _baseCls: `${conf._baseCls || ""} bi-icon-button horizon-center`,

2
src/base/single/button/buttons/button.image.js

@ -15,7 +15,7 @@ export class ImageButton extends BasicButton {
static xtype = "bi.image_button"; static xtype = "bi.image_button";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-image-button`, baseCls: `${conf.baseCls || ""} bi-image-button`,

2
src/base/single/button/buttons/button.text.js

@ -14,7 +14,7 @@ export class TextButton extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-text-button`, baseCls: `${conf.baseCls || ""} bi-text-button`,

2
src/base/single/button/listitem/blankiconicontextitem.js

@ -14,7 +14,7 @@ export class BlankIconIconTextItem extends BasicButton {
static xtype = "bi.blank_icon_icon_text_item"; static xtype = "bi.blank_icon_icon_text_item";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-blank-icon-icon-text-item`, baseCls: `${conf.baseCls || ""} bi-blank-icon-icon-text-item`,

2
src/base/single/button/listitem/blankicontexticonitem.js

@ -15,7 +15,7 @@ export class BlankIconTextIconItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-blank-icon-text-icon-item`, baseCls: `${conf.baseCls || ""} bi-blank-icon-text-icon-item`,

2
src/base/single/button/listitem/blankicontextitem.js

@ -14,7 +14,7 @@ export class BlankIconTextItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-blank-icon-text-item`, baseCls: `${conf.baseCls || ""} bi-blank-icon-text-item`,

2
src/base/single/button/listitem/icontexticonitem.js

@ -16,7 +16,7 @@ export class IconTextIconItem extends BasicButton {
static xtype = "bi.icon_text_icon_item"; static xtype = "bi.icon_text_icon_item";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-icon-text-icon-item`, baseCls: `${conf.baseCls || ""} bi-icon-text-icon-item`,

2
src/base/single/button/listitem/icontextitem.js

@ -14,7 +14,7 @@ export class IconTextItem extends BasicButton {
static xtype = "bi.icon_text_item"; static xtype = "bi.icon_text_item";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-icon-text-item`, baseCls: `${conf.baseCls || ""} bi-icon-text-item`,

2
src/base/single/button/listitem/texticonitem.js

@ -15,7 +15,7 @@ export class TextIconItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE" static EVENT_CHANGE = "EVENT_CHANGE"
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-text-icon-item`, baseCls: `${conf.baseCls || ""} bi-text-icon-item`,

2
src/base/single/button/listitem/textitem.js

@ -15,7 +15,7 @@ export class TextItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-text-item`, baseCls: `${conf.baseCls || ""} bi-text-item`,

2
src/base/single/button/node/icontexticonnode.js

@ -13,7 +13,7 @@ export class IconTextIconNode extends NodeButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-icon-text-icon-node`, baseCls: `${conf.baseCls || ""} bi-icon-text-icon-node`,

2
src/base/single/button/node/icontextnode.js

@ -13,7 +13,7 @@ export class IconTextNode extends NodeButton {
static xtype = "bi.icon_text_node"; static xtype = "bi.icon_text_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-icon-text-node`, baseCls: `${conf.baseCls || ""} bi-icon-text-node`,

2
src/base/single/button/node/texticonnode.js

@ -13,7 +13,7 @@ export class TextIconNode extends NodeButton {
static xtype = "bi.text_icon_node"; static xtype = "bi.text_icon_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-text-icon-node`, baseCls: `${conf.baseCls || ""} bi-text-icon-node`,

2
src/base/single/button/node/textnode.js

@ -16,7 +16,7 @@ export class TextNode extends NodeButton {
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-text-node`, baseCls: `${conf.baseCls || ""} bi-text-node`,

2
src/base/single/editor/editor.js

@ -33,7 +33,7 @@ export class Editor extends Single {
static EVENT_EMPTY = "EVENT_EMPTY"; static EVENT_EMPTY = "EVENT_EMPTY";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: "bi-editor bi-focus-shadow", baseCls: "bi-editor bi-focus-shadow",

2
src/base/single/editor/editor.multifile.js

@ -20,7 +20,7 @@ export class MultifileEditor extends Widget {
static EVENT_UPLOADED = "EVENT_UPLOADED"; static EVENT_UPLOADED = "EVENT_UPLOADED";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-multifile-editor", baseCls: (conf.baseCls || "") + " bi-multifile-editor",

2
src/base/single/icon/icon.js

@ -11,7 +11,7 @@ export class Icon extends Single {
static xtype = "bi.icon"; static xtype = "bi.icon";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
tagName: "i", tagName: "i",

2
src/base/single/input/checkbox/checkbox.image.js

@ -13,7 +13,7 @@ export class ImageCheckbox extends IconButton {
static EVENT_CHANGE = IconButton.EVENT_CHANGE; static EVENT_CHANGE = IconButton.EVENT_CHANGE;
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-image-checkbox check-box-icon", baseCls: (conf.baseCls || "") + " bi-image-checkbox check-box-icon",

2
src/base/single/input/file.js

@ -459,7 +459,7 @@ export class File extends Widget {
static EVENT_UPLOADED = "EVENT_UPLOADED"; static EVENT_UPLOADED = "EVENT_UPLOADED";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-file display-block", baseCls: (conf.baseCls || "") + " bi-file display-block",

2
src/base/single/input/input.js

@ -34,7 +34,7 @@ export class Input extends Single {
static EVENT_RESTRICT = "EVENT_RESTRICT"; static EVENT_RESTRICT = "EVENT_RESTRICT";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-input display-block overflow-dot", baseCls: (conf.baseCls || "") + " bi-input display-block overflow-dot",

2
src/base/single/input/radio/radio.image.js

@ -13,7 +13,7 @@ export class ImageRadio extends IconButton {
static EVENT_CHANGE = IconButton.EVENT_CHANGE; static EVENT_CHANGE = IconButton.EVENT_CHANGE;
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: (conf.baseCls || "") + " bi-radio radio-icon", baseCls: (conf.baseCls || "") + " bi-radio radio-icon",

2
src/base/single/label/abstract.label.js

@ -7,7 +7,7 @@ import { Single } from "../0.single";
export class AbstractLabel extends Single { export class AbstractLabel extends Single {
_defaultConfig(props) { _defaultConfig(props) {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
textAlign: "center", textAlign: "center",

2
src/base/single/tip/0.tip.js

@ -11,7 +11,7 @@ import { Single } from "../0.single";
import { extend } from "../../../core"; import { extend } from "../../../core";
export class Tip extends Single { export class Tip extends Single {
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
_baseCls: `${conf._baseCls || ""} bi-tip`, _baseCls: `${conf._baseCls || ""} bi-tip`,

2
src/base/single/tip/tip.toast.js

@ -21,7 +21,7 @@ export class Toast extends Tip {
static xtype = "bi.toast"; static xtype = "bi.toast";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-toast", extraCls: "bi-toast",
text: "", text: "",
level: "success", // success或warning level: "success", // success或warning

2
src/base/single/tip/tip.tooltip.js

@ -17,7 +17,7 @@ export class Tooltip extends Tip {
static xtype = "bi.tooltip"; static xtype = "bi.tooltip";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-tooltip", extraCls: "bi-tooltip",
text: "", text: "",
level: "success", // success或warning level: "success", // success或warning

2
src/case/button/icon/icon.change.js

@ -17,7 +17,7 @@ export class IconChangeButton extends Single {
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: "bi-icon-change-button", baseCls: "bi-icon-change-button",

2
src/case/button/icon/icon.trigger.js

@ -14,7 +14,7 @@ export class TriggerIconButton extends IconButton {
static EVENT_CHANGE = IconButton.EVENT_CHANGE; static EVENT_CHANGE = IconButton.EVENT_CHANGE;
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-trigger-icon-button overflow-hidden`, baseCls: `${conf.baseCls || ""} bi-trigger-icon-button overflow-hidden`,

2
src/case/button/icon/iconhalf/icon.half.image.js

@ -13,7 +13,7 @@ export class HalfIconButton extends IconButton {
static EVENT_CHANGE = IconButton.EVENT_CHANGE static EVENT_CHANGE = IconButton.EVENT_CHANGE
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
extraCls: "bi-half-icon-button check-half-select-icon", extraCls: "bi-half-icon-button check-half-select-icon",

2
src/case/button/icon/iconhalf/icon.half.js

@ -12,7 +12,7 @@ export class HalfButton extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
selected: false, selected: false,

2
src/case/button/item.multiselect.js

@ -13,7 +13,7 @@ export class MultiSelectItem extends BasicButton {
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-multi-select-item", extraCls: "bi-multi-select-item",
attributes: { attributes: {
tabIndex: 1, tabIndex: 1,

2
src/case/button/item.singleselect.icontext.js

@ -12,7 +12,7 @@ export class SingleSelectIconTextItem extends Single {
static xtype = "bi.single_select_icon_text_item"; static xtype = "bi.single_select_icon_text_item";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-single-select-icon-text-item bi-list-item-active", extraCls: "bi-single-select-icon-text-item bi-list-item-active",
attributes: { attributes: {
tabIndex: 1, tabIndex: 1,

2
src/case/button/item.singleselect.js

@ -7,7 +7,7 @@ export class SingleSelectItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-single-select-item bi-list-item-active", extraCls: "bi-single-select-item bi-list-item-active",
attributes: { attributes: {
tabIndex: 1, tabIndex: 1,

2
src/case/button/item.singleselect.radio.js

@ -12,7 +12,7 @@ export class SingleSelectRadioItem extends BasicButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-single-select-radio-item", extraCls: "bi-single-select-radio-item",
attributes: { attributes: {
tabIndex: 1, tabIndex: 1,

2
src/case/button/node/node.arrow.js

@ -9,7 +9,7 @@ export class ArrowNode extends NodeButton {
static xtype = "bi.arrow_group_node"; static xtype = "bi.arrow_group_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-arrow-group-node bi-list-item`, baseCls: `${conf.baseCls || ""} bi-arrow-group-node bi-list-item`,

2
src/case/button/node/node.first.plus.js

@ -13,7 +13,7 @@ export class FirstPlusGroupNode extends NodeButton {
static xtype = "bi.first_plus_group_node"; static xtype = "bi.first_plus_group_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-first-plus-group-node bi-list-item`, baseCls: `${conf.baseCls || ""} bi-first-plus-group-node bi-list-item`,

2
src/case/button/node/node.icon.arrow.js

@ -13,7 +13,7 @@ export class IconArrowNode extends NodeButton {
static xtype = "bi.icon_arrow_node"; static xtype = "bi.icon_arrow_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-icon-arrow-node bi-list-item`, baseCls: `${conf.baseCls || ""} bi-icon-arrow-node bi-list-item`,

2
src/case/button/node/node.last.plus.js

@ -12,7 +12,7 @@ export class LastPlusGroupNode extends NodeButton {
static xtype = "bi.last_plus_group_node"; static xtype = "bi.last_plus_group_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-last-plus-group-node bi-list-item`, baseCls: `${conf.baseCls || ""} bi-last-plus-group-node bi-list-item`,

2
src/case/button/node/node.mid.plus.js

@ -12,7 +12,7 @@ export class MidPlusGroupNode extends NodeButton {
static xtype = "bi.mid_plus_group_node"; static xtype = "bi.mid_plus_group_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-mid-plus-group-node bi-list-item`, baseCls: `${conf.baseCls || ""} bi-mid-plus-group-node bi-list-item`,

2
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"; static xtype = "bi.multilayer_icon_arrow_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
extraCls: "bi-multilayer-icon-arrow-node bi-list-item", extraCls: "bi-multilayer-icon-arrow-node bi-list-item",

2
src/case/button/node/node.plus.js

@ -12,7 +12,7 @@ export class PlusGroupNode extends NodeButton {
static xtype = "bi.plus_group_node"; static xtype = "bi.plus_group_node";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-plus-group-node bi-list-item`, baseCls: `${conf.baseCls || ""} bi-plus-group-node bi-list-item`,

2
src/case/button/node/siwtcher.tree.node.js

@ -7,7 +7,7 @@ export class TreeNodeSwitcher extends NodeButton {
static EVENT_CHANGE = "EVENT_CHANGE"; static EVENT_CHANGE = "EVENT_CHANGE";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-tree-node-switcher", baseCls: "bi-tree-node-switcher",
iconWidth: 24, iconWidth: 24,
iconHeight: 24, iconHeight: 24,

2
src/case/button/treeitem/item.first.treeleaf.js

@ -6,7 +6,7 @@ export class FirstTreeLeafItem extends BasicButton {
static xtype = "bi.first_tree_leaf_item"; static xtype = "bi.first_tree_leaf_item";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-first-tree-leaf-item bi-list-item-active", extraCls: "bi-first-tree-leaf-item bi-list-item-active",
logic: { logic: {
dynamic: false, dynamic: false,

2
src/case/button/treeitem/item.icon.treeleaf.js

@ -6,7 +6,7 @@ export class IconTreeLeafItem extends BasicButton {
static xtype = "bi.icon_tree_leaf_item"; static xtype = "bi.icon_tree_leaf_item";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-icon-tree-leaf-item bi-list-item-active",
logic: { logic: {
dynamic: false, dynamic: false,

2
src/case/button/treeitem/item.last.treeleaf.js

@ -6,7 +6,7 @@ export class LastTreeLeafItem extends BasicButton {
static xtype = "bi.last_tree_leaf_item"; static xtype = "bi.last_tree_leaf_item";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-last-tree-leaf-item bi-list-item-active", extraCls: "bi-last-tree-leaf-item bi-list-item-active",
logic: { logic: {
dynamic: false, dynamic: false,

2
src/case/button/treeitem/item.mid.treeleaf.js

@ -6,7 +6,7 @@ export class MidTreeLeafItem extends BasicButton {
static xtype = "bi.mid_tree_leaf_item"; static xtype = "bi.mid_tree_leaf_item";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-mid-tree-leaf-item bi-list-item-active", extraCls: "bi-mid-tree-leaf-item bi-list-item-active",
logic: { logic: {
dynamic: false, dynamic: false,

2
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"; static xtype = "bi.multilayer_icon_tree_leaf_item";
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0, layer: 0,
height: 24, height: 24,

2
src/case/button/treeitem/treeitem.js

@ -6,7 +6,7 @@ export class BasicTreeItem extends NodeButton {
static xtype = "bi.tree_item"; static xtype = "bi.tree_item";
_defaultConfig() { _defaultConfig() {
const conf = super._defaultConfig(arguments); const conf = super._defaultConfig(...arguments);
return extend(conf, { return extend(conf, {
baseCls: `${conf.baseCls || ""} bi-tree-item bi-list-item-active`, baseCls: `${conf.baseCls || ""} bi-tree-item bi-list-item-active`,

2
src/core/behavior/0.behavior.js

@ -7,7 +7,7 @@ import { extend } from "../2.base";
export class Behavior extends OB { export class Behavior extends OB {
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), { return extend(super._defaultConfig(...arguments), {
rule: () => true, rule: () => true,
}); });
} }

2
src/core/loader/loader.style.js

@ -8,7 +8,7 @@ import { OB } from "../3.ob";
export class StyleLoaderManager extends OB { export class StyleLoaderManager extends OB {
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(arguments), {}); return extend(super._defaultConfig(...arguments), {});
} }
_init() { _init() {

Loading…
Cancel
Save