Browse Source

缩减命名

master
guy 4 years ago
parent
commit
a18867d879
  1. 2
      src/core/wrapper/layout/adapt/absolute.center.js
  2. 2
      src/core/wrapper/layout/adapt/absolute.horizontal.js
  3. 2
      src/core/wrapper/layout/adapt/absolute.vertical.js
  4. 2
      src/core/wrapper/layout/adapt/adapt.center.js
  5. 2
      src/core/wrapper/layout/adapt/adapt.horizontal.js
  6. 6
      src/core/wrapper/layout/adapt/adapt.leftrightvertical.js
  7. 2
      src/core/wrapper/layout/adapt/adapt.table.js
  8. 2
      src/core/wrapper/layout/adapt/adapt.vertical.js
  9. 2
      src/core/wrapper/layout/adapt/auto.horizontal.js
  10. 4
      src/core/wrapper/layout/adapt/inline.center.js
  11. 4
      src/core/wrapper/layout/adapt/inline.horizontal.js
  12. 4
      src/core/wrapper/layout/adapt/inline.vertical.js
  13. 2
      src/core/wrapper/layout/flex/flex.center.js
  14. 2
      src/core/wrapper/layout/flex/flex.horizontal.center.js
  15. 2
      src/core/wrapper/layout/flex/flex.horizontal.js
  16. 2
      src/core/wrapper/layout/flex/flex.vertical.center.js
  17. 2
      src/core/wrapper/layout/flex/flex.vertical.js
  18. 2
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js
  19. 2
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.center.js
  20. 4
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.js
  21. 2
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js
  22. 4
      src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.js
  23. 2
      src/core/wrapper/layout/layout.absolute.js
  24. 2
      src/core/wrapper/layout/layout.adaptive.js
  25. 2
      src/core/wrapper/layout/layout.border.js
  26. 2
      src/core/wrapper/layout/layout.card.js
  27. 2
      src/core/wrapper/layout/layout.division.js
  28. 4
      src/core/wrapper/layout/layout.flow.js
  29. 2
      src/core/wrapper/layout/layout.grid.js
  30. 2
      src/core/wrapper/layout/layout.horizontal.js
  31. 2
      src/core/wrapper/layout/layout.inline.js
  32. 2
      src/core/wrapper/layout/layout.lattice.js
  33. 2
      src/core/wrapper/layout/layout.table.js
  34. 2
      src/core/wrapper/layout/layout.tape.js
  35. 2
      src/core/wrapper/layout/layout.td.js
  36. 2
      src/core/wrapper/layout/layout.vertical.js
  37. 2
      src/core/wrapper/layout/layout.window.js
  38. 2
      src/core/wrapper/layout/middle/middle.center.js
  39. 2
      src/core/wrapper/layout/middle/middle.float.center.js
  40. 2
      src/core/wrapper/layout/middle/middle.horizontal.js
  41. 2
      src/core/wrapper/layout/middle/middle.vertical.js
  42. 2
      src/less/core/wrapper/flex.horizontal.less
  43. 2
      src/less/core/wrapper/flex.vertical.less
  44. 2
      src/less/core/wrapper/flex.wrapper.horizontal.less
  45. 4
      src/less/core/wrapper/flex.wrapper.vertical.less
  46. 4
      src/less/core/wrapper/inline.center.less
  47. 4
      src/less/core/wrapper/inline.horizontal.less
  48. 4
      src/less/core/wrapper/inline.vertical.less

2
src/core/wrapper/layout/adapt/absolute.center.js

@ -6,7 +6,7 @@
BI.AbsoluteCenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.AbsoluteCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-center-layout",
baseCls: "bi-abs-c-a",
hgap: 0,
lgap: 0,
rgap: 0,

2
src/core/wrapper/layout/adapt/absolute.horizontal.js

@ -6,7 +6,7 @@
BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.AbsoluteHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-horizontal-layout",
baseCls: "bi-abs-h-a",
hgap: 0,
lgap: 0,
rgap: 0,

2
src/core/wrapper/layout/adapt/absolute.vertical.js

@ -6,7 +6,7 @@
BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.AbsoluteVerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-vertical-layout",
baseCls: "bi-abs-v-a",
hgap: 0,
lgap: 0,
rgap: 0,

2
src/core/wrapper/layout/adapt/adapt.center.js

@ -6,7 +6,7 @@
BI.CenterAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.CenterAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-center-adapt-layout",
baseCls: "bi-c-a",
horizontalAlign: BI.HorizontalAlign.Center,
columnSize: [],
scrollx: false,

2
src/core/wrapper/layout/adapt/adapt.horizontal.js

@ -6,7 +6,7 @@
BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.HorizontalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizontal-adapt-layout",
baseCls: "bi-h-a",
verticalAlign: BI.VerticalAlign.Top,
columnSize: [],
scrollx: false,

6
src/core/wrapper/layout/adapt/adapt.leftrightvertical.js

@ -10,7 +10,7 @@
BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.LeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-left-right-vertical-adapt-layout",
baseCls: "bi-lr-v-a",
items: {},
llgap: 0,
lrgap: 0,
@ -78,7 +78,7 @@ BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.LeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-left-vertical-adapt-layout",
baseCls: "bi-l-v-a",
items: [],
lgap: 0,
rgap: 0,
@ -124,7 +124,7 @@ BI.shortcut("bi.left_vertical_adapt", BI.LeftVerticalAdaptLayout);
BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.RightVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-right-vertical-adapt-layout",
baseCls: "bi-r-v-a",
items: [],
lgap: 0,
rgap: 0,

2
src/core/wrapper/layout/adapt/adapt.table.js

@ -6,7 +6,7 @@
BI.TableAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.TableAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-table-adapt-layout",
baseCls: "bi-t-a",
columnSize: [],
verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left,

2
src/core/wrapper/layout/adapt/adapt.vertical.js

@ -5,7 +5,7 @@
*/
BI.VerticalAdaptLayout = BI.inherit(BI.Layout, {
props: {
baseCls: "bi-vertical-adapt-layout",
baseCls: "bi-v-a",
horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [],
scrollx: false,

2
src/core/wrapper/layout/adapt/auto.horizontal.js

@ -6,7 +6,7 @@
BI.HorizontalAutoLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.HorizontalAutoLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizon-auto-layout",
baseCls: "bi-h-o",
hgap: 0,
lgap: 0,
rgap: 0,

4
src/core/wrapper/layout/adapt/inline.center.js

@ -11,7 +11,7 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.InlineCenterAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-inline-center-adapt-layout",
baseCls: "bi-i-c-a",
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: BI.VerticalAlign.Middle,
columnSize: [],
@ -42,7 +42,7 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
position: "relative",
"vertical-align": o.verticalAlign
});
w.element.addClass("inline-center-adapt-item");
w.element.addClass("i-c-a-item");
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
"margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit

4
src/core/wrapper/layout/adapt/inline.horizontal.js

@ -11,7 +11,7 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.InlineHorizontalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-inline-horizontal-adapt-layout",
baseCls: "bi-i-h-a",
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: BI.VerticalAlign.Top,
columnSize: [],
@ -42,7 +42,7 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, {
position: "relative",
"vertical-align": o.verticalAlign
});
w.element.addClass("inline-horizontal-adapt-item");
w.element.addClass("i-h-a-item");
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
"margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit

4
src/core/wrapper/layout/adapt/inline.vertical.js

@ -11,7 +11,7 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.InlineVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-inline-vertical-adapt-layout",
baseCls: "bi-i-v-a",
horizontalAlign: BI.HorizontalAlign.Left,
verticalAlign: BI.VerticalAlign.Middle,
columnSize: [],
@ -42,7 +42,7 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, {
position: "relative",
"vertical-align": o.verticalAlign
});
w.element.addClass("inline-vertical-adapt-item");
w.element.addClass("i-v-a-item");
if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({
"margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit

2
src/core/wrapper/layout/flex/flex.center.js

@ -8,7 +8,7 @@
BI.FlexCenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-center-adapt-layout",
baseCls: "bi-f-c",
verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: BI.HorizontalAlign.Center,
hgap: 0,

2
src/core/wrapper/layout/flex/flex.horizontal.center.js

@ -7,7 +7,7 @@
BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexHorizontalCenter.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-horizontal-center-adapt-layout",
baseCls: "bi-f-h-c",
verticalAlign: BI.VerticalAlign.Top,
rowSize: [],
scrolly: false,

2
src/core/wrapper/layout/flex/flex.horizontal.js

@ -8,7 +8,7 @@
BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-horizontal-layout",
baseCls: "bi-f-h",
verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left,// 如果只有一个子元素且想让该子元素横向撑满,设置成Stretch
columnSize: [],

2
src/core/wrapper/layout/flex/flex.vertical.center.js

@ -8,7 +8,7 @@
BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexVerticalCenter.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-vertical-center-adapt-layout",
baseCls: "bi-f-v-c",
horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [],
scrollx: false,

2
src/core/wrapper/layout/flex/flex.vertical.js

@ -7,7 +7,7 @@
BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexVerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-vertical-layout",
baseCls: "bi-f-v",
horizontalAlign: BI.HorizontalAlign.Left,
verticalAlign: BI.VerticalAlign.Top,
rowSize: [],

2
src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js

@ -8,7 +8,7 @@
BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexWrapperCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-scrollable-center-adapt-layout clearfix",
baseCls: "bi-f-s-c clearfix",
horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: BI.VerticalAlign.Middle,
columnSize: [],

2
src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.center.js

@ -8,7 +8,7 @@
BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexWrapperHorizontalCenter.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-scrollable-vertical-center-adapt-layout clearfix",
baseCls: "bi-f-s-v-c clearfix",
verticalAlign: BI.VerticalAlign.Top,
rowSize: [],
scrollable: true,

4
src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.js

@ -8,7 +8,7 @@
BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexWrapperHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-scrollable-horizontal-layout clearfix",
baseCls: "bi-f-s-h clearfix",
verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [],
@ -25,7 +25,7 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
render: function () {
BI.FlexWrapperHorizontalLayout.superclass.render.apply(this, arguments);
var o = this.options;
this.$wrapper = BI.Widget._renderEngine.createElement("<div>").addClass("flex-scrollable-horizontal-layout-wrapper v-" + o.verticalAlign).addClass("h-" + o.horizontalAlign);
this.$wrapper = BI.Widget._renderEngine.createElement("<div>").addClass("f-s-h-w v-" + o.verticalAlign).addClass("h-" + o.horizontalAlign);
this.populate(this.options.items);
},

2
src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js

@ -8,7 +8,7 @@
BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexWrapperVerticalCenter.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-scrollable-vertical-center-adapt-layout clearfix",
baseCls: "bi-f-s-v-c clearfix",
horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [],
scrollx: false,

4
src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.js

@ -8,7 +8,7 @@
BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexWrapperVerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-scrollable-vertical-layout clearfix",
baseCls: "bi-f-s-v clearfix",
horizontalAlign: BI.HorizontalAlign.Left,
verticalAlign: BI.VerticalAlign.Top,
rowSize: [],
@ -25,7 +25,7 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
render: function () {
BI.FlexWrapperVerticalLayout.superclass.render.apply(this, arguments);
var o = this.options;
this.$wrapper = BI.Widget._renderEngine.createElement("<div>").addClass("flex-scrollable-vertical-layout-wrapper h-" + o.horizontalAlign).addClass("v-" + o.verticalAlign);
this.$wrapper = BI.Widget._renderEngine.createElement("<div>").addClass("f-s-v-w h-" + o.horizontalAlign).addClass("v-" + o.verticalAlign);
this.populate(this.options.items);
},

2
src/core/wrapper/layout/layout.absolute.js

@ -6,7 +6,7 @@
BI.AbsoluteLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.AbsoluteLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-layout",
baseCls: "bi-abs",
hgap: null,
vgap: null,
lgap: null,

2
src/core/wrapper/layout/layout.adaptive.js

@ -1,7 +1,7 @@
BI.AdaptiveLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.AdaptiveLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-adaptive-layout",
baseCls: "bi-adaptive",
hgap: null,
vgap: null,
lgap: null,

2
src/core/wrapper/layout/layout.border.js

@ -7,7 +7,7 @@
BI.BorderLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.BorderLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-border-layout",
baseCls: "bi-border",
items: {}
});
},

2
src/core/wrapper/layout/layout.card.js

@ -9,7 +9,7 @@
BI.CardLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.CardLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-card-layout",
baseCls: "bi-card",
items: []
});
},

2
src/core/wrapper/layout/layout.division.js

@ -7,7 +7,7 @@
BI.DivisionLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.DivisionLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-division-layout",
baseCls: "bi-division",
columns: null,
rows: null,
items: []

4
src/core/wrapper/layout/layout.flow.js

@ -10,7 +10,7 @@
BI.FloatLeftLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FloatLeftLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-float-left-layout clearfix",
baseCls: "bi-left clearfix",
hgap: 0,
vgap: 0,
lgap: 0,
@ -86,7 +86,7 @@ BI.shortcut("bi.left", BI.FloatLeftLayout);
BI.FloatRightLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FloatRightLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-float-right-layout clearfix",
baseCls: "bi-right clearfix",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/layout.grid.js

@ -7,7 +7,7 @@
BI.GridLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.GridLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-grid-layout",
baseCls: "bi-grid",
columns: null,
rows: null,
items: []

2
src/core/wrapper/layout/layout.horizontal.js

@ -6,7 +6,7 @@
BI.HorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.HorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizontal-layout",
baseCls: "bi-h",
verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [],

2
src/core/wrapper/layout/layout.inline.js

@ -11,7 +11,7 @@ BI.InlineLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.InlineLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-inline-layout",
baseCls: "bi-i",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/layout.lattice.js

@ -10,7 +10,7 @@
BI.LatticeLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.LatticeLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-lattice-layout clearfix"
baseCls: "bi-lattice clearfix"
// columnSize: [0.2, 0.2, 0.6],
});
},

2
src/core/wrapper/layout/layout.table.js

@ -7,7 +7,7 @@
BI.TableLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.TableLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-table-layout",
baseCls: "bi-t",
scrolly: true,
columnSize: [200, 200, "fill"],
rowSize: 30, // or [30,30,30]

2
src/core/wrapper/layout/layout.tape.js

@ -6,7 +6,7 @@
BI.HTapeLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.HTapeLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-h-tape-layout",
baseCls: "bi-h-tape",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/layout.td.js

@ -6,7 +6,7 @@
BI.TdLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.TdLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-td-layout",
baseCls: "bi-td",
columnSize: [200, 200, 200],
hgap: 0,
vgap: 0,

2
src/core/wrapper/layout/layout.vertical.js

@ -6,7 +6,7 @@
BI.VerticalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.VerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-vertical-layout",
baseCls: "bi-v",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/layout.window.js

@ -6,7 +6,7 @@
BI.WindowLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.WindowLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-window-layout",
baseCls: "bi-window",
columns: 3,
rows: 2,
hgap: 0,

2
src/core/wrapper/layout/middle/middle.center.js

@ -6,7 +6,7 @@
BI.CenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.CenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-center-layout",
baseCls: "bi-center",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/middle/middle.float.center.js

@ -6,7 +6,7 @@
BI.FloatCenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FloatCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-float-center-layout",
baseCls: "bi-float-center",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/middle/middle.horizontal.js

@ -6,7 +6,7 @@
BI.HorizontalCenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.HorizontalCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizontal-center-layout",
baseCls: "bi-h-center",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/core/wrapper/layout/middle/middle.vertical.js

@ -6,7 +6,7 @@
BI.VerticalCenterLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.VerticalCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-vertical-center-layout",
baseCls: "bi-v-center",
hgap: 0,
vgap: 0,
lgap: 0,

2
src/less/core/wrapper/flex.horizontal.less

@ -28,7 +28,7 @@
flex-direction: row;
}
.bi-flex-horizontal-layout {
.bi-f-h {
.flex();
.horizontal();

2
src/less/core/wrapper/flex.vertical.less

@ -28,7 +28,7 @@
flex-direction: row;
}
.bi-flex-vertical-layout {
.bi-f-v {
.flex();
.vertical();

2
src/less/core/wrapper/flex.wrapper.horizontal.less

@ -28,7 +28,7 @@
flex-direction: row;
}
.bi-flex-scrollable-horizontal-layout {
.bi-f-s-h {
& .flex-scrollable-horizontal-layout-wrapper {
.flex();
.horizontal();

4
src/less/core/wrapper/flex.wrapper.vertical.less

@ -28,8 +28,8 @@
flex-direction: row;
}
.bi-flex-scrollable-vertical-layout {
& .flex-scrollable-vertical-layout-wrapper {
.bi-f-s-v {
& .f-s-v-w {
.flex();
.vertical();

4
src/less/core/wrapper/inline.center.less

@ -1,4 +1,4 @@
.bi-inline-center-adapt-layout {
.bi-i-c-a {
&:after {
display: inline-block;
width: 0;
@ -7,7 +7,7 @@
content: ' ';
}
& > .inline-center-adapt-item {
& > .i-c-a-item {
display: inline-block;
&.x-icon {

4
src/less/core/wrapper/inline.horizontal.less

@ -1,4 +1,4 @@
.bi-inline-horizontal-adapt-layout {
.bi-i-h-a {
&:after {
display: inline-block;
width: 0;
@ -7,7 +7,7 @@
content: ' ';
}
& > .inline-horizontal-adapt-item {
& > .i-h-a-item {
display: inline-block;
&.x-icon {

4
src/less/core/wrapper/inline.vertical.less

@ -1,4 +1,4 @@
.bi-inline-vertical-adapt-layout {
.bi-i-v-a {
&:after {
display: inline-block;
width: 0;
@ -7,7 +7,7 @@
content: ' ';
}
& > .inline-vertical-adapt-item {
& > .i-v-a-item {
display: inline-block;
&.x-icon {

Loading…
Cancel
Save