Browse Source

Merge remote-tracking branch 'origin/master'

es6
guy 4 years ago
parent
commit
e178629a2d
  1. 4
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 799
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 4
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 4
      dist/2.0/fineui_without_normalize.css
  10. 4
      dist/2.0/fineui_without_normalize.min.css
  11. 4
      dist/core.css
  12. 773
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 1133
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 4
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 799
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 4
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 163
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 14
      dist/lib/base/single/button/buttons/button.image.d.ts
  29. 2
      dist/lib/core/utils/tree.d.ts
  30. 4
      dist/lib/index.d.ts
  31. 2
      dist/resource.css
  32. 14
      dist/utils.js
  33. 2
      dist/utils.js.map
  34. 4
      dist/utils.min.js
  35. 2
      dist/utils.min.js.map
  36. 2
      package.json
  37. 24
      typescript/base/single/button/buttons/button.image.ts
  38. 2
      typescript/core/utils/tree.ts
  39. 3
      typescript/index.ts

4
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

799
dist/2.0/fineui.js vendored

File diff suppressed because it is too large Load Diff

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

File diff suppressed because one or more lines are too long

773
dist/core.js vendored

File diff suppressed because it is too large Load Diff

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.css vendored

File diff suppressed because one or more lines are too long

1133
dist/demo.js vendored

File diff suppressed because it is too large Load Diff

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

799
dist/fineui.js vendored

File diff suppressed because it is too large Load Diff

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

163
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 09:40:43 */ /*! time: 2021-2-20 16:50:36 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1413); /******/ return __webpack_require__(__webpack_require__.s = 1414);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ([ /******/ ([
@ -13866,7 +13866,7 @@ BI.version = "2.0";
BI.AbsoluteCenterLayout = BI.inherit(BI.Layout, { BI.AbsoluteCenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.AbsoluteCenterLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.AbsoluteCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-center-layout", baseCls: "bi-abs-c-a",
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
@ -13919,7 +13919,7 @@ BI.shortcut("bi.absolute_center_adapt", BI.AbsoluteCenterLayout);
BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, { BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.AbsoluteHorizontalLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.AbsoluteHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-horizontal-layout", baseCls: "bi-abs-h-a",
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
@ -13976,7 +13976,7 @@ BI.shortcut("bi.absolute_horizontal_adapt", BI.AbsoluteHorizontalLayout);
BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, { BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.AbsoluteVerticalLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.AbsoluteVerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-vertical-layout", baseCls: "bi-abs-v-a",
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
@ -14035,7 +14035,7 @@ BI.shortcut("bi.absolute_vertical_adapt", BI.AbsoluteVerticalLayout);
BI.CenterAdaptLayout = BI.inherit(BI.Layout, { BI.CenterAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.CenterAdaptLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.CenterAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-center-adapt-layout", baseCls: "bi-c-a",
horizontalAlign: BI.HorizontalAlign.Center, horizontalAlign: BI.HorizontalAlign.Center,
columnSize: [], columnSize: [],
scrollx: false, scrollx: false,
@ -14094,7 +14094,7 @@ BI.shortcut("bi.center_adapt", BI.CenterAdaptLayout);
BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.HorizontalAdaptLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.HorizontalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizontal-adapt-layout", baseCls: "bi-h-a",
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
columnSize: [], columnSize: [],
scrollx: false, scrollx: false,
@ -14157,7 +14157,7 @@ BI.shortcut("bi.horizontal_adapt", BI.HorizontalAdaptLayout);
BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.LeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.LeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-left-right-vertical-adapt-layout", baseCls: "bi-lr-v-a",
items: {}, items: {},
llgap: 0, llgap: 0,
lrgap: 0, lrgap: 0,
@ -14225,7 +14225,7 @@ BI.shortcut("bi.left_right_vertical_adapt", BI.LeftRightVerticalAdaptLayout);
BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.LeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.LeftRightVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-left-vertical-adapt-layout", baseCls: "bi-l-v-a",
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
@ -14271,7 +14271,7 @@ BI.shortcut("bi.left_vertical_adapt", BI.LeftVerticalAdaptLayout);
BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.RightVerticalAdaptLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.RightVerticalAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-right-vertical-adapt-layout", baseCls: "bi-r-v-a",
items: [], items: [],
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
@ -14315,6 +14315,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, {
}); });
BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout); BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);
/***/ }), /***/ }),
/* 360 */ /* 360 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
@ -14327,7 +14328,7 @@ BI.shortcut("bi.right_vertical_adapt", BI.RightVerticalAdaptLayout);
BI.TableAdaptLayout = BI.inherit(BI.Layout, { BI.TableAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.TableAdaptLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.TableAdaptLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-table-adapt-layout", baseCls: "bi-t-a",
columnSize: [], columnSize: [],
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left, horizontalAlign: BI.HorizontalAlign.Left,
@ -14374,7 +14375,7 @@ BI.TableAdaptLayout = BI.inherit(BI.Layout, {
// 1、由于直接对td设置最大宽度是在规范中未定义的, 所以要使用类似td:firstChild来迂回实现 // 1、由于直接对td设置最大宽度是在规范中未定义的, 所以要使用类似td:firstChild来迂回实现
// 2、不能给多个td设置最大宽度,这样只会平分宽度 // 2、不能给多个td设置最大宽度,这样只会平分宽度
// 3、多百分比宽度就算了 // 3、多百分比宽度就算了
td.element.css({"max-width": o.columnSize[i] <= 1 ? width : width / BI.pixRatio + BI.pixUnit}); td.element.css({"max-width": BI.isNumber(o.columnSize[i]) ? (o.columnSize[i] <= 1 ? width : width / BI.pixRatio + BI.pixUnit) : width});
if (i === 0) { if (i === 0) {
td.element.addClass("first-element"); td.element.addClass("first-element");
} }
@ -14437,7 +14438,7 @@ BI.shortcut("bi.table_adapt", BI.TableAdaptLayout);
*/ */
BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { BI.VerticalAdaptLayout = BI.inherit(BI.Layout, {
props: { props: {
baseCls: "bi-vertical-adapt-layout", baseCls: "bi-v-a",
horizontalAlign: BI.HorizontalAlign.Left, horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [], columnSize: [],
scrollx: false, scrollx: false,
@ -14496,7 +14497,7 @@ BI.shortcut("bi.vertical_adapt", BI.VerticalAdaptLayout);
BI.HorizontalAutoLayout = BI.inherit(BI.Layout, { BI.HorizontalAutoLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.HorizontalAutoLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.HorizontalAutoLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizon-auto-layout", baseCls: "bi-h-o",
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0, rgap: 0,
@ -14570,7 +14571,7 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.InlineCenterAdaptLayout.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: BI.VerticalAlign.Middle, verticalAlign: BI.VerticalAlign.Middle,
columnSize: [], columnSize: [],
@ -14601,7 +14602,7 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, {
position: "relative", position: "relative",
"vertical-align": o.verticalAlign "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) { if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({ w.element.css({
"margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit "margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit
@ -14667,7 +14668,7 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.InlineHorizontalAdaptLayout.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
columnSize: [], columnSize: [],
@ -14698,7 +14699,7 @@ BI.InlineHorizontalAdaptLayout = BI.inherit(BI.Layout, {
position: "relative", position: "relative",
"vertical-align": o.verticalAlign "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) { if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({ w.element.css({
"margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit "margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit
@ -14764,7 +14765,7 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.InlineVerticalAdaptLayout.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Left,
verticalAlign: BI.VerticalAlign.Middle, verticalAlign: BI.VerticalAlign.Middle,
columnSize: [], columnSize: [],
@ -14795,7 +14796,7 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, {
position: "relative", position: "relative",
"vertical-align": o.verticalAlign "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) { if (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0) !== 0) {
w.element.css({ w.element.css({
"margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit "margin-top": (o.vgap + o.tgap + (item.tgap || 0) + (item.vgap || 0)) / BI.pixRatio + BI.pixUnit
@ -14845,7 +14846,7 @@ BI.shortcut("bi.inline_vertical_adapt", BI.InlineVerticalAdaptLayout);
BI.FlexCenterLayout = BI.inherit(BI.Layout, { BI.FlexCenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexCenterLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.FlexCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-center-adapt-layout", baseCls: "bi-f-c",
verticalAlign: BI.VerticalAlign.Middle, verticalAlign: BI.VerticalAlign.Middle,
horizontalAlign: BI.HorizontalAlign.Center, horizontalAlign: BI.HorizontalAlign.Center,
hgap: 0, hgap: 0,
@ -14906,7 +14907,7 @@ BI.shortcut("bi.flex_center_adapt", BI.FlexCenterLayout);
BI.FlexHorizontalCenter = BI.inherit(BI.Layout, { BI.FlexHorizontalCenter = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexHorizontalCenter.superclass.props.apply(this, arguments), { 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, verticalAlign: BI.VerticalAlign.Top,
rowSize: [], rowSize: [],
scrolly: false, scrolly: false,
@ -14970,7 +14971,7 @@ BI.shortcut("bi.flex_horizontal_center_adapt", BI.FlexHorizontalCenter);
BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexHorizontalLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.FlexHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-horizontal-layout", baseCls: "bi-f-h",
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left,// 如果只有一个子元素且想让该子元素横向撑满,设置成Stretch horizontalAlign: BI.HorizontalAlign.Left,// 如果只有一个子元素且想让该子元素横向撑满,设置成Stretch
columnSize: [], columnSize: [],
@ -15058,7 +15059,7 @@ BI.shortcut("bi.flex_horizontal", BI.FlexHorizontalLayout);
BI.FlexVerticalCenter = BI.inherit(BI.Layout, { BI.FlexVerticalCenter = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexVerticalCenter.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [], columnSize: [],
scrollx: false, scrollx: false,
@ -15121,7 +15122,7 @@ BI.shortcut("bi.flex_vertical_center_adapt", BI.FlexVerticalCenter);
BI.FlexVerticalLayout = BI.inherit(BI.Layout, { BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexVerticalLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.FlexVerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-vertical-layout", baseCls: "bi-f-v",
horizontalAlign: BI.HorizontalAlign.Left, horizontalAlign: BI.HorizontalAlign.Left,
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
rowSize: [], rowSize: [],
@ -15209,7 +15210,7 @@ BI.shortcut("bi.flex_vertical", BI.FlexVerticalLayout);
BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, { BI.FlexWrapperCenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexWrapperCenterLayout.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Center,
verticalAlign: BI.VerticalAlign.Middle, verticalAlign: BI.VerticalAlign.Middle,
columnSize: [], columnSize: [],
@ -15270,7 +15271,7 @@ BI.shortcut("bi.flex_scrollable_center_adapt", BI.FlexWrapperCenterLayout);
BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, { BI.FlexWrapperHorizontalCenter = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexWrapperHorizontalCenter.superclass.props.apply(this, arguments), { 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, verticalAlign: BI.VerticalAlign.Top,
rowSize: [], rowSize: [],
scrollable: true, scrollable: true,
@ -15331,7 +15332,7 @@ BI.shortcut("bi.flex_scrollable_horizontal_center_adapt", BI.FlexWrapperHorizont
BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, { BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexWrapperHorizontalLayout.superclass.props.apply(this, arguments), { 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, verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left, horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [], columnSize: [],
@ -15348,7 +15349,7 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
render: function () { render: function () {
BI.FlexWrapperHorizontalLayout.superclass.render.apply(this, arguments); BI.FlexWrapperHorizontalLayout.superclass.render.apply(this, arguments);
var o = this.options; 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); this.populate(this.options.items);
}, },
@ -15429,7 +15430,7 @@ BI.shortcut("bi.flex_scrollable_horizontal", BI.FlexWrapperHorizontalLayout);
BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, { BI.FlexWrapperVerticalCenter = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexWrapperVerticalCenter.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [], columnSize: [],
scrollx: false, scrollx: false,
@ -15490,7 +15491,7 @@ BI.shortcut("bi.flex_scrollable_vertical_center_adapt", BI.FlexWrapperVerticalCe
BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, { BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FlexWrapperVerticalLayout.superclass.props.apply(this, arguments), { 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, horizontalAlign: BI.HorizontalAlign.Left,
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
rowSize: [], rowSize: [],
@ -15507,7 +15508,7 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
render: function () { render: function () {
BI.FlexWrapperVerticalLayout.superclass.render.apply(this, arguments); BI.FlexWrapperVerticalLayout.superclass.render.apply(this, arguments);
var o = this.options; 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); this.populate(this.options.items);
}, },
@ -15586,7 +15587,7 @@ BI.shortcut("bi.flex_scrollable_vertical", BI.FlexWrapperVerticalLayout);
BI.AbsoluteLayout = BI.inherit(BI.Layout, { BI.AbsoluteLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.AbsoluteLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.AbsoluteLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-absolute-layout", baseCls: "bi-abs",
hgap: null, hgap: null,
vgap: null, vgap: null,
lgap: null, lgap: null,
@ -15693,7 +15694,7 @@ BI.shortcut("bi.absolute", BI.AbsoluteLayout);
BI.AdaptiveLayout = BI.inherit(BI.Layout, { BI.AdaptiveLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.AdaptiveLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.AdaptiveLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-adaptive-layout", baseCls: "bi-adaptive",
hgap: null, hgap: null,
vgap: null, vgap: null,
lgap: null, lgap: null,
@ -15797,7 +15798,7 @@ BI.shortcut("bi.adaptive", BI.AdaptiveLayout);
BI.BorderLayout = BI.inherit(BI.Layout, { BI.BorderLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.BorderLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.BorderLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-border-layout", baseCls: "bi-border",
items: {} items: {}
}); });
}, },
@ -15946,7 +15947,7 @@ BI.shortcut("bi.border", BI.BorderLayout);
BI.CardLayout = BI.inherit(BI.Layout, { BI.CardLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.CardLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.CardLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-card-layout", baseCls: "bi-card",
items: [] items: []
}); });
}, },
@ -16225,7 +16226,7 @@ BI.shortcut("bi.default", BI.DefaultLayout);
BI.DivisionLayout = BI.inherit(BI.Layout, { BI.DivisionLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.DivisionLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.DivisionLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-division-layout", baseCls: "bi-division",
columns: null, columns: null,
rows: null, rows: null,
items: [] items: []
@ -16396,7 +16397,7 @@ BI.shortcut("bi.division", BI.DivisionLayout);
BI.FloatLeftLayout = BI.inherit(BI.Layout, { BI.FloatLeftLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FloatLeftLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.FloatLeftLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-float-left-layout clearfix", baseCls: "bi-left clearfix",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -16472,7 +16473,7 @@ BI.shortcut("bi.left", BI.FloatLeftLayout);
BI.FloatRightLayout = BI.inherit(BI.Layout, { BI.FloatRightLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FloatRightLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.FloatRightLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-float-right-layout clearfix", baseCls: "bi-right clearfix",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -16550,7 +16551,7 @@ BI.shortcut("bi.right", BI.FloatRightLayout);
BI.GridLayout = BI.inherit(BI.Layout, { BI.GridLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.GridLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.GridLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-grid-layout", baseCls: "bi-grid",
columns: null, columns: null,
rows: null, rows: null,
items: [] items: []
@ -16685,7 +16686,7 @@ BI.shortcut("bi.grid", BI.GridLayout);
BI.HorizontalLayout = BI.inherit(BI.Layout, { BI.HorizontalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.HorizontalLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.HorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizontal-layout", baseCls: "bi-h",
verticalAlign: BI.VerticalAlign.Top, verticalAlign: BI.VerticalAlign.Top,
horizontalAlign: BI.HorizontalAlign.Left, horizontalAlign: BI.HorizontalAlign.Left,
columnSize: [], columnSize: [],
@ -16739,7 +16740,7 @@ BI.HorizontalLayout = BI.inherit(BI.Layout, {
// 1、由于直接对td设置最大宽度是在规范中未定义的, 所以要使用类似td:firstChild来迂回实现 // 1、由于直接对td设置最大宽度是在规范中未定义的, 所以要使用类似td:firstChild来迂回实现
// 2、不能给多个td设置最大宽度,这样只会平分宽度 // 2、不能给多个td设置最大宽度,这样只会平分宽度
// 3、多百分比宽度就算了 // 3、多百分比宽度就算了
td.element.css({"max-width": o.columnSize[i] <= 1 ? width : width / BI.pixRatio + BI.pixUnit}); td.element.css({"max-width": BI.isNumber(o.columnSize[i]) ? (o.columnSize[i] <= 1 ? width : width / BI.pixRatio + BI.pixUnit) : width});
if (i === 0) { if (i === 0) {
td.element.addClass("first-element"); td.element.addClass("first-element");
} }
@ -16874,7 +16875,7 @@ BI.InlineLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.InlineLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.InlineLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-inline-layout", baseCls: "bi-i",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -16944,7 +16945,7 @@ BI.shortcut("bi.inline", BI.InlineLayout);
BI.LatticeLayout = BI.inherit(BI.Layout, { BI.LatticeLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.LatticeLayout.superclass.props.apply(this, arguments), { 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], // columnSize: [0.2, 0.2, 0.6],
}); });
}, },
@ -16988,6 +16989,7 @@ BI.LatticeLayout = BI.inherit(BI.Layout, {
}); });
BI.shortcut("bi.lattice", BI.LatticeLayout); BI.shortcut("bi.lattice", BI.LatticeLayout);
/***/ }), /***/ }),
/* 387 */ /* 387 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
@ -17001,7 +17003,7 @@ BI.shortcut("bi.lattice", BI.LatticeLayout);
BI.TableLayout = BI.inherit(BI.Layout, { BI.TableLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.TableLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.TableLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-table-layout", baseCls: "bi-t",
scrolly: true, scrolly: true,
columnSize: [200, 200, "fill"], columnSize: [200, 200, "fill"],
rowSize: 30, // or [30,30,30] rowSize: 30, // or [30,30,30]
@ -17155,7 +17157,7 @@ BI.shortcut("bi.table", BI.TableLayout);
BI.HTapeLayout = BI.inherit(BI.Layout, { BI.HTapeLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.HTapeLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.HTapeLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-h-tape-layout", baseCls: "bi-h-tape",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -17388,7 +17390,7 @@ BI.shortcut("bi.vtape", BI.VTapeLayout);
BI.TdLayout = BI.inherit(BI.Layout, { BI.TdLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.TdLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.TdLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-td-layout", baseCls: "bi-td",
columnSize: [200, 200, 200], columnSize: [200, 200, 200],
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
@ -17538,7 +17540,7 @@ BI.shortcut("bi.td", BI.TdLayout);
BI.VerticalLayout = BI.inherit(BI.Layout, { BI.VerticalLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.VerticalLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.VerticalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-vertical-layout", baseCls: "bi-v",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -17606,7 +17608,7 @@ BI.shortcut("bi.vertical", BI.VerticalLayout);
BI.WindowLayout = BI.inherit(BI.Layout, { BI.WindowLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.WindowLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.WindowLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-window-layout", baseCls: "bi-window",
columns: 3, columns: 3,
rows: 2, rows: 2,
hgap: 0, hgap: 0,
@ -17804,7 +17806,7 @@ BI.shortcut("bi.window", BI.WindowLayout);
BI.CenterLayout = BI.inherit(BI.Layout, { BI.CenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.CenterLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.CenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-center-layout", baseCls: "bi-center",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -17886,7 +17888,7 @@ BI.shortcut("bi.center", BI.CenterLayout);
BI.FloatCenterLayout = BI.inherit(BI.Layout, { BI.FloatCenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.FloatCenterLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.FloatCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-float-center-layout", baseCls: "bi-float-center",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -17967,7 +17969,7 @@ BI.shortcut("bi.float_center", BI.FloatCenterLayout);
BI.HorizontalCenterLayout = BI.inherit(BI.Layout, { BI.HorizontalCenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.HorizontalCenterLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.HorizontalCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-horizontal-center-layout", baseCls: "bi-h-center",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -18047,7 +18049,7 @@ BI.shortcut("bi.horizontal_center", BI.HorizontalCenterLayout);
BI.VerticalCenterLayout = BI.inherit(BI.Layout, { BI.VerticalCenterLayout = BI.inherit(BI.Layout, {
props: function () { props: function () {
return BI.extend(BI.VerticalCenterLayout.superclass.props.apply(this, arguments), { return BI.extend(BI.VerticalCenterLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-vertical-center-layout", baseCls: "bi-v-center",
hgap: 0, hgap: 0,
vgap: 0, vgap: 0,
lgap: 0, lgap: 0,
@ -23396,8 +23398,8 @@ BI.PopupView = BI.inherit(BI.Widget, {
}; };
this.element.css({ this.element.css({
"z-index": BI.zIndex_popup, "z-index": BI.zIndex_popup,
"min-width": o.minWidth / BI.pixRatio + BI.pixUnit, "min-width": BI.isNumeric(o.minWidth) ? (o.minWidth / BI.pixRatio + BI.pixUnit) : o.minWidth,
"max-width": o.maxWidth / BI.pixRatio + BI.pixUnit "max-width": BI.isNumeric(o.maxWidth) ? (o.maxWidth / BI.pixRatio + BI.pixUnit) : o.maxWidth
}).bind({ click: fn }); }).bind({ click: fn });
this.element.bind("mousewheel", fn); this.element.bind("mousewheel", fn);
@ -23440,7 +23442,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
var o = this.options; var o = this.options;
this.button_group = BI.createWidget(o.el, { type: "bi.button_group", value: o.value }); this.button_group = BI.createWidget(o.el, { type: "bi.button_group", value: o.value });
this.button_group.element.css({ this.button_group.element.css({
"min-height": o.minHeight / BI.pixRatio + BI.pixUnit, "min-height": BI.isNumeric(o.minHeight) ? (o.minHeight / BI.pixRatio + BI.pixUnit) : o.minHeight,
"padding-top": o.innerVGap / BI.pixRatio + BI.pixUnit, "padding-top": o.innerVGap / BI.pixRatio + BI.pixUnit,
"padding-bottom": o.innerVGap / BI.pixRatio + BI.pixUnit "padding-bottom": o.innerVGap / BI.pixRatio + BI.pixUnit
}); });
@ -69178,6 +69180,12 @@ Object.defineProperty(exports, "TextValueCheckComboPopup", {
return _popup3.TextValueCheckComboPopup; return _popup3.TextValueCheckComboPopup;
} }
}); });
Object.defineProperty(exports, "ImageButton", {
enumerable: true,
get: function get() {
return _button6.ImageButton;
}
});
exports["default"] = void 0; exports["default"] = void 0;
var _combo = __webpack_require__(717); var _combo = __webpack_require__(717);
@ -69468,6 +69476,8 @@ var _textnode = __webpack_require__(837);
var _popup3 = __webpack_require__(838); var _popup3 = __webpack_require__(838);
var _button6 = __webpack_require__(839);
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@ -70778,7 +70788,15 @@ var _button = __webpack_require__(57);
var _pane = __webpack_require__(22); var _pane = __webpack_require__(22);
/***/ }), /***/ }),
/* 839 */, /* 839 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _button = __webpack_require__(8);
/***/ }),
/* 840 */, /* 840 */,
/* 841 */, /* 841 */,
/* 842 */, /* 842 */,
@ -70828,7 +70846,8 @@ var _pane = __webpack_require__(22);
/* 886 */, /* 886 */,
/* 887 */, /* 887 */,
/* 888 */, /* 888 */,
/* 889 */ /* 889 */,
/* 890 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
;(function () { ;(function () {
@ -70991,17 +71010,17 @@ var _pane = __webpack_require__(22);
/***/ }), /***/ }),
/* 890 */,
/* 891 */, /* 891 */,
/* 892 */, /* 892 */,
/* 893 */ /* 893 */,
/* 894 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(894); /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(895);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(17))) /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(17)))
/***/ }), /***/ }),
/* 894 */ /* 895 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(setImmediate) {function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /* WEBPACK VAR INJECTION */(function(setImmediate) {function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@ -72480,8 +72499,8 @@ var _pane = __webpack_require__(22);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63).setImmediate)) /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63).setImmediate))
/***/ }), /***/ }),
/* 895 */, /* 896 */,
/* 896 */ /* 897 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
;(function () { ;(function () {
@ -72777,7 +72796,6 @@ var _pane = __webpack_require__(22);
/***/ }), /***/ }),
/* 897 */,
/* 898 */, /* 898 */,
/* 899 */, /* 899 */,
/* 900 */, /* 900 */,
@ -72994,13 +73012,13 @@ var _pane = __webpack_require__(22);
/* 1111 */, /* 1111 */,
/* 1112 */, /* 1112 */,
/* 1113 */, /* 1113 */,
/* 1114 */ /* 1114 */,
/* 1115 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
/***/ }), /***/ }),
/* 1115 */,
/* 1116 */, /* 1116 */,
/* 1117 */, /* 1117 */,
/* 1118 */, /* 1118 */,
@ -73298,7 +73316,8 @@ var _pane = __webpack_require__(22);
/* 1410 */, /* 1410 */,
/* 1411 */, /* 1411 */,
/* 1412 */, /* 1412 */,
/* 1413 */ /* 1413 */,
/* 1414 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
__webpack_require__(123); __webpack_require__(123);
@ -73401,7 +73420,7 @@ __webpack_require__(395);
__webpack_require__(153); __webpack_require__(153);
__webpack_require__(154); __webpack_require__(154);
__webpack_require__(155); __webpack_require__(155);
__webpack_require__(893); __webpack_require__(894);
__webpack_require__(396); __webpack_require__(396);
__webpack_require__(397); __webpack_require__(397);
__webpack_require__(398); __webpack_require__(398);
@ -73781,9 +73800,9 @@ __webpack_require__(711);
__webpack_require__(712); __webpack_require__(712);
__webpack_require__(713); __webpack_require__(713);
__webpack_require__(714); __webpack_require__(714);
__webpack_require__(896); __webpack_require__(897);
__webpack_require__(889); __webpack_require__(890);
__webpack_require__(1114); __webpack_require__(1115);
module.exports = __webpack_require__(715); module.exports = __webpack_require__(715);

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

14
dist/lib/base/single/button/buttons/button.image.d.ts vendored

@ -0,0 +1,14 @@
import { BasicButton } from "../button.basic";
export declare class ImageButton extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
setWidth(w: number): void;
setHeight(h: number): void;
setImageWidth(w: number): void;
setImageHeight(h: number): void;
getImageWidth(): number;
getImageHeight(): number;
setSrc(src: string): void;
getSrc(): string;
doClick(): void;
}

2
dist/lib/core/utils/tree.d.ts vendored

@ -30,7 +30,7 @@ export declare class Tree {
clear(): void; clear(): void;
initTree(nodes: any[]): void; initTree(nodes: any[]): void;
toJSON<T>(node?: Node): T[]; toJSON<T>(node?: Node): T[];
toJSONWithNode<T>(node: Node): T[]; toJSONWithNode<T>(node?: Node): T[];
search(root: Node, target?: any, param?: any): Node; search(root: Node, target?: any, param?: any): Node;
traverse(callback: Function): void; traverse(callback: Function): void;
recursion(callback: Function): void; recursion(callback: Function): void;

4
dist/lib/index.d.ts vendored

@ -151,6 +151,7 @@ import { DateCalendarPopup } from "./widget/date/calendar/popup.calendar.date";
import { Tree, Node } from "./core/utils/tree"; import { Tree, Node } from "./core/utils/tree";
import { TextNode } from "./base/single/button/node/textnode"; import { TextNode } from "./base/single/button/node/textnode";
import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck"; import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck";
import { ImageButton } from './base/single/button/buttons/button.image';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
OB: typeof OB; OB: typeof OB;
Plugin: _Plugin; Plugin: _Plugin;
@ -305,9 +306,10 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DateCalendarPopup: typeof DateCalendarPopup; DateCalendarPopup: typeof DateCalendarPopup;
TextNode: typeof TextNode; TextNode: typeof TextNode;
TextValueCheckComboPopup: typeof TextValueCheckComboPopup; TextValueCheckComboPopup: typeof TextValueCheckComboPopup;
ImageButton: typeof ImageButton;
} }
declare const _default: { declare const _default: {
Decorators: typeof decorator; Decorators: typeof decorator;
}; };
export default _default; export default _default;
export { OB, Widget, Single, BasicButton, Checkbox, Icon, LeftVerticalAdaptLayout, LeftRightVerticalAdaptLayout, SearchTextValueCombo, Input, IconTextItem, AllValueMultiTextValueCombo, IconTextIconItem, Layout, HorizontalAutoLayout, InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, FloatRightLayout, VerticalLayout, AbsoluteLayout, DefaultLayout, HTapeLayout, CenterAdaptLayout, VTapeLayout, VerticalAdaptLayout, IconButton, Trigger, TriggerIconButton, Action, ActionFactory, ShowAction, Controller, LayerController, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiSelectBar, SelectList, TextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, MultiSelectInsertCombo, MultiSelectCombo, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, AbstractAllValueChooser, AllValueChooserCombo, TextAreaEditor, SingleSelectItem, DynamicDateTimeCombo, MultiTreeCombo, CenterLayout, VirtualGroup, GridLayout, MultiTreePopup, SingleSelectRadioItem, SingleSelectInsertCombo, SingleSelectCombo, CardLayout, DynamicYearMonthCombo, TimeCombo, Iframe, TextValueDownListCombo, Switch, HorizontalLayout, ShelterEditor, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, PopupView, BubblePopupView, BubblePopupBarView, TextBubblePopupBarView, ArrowTreeGroupNodeCheckbox, NumberInterval, DynamicYearQuarterCombo, DynamicYearCombo, IntervalSlider, MultiSelectInsertList, YearMonthInterval, TextValueCheckCombo, NumberEditor, LinearSegment, Img, EditorIconCheckCombo, IconTextValueCombo, ListView, FloatCenterLayout, DynamicYearMonthPopup, DateCalendarPopup, Tree, Node, TextNode, TextValueCheckComboPopup, }; export { OB, Widget, Single, BasicButton, Checkbox, Icon, LeftVerticalAdaptLayout, LeftRightVerticalAdaptLayout, SearchTextValueCombo, Input, IconTextItem, AllValueMultiTextValueCombo, IconTextIconItem, Layout, HorizontalAutoLayout, InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, FloatRightLayout, VerticalLayout, AbsoluteLayout, DefaultLayout, HTapeLayout, CenterAdaptLayout, VTapeLayout, VerticalAdaptLayout, IconButton, Trigger, TriggerIconButton, Action, ActionFactory, ShowAction, Controller, LayerController, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiSelectBar, SelectList, TextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, MultiSelectInsertCombo, MultiSelectCombo, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, AbstractAllValueChooser, AllValueChooserCombo, TextAreaEditor, SingleSelectItem, DynamicDateTimeCombo, MultiTreeCombo, CenterLayout, VirtualGroup, GridLayout, MultiTreePopup, SingleSelectRadioItem, SingleSelectInsertCombo, SingleSelectCombo, CardLayout, DynamicYearMonthCombo, TimeCombo, Iframe, TextValueDownListCombo, Switch, HorizontalLayout, ShelterEditor, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, PopupView, BubblePopupView, BubblePopupBarView, TextBubblePopupBarView, ArrowTreeGroupNodeCheckbox, NumberInterval, DynamicYearQuarterCombo, DynamicYearCombo, IntervalSlider, MultiSelectInsertList, YearMonthInterval, TextValueCheckCombo, NumberEditor, LinearSegment, Img, EditorIconCheckCombo, IconTextValueCombo, ListView, FloatCenterLayout, DynamicYearMonthPopup, DateCalendarPopup, Tree, Node, TextNode, TextValueCheckComboPopup, ImageButton, };

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

14
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-2-20 09:40:43 */ /*! time: 2021-2-20 16:50:36 */
/******/ (function(modules) { // webpackBootstrap /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache /******/ // The module cache
/******/ var installedModules = {}; /******/ var installedModules = {};
@ -82,12 +82,12 @@
/******/ /******/
/******/ /******/
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1236); /******/ return __webpack_require__(__webpack_require__.s = 1237);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ({ /******/ ({
/***/ 1097: /***/ 1098:
/***/ (function(module, exports) { /***/ (function(module, exports) {
BI.i18n = { BI.i18n = {
@ -320,7 +320,7 @@ if(_global.BI.prepares == null) {
/***/ }), /***/ }),
/***/ 1236: /***/ 1237:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
__webpack_require__(123); __webpack_require__(123);
@ -350,8 +350,8 @@ __webpack_require__(140);
__webpack_require__(141); __webpack_require__(141);
__webpack_require__(142); __webpack_require__(142);
__webpack_require__(143); __webpack_require__(143);
__webpack_require__(1097); __webpack_require__(1098);
__webpack_require__(1237); __webpack_require__(1238);
__webpack_require__(153); __webpack_require__(153);
__webpack_require__(154); __webpack_require__(154);
module.exports = __webpack_require__(155); module.exports = __webpack_require__(155);
@ -359,7 +359,7 @@ module.exports = __webpack_require__(155);
/***/ }), /***/ }),
/***/ 1237: /***/ 1238:
/***/ (function(module, exports) { /***/ (function(module, exports) {
/** /**

2
dist/utils.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js.map vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fineui", "name": "fineui",
"version": "2.0.20210220094213", "version": "2.0.20210220165218",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

24
typescript/base/single/button/buttons/button.image.ts

@ -0,0 +1,24 @@
import { BasicButton } from "../button.basic";
export declare class ImageButton extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
setWidth(w: number): void;
setHeight(h: number): void;
setImageWidth(w: number): void;
setImageHeight(h: number): void;
getImageWidth(): number;
getImageHeight(): number;
setSrc(src: string): void;
getSrc(): string;
doClick(): void;
}

2
typescript/core/utils/tree.ts

@ -32,7 +32,7 @@ export declare class Tree {
clear():void; clear():void;
initTree(nodes: any[]):void; initTree(nodes: any[]):void;
toJSON<T>(node?: Node): T[]; toJSON<T>(node?: Node): T[];
toJSONWithNode<T>(node: Node): T[]; toJSONWithNode<T>(node?: Node): T[];
search(root: Node, target?: any, param?: any): Node; search(root: Node, target?: any, param?: any): Node;
traverse(callback: Function): void; traverse(callback: Function): void;
recursion(callback: Function): void; recursion(callback: Function): void;

3
typescript/index.ts

@ -151,6 +151,7 @@ import { DateCalendarPopup } from "./widget/date/calendar/popup.calendar.date";
import { Tree, Node } from "./core/utils/tree"; import { Tree, Node } from "./core/utils/tree";
import { TextNode } from "./base/single/button/node/textnode"; import { TextNode } from "./base/single/button/node/textnode";
import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck"; import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck";
import { ImageButton } from './base/single/button/buttons/button.image';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -307,6 +308,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DateCalendarPopup: typeof DateCalendarPopup; DateCalendarPopup: typeof DateCalendarPopup;
TextNode: typeof TextNode; TextNode: typeof TextNode;
TextValueCheckComboPopup: typeof TextValueCheckComboPopup; TextValueCheckComboPopup: typeof TextValueCheckComboPopup;
ImageButton: typeof ImageButton;
} }
export default { export default {
@ -465,4 +467,5 @@ export {
Node, Node,
TextNode, TextNode,
TextValueCheckComboPopup, TextValueCheckComboPopup,
ImageButton,
}; };

Loading…
Cancel
Save