Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~jimmy.chai/fineui

pull
es6
Jimmy.Chai 4 years ago
parent
commit
360526eb2b
  1. 2
      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. 1043
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 1009
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 1383
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 1037
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 2
      dist/fineui.proxy.css
  26. 297
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 4
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 211
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. 6
      dist/lib/index.d.ts
  35. 12
      dist/lib/widget/multilayerselecttree/multilayerselecttree.leveltree.d.ts
  36. 8
      dist/lib/widget/selecttree/selecttree.expander.d.ts
  37. 2
      dist/resource.css
  38. 26
      dist/utils.js
  39. 2
      dist/utils.js.map
  40. 4
      dist/utils.min.js
  41. 2
      dist/utils.min.js.map
  42. 65
      examples/dev.html
  43. 2
      package.json
  44. 4
      src/base/foundation/message.js
  45. 2
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.js
  46. 2
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js
  47. 4
      src/core/platform/web/config.js
  48. 1
      src/core/system.js
  49. 2
      src/core/wrapper/layout.js
  50. 2
      src/core/wrapper/layout/fill/float.fill.horizontal.js
  51. 6
      typescript/index.ts
  52. 21
      typescript/widget/multilayerselecttree/multilayerselecttree.leveltree.ts
  53. 13
      typescript/widget/selecttree/selecttree.expander.ts

2
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

1043
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

2
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

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

1009
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

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

1383
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

2
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

1037
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

2
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

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

297
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-23 17:40:30 */
/*! time: 2021-8-24 16:00:29 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1205);
/******/ return __webpack_require__(__webpack_require__.s = 1207);
/******/ })
/************************************************************************/
/******/ ([
@ -138,6 +138,15 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
var g; // This works in non-strict mode
@ -160,16 +169,7 @@ try {
module.exports = g;
/***/ }),
/* 15 */,
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
@ -273,7 +273,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 53 */
@ -356,7 +356,7 @@ __webpack_require__(96); // On some exotic environments, it's not clear which ob
exports.setImmediate = typeof self !== "undefined" && self.setImmediate || typeof global !== "undefined" && global.setImmediate || void 0 && (void 0).setImmediate;
exports.clearImmediate = typeof self !== "undefined" && self.clearImmediate || typeof global !== "undefined" && global.clearImmediate || void 0 && (void 0).clearImmediate;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 62 */,
@ -684,7 +684,7 @@ if (_global.BI == null) {
if(_global.BI.prepares == null) {
_global.BI.prepares = [];
}
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 92 */
@ -2040,7 +2040,7 @@ if (!_global.BI) {
});
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14), __webpack_require__(61).setImmediate))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15), __webpack_require__(61).setImmediate))
/***/ }),
/* 96 */
@ -2250,7 +2250,7 @@ if (!_global.BI) {
attachTo.setImmediate = setImmediate;
attachTo.clearImmediate = clearImmediate;
})(typeof self === "undefined" ? typeof global === "undefined" ? void 0 : global : self);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14), __webpack_require__(75)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15), __webpack_require__(75)))
/***/ }),
/* 97 */
@ -4429,7 +4429,7 @@ _.extend(BI, {
};
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 103 */
@ -16412,6 +16412,7 @@ BI.Region.prototype = {
TOOL_BAR_HEIGHT: 24,
LIST_ITEM_HEIGHT: 24,
TRIGGER_HEIGHT: 24,
TOAST_TOP: 10
},
};
@ -17327,9 +17328,11 @@ BI.Layout = BI.inherit(BI.Widget, {
c.destroy();
});
this._children = {};
this._isMounted = false;
}
this.options.items = opt.items;
this.stroke(opt.items);
this._mount();
},
update: function (opt) {
@ -18421,7 +18424,7 @@ BI.shortcut("bi.vertical_fill", BI.VerticalFillLayout);
BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FloatHorizontalFillLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-h-float-fill",
baseCls: "bi-h-float-fill clearfix",
horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
hgap: 0,
@ -25538,7 +25541,7 @@ BI.Msg = function () {
eventName: BI.Toast.EVENT_DESTORY,
action: function () {
BI.remove(toastStack, toast.element);
var _height = 10;
var _height = BI.SIZE_CONSANTS.TOAST_TOP;
BI.each(toastStack, function (i, element) {
element.css({"top": _height});
_height += element.outerHeight() + 10;
@ -25547,7 +25550,7 @@ BI.Msg = function () {
}
}]
});
var height = 10;
var height = BI.SIZE_CONSANTS.TOAST_TOP;
BI.each(toastStack, function (i, element) {
height += element.outerHeight() + 10;
});
@ -36398,7 +36401,7 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);
BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
RGB_WIDTH: 36,
RGB_WIDTH: 32,
HEX_WIDTH: 70,
HEX_PREFIX_POSITION: 1
},
@ -36708,7 +36711,7 @@ BI.shortcut("bi.hex_color_picker_editor", BI.HexColorPickerEditor);
BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
RGB_WIDTH: 36,
RGB_WIDTH: 32,
HEX_WIDTH: 70,
HEX_PREFIX_POSITION: 1
},
@ -54615,10 +54618,16 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -55115,10 +55124,16 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = self._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -55604,10 +55619,16 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -56089,10 +56110,16 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -58671,10 +58698,16 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
var self = this, o = this.options;
this._assertValue(res);
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
delete map[v];
@ -59021,10 +59054,16 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
var self = this, o = this.options;
this._assertValue(res);
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
delete map[v];
@ -59358,10 +59397,16 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
var self = this, o = this.options;
this._assertValue(res);
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
delete map[v];
@ -76206,6 +76251,18 @@ Object.defineProperty(exports, "TdLayout", {
return _layout11.TdLayout;
}
});
Object.defineProperty(exports, "MultiLayerSelectLevelTree", {
enumerable: true,
get: function get() {
return _multilayerselecttree3.MultiLayerSelectLevelTree;
}
});
Object.defineProperty(exports, "SelectTreeExpander", {
enumerable: true,
get: function get() {
return _selecttree.SelectTreeExpander;
}
});
exports["default"] = void 0;
var _combo = __webpack_require__(718);
@ -76214,7 +76271,7 @@ var _group = __webpack_require__(68);
var _tab = __webpack_require__(719);
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
var _button = __webpack_require__(4);
@ -76542,6 +76599,10 @@ var _pane3 = __webpack_require__(861);
var _layout11 = __webpack_require__(862);
var _multilayerselecttree3 = __webpack_require__(863);
var _selecttree = __webpack_require__(864);
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; }
@ -76720,7 +76781,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 737 */
@ -77264,7 +77325,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 775 */
@ -77327,7 +77388,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 782 */
@ -77516,7 +77577,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 803 */
@ -77912,7 +77973,7 @@ var _button = __webpack_require__(46);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 847 */
@ -78057,20 +78118,38 @@ var _abstract = __webpack_require__(30);
var _layout = __webpack_require__(3);
/***/ }),
/* 863 */,
/* 863 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _pane = __webpack_require__(14);
/***/ }),
/* 864 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 865 */,
/* 866 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 865 */
/* 867 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 866 */
/* 868 */
/***/ (function(module, exports) {
// 工程配置
@ -78124,7 +78203,9 @@ BI.prepares.push(function () {
if (hasAutoAndFillColumnSize) {
// 宽度是不是受限
if ((ob.scrollable !== true && ob.scrollx !== true) || ob.horizontalAlign === BI.HorizontalAlign.Stretch) {
return BI.extend({}, ob, {type: "bi.horizontal_float_fill"});
return BI.extend({
verticalAlign: BI.VerticalAlign.Top
}, ob, {type: "bi.horizontal_float_fill"});
}
return BI.extend({
horizontalAlign: BI.HorizontalAlign.Stretch
@ -78277,7 +78358,7 @@ BI.prepares.push(function () {
/***/ }),
/* 867 */
/* 869 */
/***/ (function(module, exports) {
/**
@ -78444,7 +78525,7 @@ BI.prepares.push(function () {
/***/ }),
/* 868 */
/* 870 */
/***/ (function(module, exports) {
/**
@ -79284,7 +79365,7 @@ BI.prepares.push(function () {
/***/ }),
/* 869 */
/* 871 */
/***/ (function(module, exports) {
// 浏览器相关方法
@ -79418,7 +79499,7 @@ _.extend(BI, {
});
/***/ }),
/* 870 */
/* 872 */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@ -90447,7 +90528,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
/***/ }),
/* 871 */
/* 873 */
/***/ (function(module, exports) {
/*
@ -90462,7 +90543,7 @@ BI.$.extend(BI.$.Event.prototype, {
});
/***/ }),
/* 872 */
/* 874 */
/***/ (function(module, exports) {
if (BI.jQuery) {
@ -90715,7 +90796,7 @@ if (BI.jQuery) {
/***/ }),
/* 873 */
/* 875 */
/***/ (function(module, exports) {
/* !
@ -90924,7 +91005,7 @@ if (BI.jQuery) {
}));
/***/ }),
/* 874 */
/* 876 */
/***/ (function(module, exports) {
_.extend(BI, {
@ -90984,7 +91065,7 @@ _.extend(BI, {
});
/***/ }),
/* 875 */
/* 877 */
/***/ (function(module, exports) {
(function () {
@ -91616,7 +91697,7 @@ _.extend(BI, {
}());
/***/ }),
/* 876 */
/* 878 */
/***/ (function(module, exports) {
!(function () {
@ -91628,7 +91709,7 @@ _.extend(BI, {
})();
/***/ }),
/* 877 */
/* 879 */
/***/ (function(module, exports) {
/**
@ -92332,7 +92413,7 @@ _.extend(BI, {
/***/ }),
/* 878 */
/* 880 */
/***/ (function(module, exports) {
/**
@ -92888,7 +92969,7 @@ BI.shortcut("bi.tree_view", BI.TreeView);
/***/ }),
/* 879 */
/* 881 */
/***/ (function(module, exports) {
/**
@ -93141,7 +93222,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
BI.shortcut("bi.async_tree", BI.AsyncTree);
/***/ }),
/* 880 */
/* 882 */
/***/ (function(module, exports) {
/*
@ -94861,7 +94942,7 @@ BI.shortcut("bi.async_tree", BI.AsyncTree);
})(BI.jQuery);
/***/ }),
/* 881 */
/* 883 */
/***/ (function(module, exports) {
/*
@ -95496,7 +95577,7 @@ BI.shortcut("bi.async_tree", BI.AsyncTree);
})(BI.jQuery);
/***/ }),
/* 882 */
/* 884 */
/***/ (function(module, exports) {
/**
@ -95619,7 +95700,7 @@ BI.ListTreeView = BI.inherit(BI.TreeView, {
BI.shortcut("bi.list_tree_view", BI.ListTreeView);
/***/ }),
/* 883 */
/* 885 */
/***/ (function(module, exports) {
/**
@ -95747,7 +95828,7 @@ BI.ListAsyncTree = BI.inherit(BI.ListTreeView, {
BI.shortcut("bi.list_async_tree", BI.ListAsyncTree);
/***/ }),
/* 884 */
/* 886 */
/***/ (function(module, exports) {
/**
@ -95844,7 +95925,7 @@ BI.ListPartTree = BI.inherit(BI.ListAsyncTree, {
BI.shortcut("bi.list_part_tree", BI.ListPartTree);
/***/ }),
/* 885 */
/* 887 */
/***/ (function(module, exports) {
/**
@ -96050,7 +96131,7 @@ BI.shortcut("bi.part_tree", BI.PartTree);
/***/ }),
/* 886 */
/* 888 */
/***/ (function(module, exports) {
/**
@ -96122,7 +96203,7 @@ BI.shortcut("bi.display_tree", BI.DisplayTree);
/***/ }),
/* 887 */
/* 889 */
/***/ (function(module, exports) {
/**
@ -96205,7 +96286,7 @@ BI.ListDisplayTree.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.list_display_tree", BI.ListDisplayTree);
/***/ }),
/* 888 */
/* 890 */
/***/ (function(module, exports) {
/**
@ -96338,7 +96419,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 889 */
/* 891 */
/***/ (function(module, exports) {
/**
@ -96467,7 +96548,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
})();
/***/ }),
/* 890 */
/* 892 */
/***/ (function(module, exports) {
/**
@ -96548,7 +96629,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
})();
/***/ }),
/* 891 */
/* 893 */
/***/ (function(module, exports) {
;(function () {
@ -96711,8 +96792,6 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 892 */,
/* 893 */,
/* 894 */,
/* 895 */,
/* 896 */,
@ -96745,7 +96824,9 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 923 */,
/* 924 */,
/* 925 */,
/* 926 */
/* 926 */,
/* 927 */,
/* 928 */
/***/ (function(module, exports) {
;(function () {
@ -97021,8 +97102,6 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 927 */,
/* 928 */,
/* 929 */,
/* 930 */,
/* 931 */,
@ -97232,51 +97311,51 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 1135 */,
/* 1136 */,
/* 1137 */,
/* 1138 */
/* 1138 */,
/* 1139 */,
/* 1140 */
/***/ (function(module, exports) {
/***/ }),
/* 1139 */,
/* 1140 */,
/* 1141 */,
/* 1142 */,
/* 1143 */,
/* 1144 */,
/* 1145 */,
/* 1146 */
/* 1146 */,
/* 1147 */,
/* 1148 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1147 */
/* 1149 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1148 */
/* 1150 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1149 */
/* 1151 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1150 */
/* 1152 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1151 */,
/* 1152 */,
/* 1153 */,
/* 1154 */,
/* 1155 */,
@ -97329,11 +97408,13 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 1202 */,
/* 1203 */,
/* 1204 */,
/* 1205 */
/* 1205 */,
/* 1206 */,
/* 1207 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(864);
__webpack_require__(865);
__webpack_require__(866);
__webpack_require__(867);
__webpack_require__(202);
__webpack_require__(203);
__webpack_require__(204);
@ -97391,8 +97472,6 @@ __webpack_require__(303);
__webpack_require__(304);
__webpack_require__(305);
__webpack_require__(306);
__webpack_require__(866);
__webpack_require__(867);
__webpack_require__(868);
__webpack_require__(869);
__webpack_require__(870);
@ -97400,6 +97479,8 @@ __webpack_require__(871);
__webpack_require__(872);
__webpack_require__(873);
__webpack_require__(874);
__webpack_require__(875);
__webpack_require__(876);
__webpack_require__(307);
__webpack_require__(308);
__webpack_require__(309);
@ -97477,7 +97558,7 @@ __webpack_require__(378);
__webpack_require__(110);
__webpack_require__(111);
__webpack_require__(112);
__webpack_require__(1206);
__webpack_require__(1208);
__webpack_require__(220);
__webpack_require__(221);
__webpack_require__(222);
@ -97537,7 +97618,7 @@ __webpack_require__(275);
__webpack_require__(276);
__webpack_require__(277);
__webpack_require__(278);
__webpack_require__(876);
__webpack_require__(878);
__webpack_require__(379);
__webpack_require__(380);
__webpack_require__(381);
@ -97591,7 +97672,7 @@ __webpack_require__(428);
__webpack_require__(429);
__webpack_require__(430);
__webpack_require__(431);
__webpack_require__(877);
__webpack_require__(879);
__webpack_require__(432);
__webpack_require__(433);
__webpack_require__(434);
@ -97705,8 +97786,6 @@ __webpack_require__(541);
__webpack_require__(542);
__webpack_require__(543);
__webpack_require__(544);
__webpack_require__(878);
__webpack_require__(879);
__webpack_require__(880);
__webpack_require__(881);
__webpack_require__(882);
@ -97718,6 +97797,8 @@ __webpack_require__(887);
__webpack_require__(888);
__webpack_require__(889);
__webpack_require__(890);
__webpack_require__(891);
__webpack_require__(892);
__webpack_require__(113);
__webpack_require__(114);
__webpack_require__(115);
@ -97949,27 +98030,27 @@ __webpack_require__(712);
__webpack_require__(713);
__webpack_require__(714);
__webpack_require__(715);
__webpack_require__(875);
__webpack_require__(926);
__webpack_require__(891);
__webpack_require__(1146);
__webpack_require__(1147);
__webpack_require__(877);
__webpack_require__(928);
__webpack_require__(893);
__webpack_require__(1148);
__webpack_require__(1149);
__webpack_require__(1150);
__webpack_require__(1138);
__webpack_require__(1151);
__webpack_require__(1152);
__webpack_require__(1140);
module.exports = __webpack_require__(716);
/***/ }),
/* 1206 */
/* 1208 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(1207);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(1209);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 1207 */
/* 1209 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(setImmediate) {(function (global, factory) {

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

211
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-23 17:40:30 */
/*! time: 2021-8-24 16:00:29 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1456);
/******/ return __webpack_require__(__webpack_require__.s = 1458);
/******/ })
/************************************************************************/
/******/ ([
@ -138,6 +138,15 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
var g; // This works in non-strict mode
@ -160,16 +169,7 @@ try {
module.exports = g;
/***/ }),
/* 15 */,
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
@ -273,7 +273,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 53 */
@ -356,7 +356,7 @@ __webpack_require__(96); // On some exotic environments, it's not clear which ob
exports.setImmediate = typeof self !== "undefined" && self.setImmediate || typeof global !== "undefined" && global.setImmediate || void 0 && (void 0).setImmediate;
exports.clearImmediate = typeof self !== "undefined" && self.clearImmediate || typeof global !== "undefined" && global.clearImmediate || void 0 && (void 0).clearImmediate;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 62 */,
@ -684,7 +684,7 @@ if (_global.BI == null) {
if(_global.BI.prepares == null) {
_global.BI.prepares = [];
}
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 92 */
@ -2040,7 +2040,7 @@ if (!_global.BI) {
});
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14), __webpack_require__(61).setImmediate))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15), __webpack_require__(61).setImmediate))
/***/ }),
/* 96 */
@ -2250,7 +2250,7 @@ if (!_global.BI) {
attachTo.setImmediate = setImmediate;
attachTo.clearImmediate = clearImmediate;
})(typeof self === "undefined" ? typeof global === "undefined" ? void 0 : global : self);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14), __webpack_require__(75)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15), __webpack_require__(75)))
/***/ }),
/* 97 */
@ -4429,7 +4429,7 @@ _.extend(BI, {
};
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 103 */
@ -16027,6 +16027,7 @@ BI.Region.prototype = {
TOOL_BAR_HEIGHT: 24,
LIST_ITEM_HEIGHT: 24,
TRIGGER_HEIGHT: 24,
TOAST_TOP: 10
},
};
@ -16942,9 +16943,11 @@ BI.Layout = BI.inherit(BI.Widget, {
c.destroy();
});
this._children = {};
this._isMounted = false;
}
this.options.items = opt.items;
this.stroke(opt.items);
this._mount();
},
update: function (opt) {
@ -18036,7 +18039,7 @@ BI.shortcut("bi.vertical_fill", BI.VerticalFillLayout);
BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FloatHorizontalFillLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-h-float-fill",
baseCls: "bi-h-float-fill clearfix",
horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
hgap: 0,
@ -25153,7 +25156,7 @@ BI.Msg = function () {
eventName: BI.Toast.EVENT_DESTORY,
action: function () {
BI.remove(toastStack, toast.element);
var _height = 10;
var _height = BI.SIZE_CONSANTS.TOAST_TOP;
BI.each(toastStack, function (i, element) {
element.css({"top": _height});
_height += element.outerHeight() + 10;
@ -25162,7 +25165,7 @@ BI.Msg = function () {
}
}]
});
var height = 10;
var height = BI.SIZE_CONSANTS.TOAST_TOP;
BI.each(toastStack, function (i, element) {
height += element.outerHeight() + 10;
});
@ -36013,7 +36016,7 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);
BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
RGB_WIDTH: 36,
RGB_WIDTH: 32,
HEX_WIDTH: 70,
HEX_PREFIX_POSITION: 1
},
@ -36323,7 +36326,7 @@ BI.shortcut("bi.hex_color_picker_editor", BI.HexColorPickerEditor);
BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
RGB_WIDTH: 36,
RGB_WIDTH: 32,
HEX_WIDTH: 70,
HEX_PREFIX_POSITION: 1
},
@ -54230,10 +54233,16 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -54730,10 +54739,16 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = self._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -55219,10 +55234,16 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -55704,10 +55725,16 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
this._assertValue(res);
this.requesting = true;
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
self.storeValue.assist && self.storeValue.assist.push(map[v]);
@ -58286,10 +58313,16 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
var self = this, o = this.options;
this._assertValue(res);
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
delete map[v];
@ -58636,10 +58669,16 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
var self = this, o = this.options;
this._assertValue(res);
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
delete map[v];
@ -58973,10 +59012,16 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
var self = this, o = this.options;
this._assertValue(res);
if (this.storeValue.type === res.type) {
var result = BI.Func.getSearchResult(this.storeValue.value, this.trigger.getKey());
var result = BI.Func.getSearchResult(BI.map(this.storeValue.value, function (_i, v) {
return {
text: o.valueFormatter(v) || v,
value: v
};
}), this.trigger.getKey());
var change = false;
var map = this._makeMap(this.storeValue.value);
BI.each(BI.concat(result.match, result.find), function (i, v) {
BI.each(BI.concat(result.match, result.find), function (i, obj) {
var v = obj.value;
if (BI.isNotNull(map[v])) {
change = true;
delete map[v];
@ -75821,6 +75866,18 @@ Object.defineProperty(exports, "TdLayout", {
return _layout11.TdLayout;
}
});
Object.defineProperty(exports, "MultiLayerSelectLevelTree", {
enumerable: true,
get: function get() {
return _multilayerselecttree3.MultiLayerSelectLevelTree;
}
});
Object.defineProperty(exports, "SelectTreeExpander", {
enumerable: true,
get: function get() {
return _selecttree.SelectTreeExpander;
}
});
exports["default"] = void 0;
var _combo = __webpack_require__(718);
@ -75829,7 +75886,7 @@ var _group = __webpack_require__(68);
var _tab = __webpack_require__(719);
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
var _button = __webpack_require__(4);
@ -76157,6 +76214,10 @@ var _pane3 = __webpack_require__(861);
var _layout11 = __webpack_require__(862);
var _multilayerselecttree3 = __webpack_require__(863);
var _selecttree = __webpack_require__(864);
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; }
@ -76335,7 +76396,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 737 */
@ -76879,7 +76940,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 775 */
@ -76942,7 +77003,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 782 */
@ -77131,7 +77192,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 803 */
@ -77527,7 +77588,7 @@ var _button = __webpack_require__(46);
"use strict";
var _pane = __webpack_require__(16);
var _pane = __webpack_require__(14);
/***/ }),
/* 847 */
@ -77672,8 +77733,24 @@ var _abstract = __webpack_require__(30);
var _layout = __webpack_require__(3);
/***/ }),
/* 863 */,
/* 864 */,
/* 863 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _pane = __webpack_require__(14);
/***/ }),
/* 864 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 865 */,
/* 866 */,
/* 867 */,
@ -77700,7 +77777,9 @@ var _layout = __webpack_require__(3);
/* 888 */,
/* 889 */,
/* 890 */,
/* 891 */
/* 891 */,
/* 892 */,
/* 893 */
/***/ (function(module, exports) {
;(function () {
@ -77863,8 +77942,6 @@ var _layout = __webpack_require__(3);
/***/ }),
/* 892 */,
/* 893 */,
/* 894 */,
/* 895 */,
/* 896 */,
@ -77897,7 +77974,9 @@ var _layout = __webpack_require__(3);
/* 923 */,
/* 924 */,
/* 925 */,
/* 926 */
/* 926 */,
/* 927 */,
/* 928 */
/***/ (function(module, exports) {
;(function () {
@ -78173,8 +78252,6 @@ var _layout = __webpack_require__(3);
/***/ }),
/* 927 */,
/* 928 */,
/* 929 */,
/* 930 */,
/* 931 */,
@ -78182,14 +78259,16 @@ var _layout = __webpack_require__(3);
/* 933 */,
/* 934 */,
/* 935 */,
/* 936 */
/* 936 */,
/* 937 */,
/* 938 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(937);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(939);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 937 */
/* 939 */
/***/ (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"); } }
@ -79722,8 +79801,6 @@ var _layout = __webpack_require__(3);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61).setImmediate))
/***/ }),
/* 938 */,
/* 939 */,
/* 940 */,
/* 941 */,
/* 942 */,
@ -79922,14 +79999,14 @@ var _layout = __webpack_require__(3);
/* 1135 */,
/* 1136 */,
/* 1137 */,
/* 1138 */
/* 1138 */,
/* 1139 */,
/* 1140 */
/***/ (function(module, exports) {
/***/ }),
/* 1139 */,
/* 1140 */,
/* 1141 */,
/* 1142 */,
/* 1143 */,
@ -80245,7 +80322,9 @@ var _layout = __webpack_require__(3);
/* 1453 */,
/* 1454 */,
/* 1455 */,
/* 1456 */
/* 1456 */,
/* 1457 */,
/* 1458 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(92);
@ -80364,7 +80443,7 @@ __webpack_require__(378);
__webpack_require__(110);
__webpack_require__(111);
__webpack_require__(112);
__webpack_require__(936);
__webpack_require__(938);
__webpack_require__(379);
__webpack_require__(380);
__webpack_require__(381);
@ -80762,9 +80841,9 @@ __webpack_require__(712);
__webpack_require__(713);
__webpack_require__(714);
__webpack_require__(715);
__webpack_require__(926);
__webpack_require__(891);
__webpack_require__(1138);
__webpack_require__(928);
__webpack_require__(893);
__webpack_require__(1140);
module.exports = __webpack_require__(716);

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

6
dist/lib/index.d.ts vendored

@ -175,6 +175,8 @@ import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label";
import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser';
import { TdLayout } from './core/wrapper/layout/layout.td';
import { MultiLayerSelectLevelTree } from './widget/multilayerselecttree/multilayerselecttree.leveltree';
import { SelectTreeExpander } from './widget/selecttree/selecttree.expander';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
OB: typeof OB;
Plugin: _Plugin;
@ -355,9 +357,11 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane;
TdLayout: typeof TdLayout;
MultiLayerSelectLevelTree: typeof MultiLayerSelectLevelTree;
SelectTreeExpander: typeof SelectTreeExpander;
}
declare const _default: {
Decorators: typeof decorator;
};
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, BroadcastController, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, Expander, BubbleCombo, Loader, ListPane, MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, SmallTextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, MultiLayerDownListPopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiLayerDownListCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, StateEditor, 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, TextTrigger, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, Pager, 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, Router, History, DateTimeCombo, FloatHorizontalLayout, AdaptiveLayout, HexColorChooserPopup, BlankIconTextItem, TimeInterval, DynamicDateTimePane, SingleSelectInsertList, MultiSelectTree, HtmlLabel, TreeValueChooserPane, TdLayout, };
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, BroadcastController, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, Expander, BubbleCombo, Loader, ListPane, MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, SmallTextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, MultiLayerDownListPopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiLayerDownListCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, StateEditor, 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, TextTrigger, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, Pager, 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, Router, History, DateTimeCombo, FloatHorizontalLayout, AdaptiveLayout, HexColorChooserPopup, BlankIconTextItem, TimeInterval, DynamicDateTimePane, SingleSelectInsertList, MultiSelectTree, HtmlLabel, TreeValueChooserPane, TdLayout, MultiLayerSelectLevelTree, SelectTreeExpander, };

12
dist/lib/widget/multilayerselecttree/multilayerselecttree.leveltree.d.ts vendored

@ -0,0 +1,12 @@
import { Pane } from '../../base/pane';
export declare class MultiLayerSelectLevelTree extends Pane {
static xtype: string;
static EVENT_CHANGE: string;
initTree<T>(nodes: T): void;
populate<T>(nodes?: T[]): void;
setValue(v: string[] | string): void;
getValue(): string[];
getAllLeaves<T>(): T[];
getNodeById<T>(id: string): T;
getNodeByValue<T>(id: string): T;
}

8
dist/lib/widget/selecttree/selecttree.expander.d.ts vendored

@ -0,0 +1,8 @@
import { Widget } from '../../core/widget';
export declare class SelectTreeExpander extends Widget {
static xtype: string;
getAllLeaves<T>(): T[];
setValue(v: any): void;
getValue<T>(): T;
populate<T>(items: T[]): void;
}

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

26
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-8-23 17:40:30 */
/*! time: 2021-8-24 16:00:29 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1279);
/******/ return __webpack_require__(__webpack_require__.s = 1281);
/******/ })
/************************************************************************/
/******/ ({
@ -1616,7 +1616,7 @@ _.extend(BI, {
};
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
@ -2928,7 +2928,7 @@ BI.Req = {
/***/ }),
/***/ 1137:
/***/ 1139:
/***/ (function(module, exports) {
BI.i18n = {
@ -3134,7 +3134,7 @@ BI.i18n = {
/***/ }),
/***/ 1279:
/***/ 1281:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(91);
@ -3153,8 +3153,8 @@ __webpack_require__(97);
__webpack_require__(98);
__webpack_require__(108);
__webpack_require__(109);
__webpack_require__(1137);
__webpack_require__(1280);
__webpack_require__(1139);
__webpack_require__(1282);
__webpack_require__(110);
__webpack_require__(111);
module.exports = __webpack_require__(112);
@ -3162,7 +3162,7 @@ module.exports = __webpack_require__(112);
/***/ }),
/***/ 1280:
/***/ 1282:
/***/ (function(module, exports) {
/**
@ -3236,7 +3236,7 @@ BI.Date._OFFSET = [0, -1, -2, -3, -4, -5, -6];
/***/ }),
/***/ 14:
/***/ 15:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -3329,7 +3329,7 @@ __webpack_require__(96); // On some exotic environments, it's not clear which ob
exports.setImmediate = typeof self !== "undefined" && self.setImmediate || typeof global !== "undefined" && global.setImmediate || void 0 && (void 0).setImmediate;
exports.clearImmediate = typeof self !== "undefined" && self.clearImmediate || typeof global !== "undefined" && global.clearImmediate || void 0 && (void 0).clearImmediate;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
@ -3575,7 +3575,7 @@ if (_global.BI == null) {
if(_global.BI.prepares == null) {
_global.BI.prepares = [];
}
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
@ -4935,7 +4935,7 @@ if (!_global.BI) {
});
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14), __webpack_require__(61).setImmediate))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15), __webpack_require__(61).setImmediate))
/***/ }),
@ -5146,7 +5146,7 @@ if (!_global.BI) {
attachTo.setImmediate = setImmediate;
attachTo.clearImmediate = clearImmediate;
})(typeof self === "undefined" ? typeof global === "undefined" ? void 0 : global : self);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14), __webpack_require__(75)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15), __webpack_require__(75)))
/***/ }),

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

65
examples/dev.html

@ -20,34 +20,53 @@
}
},
setup: function () {
var layout;
var list, count = 0;
return function () {
return {
type: "bi.left",
type: "bi.vertical",
items: [{
type: "bi.button",
text: "点击",
handler: function () {
layout.populate([{
type: "bi.label",
key: "1",
text: 1
}, {
type: "bi.virtual_group",
height: 100,
ref: function (_ref) {
list = _ref;
},
items: BI.range(10).map(function (item, i) {
var r = {
type: "bi.label",
key: "123",
text: "start"
}])
}
text: item,
// 指定key后,会根据key值进行前后两次数据对比,否则会根据数组索引进行数据对比
key: item,
cls: "bi-border"
};
if (i === 9) {
r.width = "fill";
r.key = "唯一的标识";
}
return r;
}),
layouts: [{
type: "bi.inline",
tgap: 10,
lgap: 10
}]
}, {
type: "bi.left",
lgap: 10,
items: [{
type: "bi.label",
key: "123",
text: "start"
}],
ref: function (_ref) {
layout = _ref;
type: "bi.button",
text: "点击删除第一个元素",
handler: function () {
count++;
list.populate(BI.range(10 - count).map(function (i) {
var r = {
type: "bi.label",
text: i + count,
key: i + count,
cls: "bi-border"
};
if (i + count === 9) {
r.width = "fill";
r.key = "唯一的标识";
}
return r;
}));
}
}]
};

2
package.json

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

4
src/base/foundation/message.js

@ -37,7 +37,7 @@ BI.Msg = function () {
eventName: BI.Toast.EVENT_DESTORY,
action: function () {
BI.remove(toastStack, toast.element);
var _height = 10;
var _height = BI.SIZE_CONSANTS.TOAST_TOP;
BI.each(toastStack, function (i, element) {
element.css({"top": _height});
_height += element.outerHeight() + 10;
@ -46,7 +46,7 @@ BI.Msg = function () {
}
}]
});
var height = 10;
var height = BI.SIZE_CONSANTS.TOAST_TOP;
BI.each(toastStack, function (i, element) {
height += element.outerHeight() + 10;
});

2
src/case/colorchooser/colorpicker/editor.colorpicker.hex.js

@ -8,7 +8,7 @@
BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
RGB_WIDTH: 36,
RGB_WIDTH: 32,
HEX_WIDTH: 70,
HEX_PREFIX_POSITION: 1
},

2
src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

@ -6,7 +6,7 @@
BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
constants: {
RGB_WIDTH: 36,
RGB_WIDTH: 32,
HEX_WIDTH: 70,
HEX_PREFIX_POSITION: 1
},

4
src/core/platform/web/config.js

@ -49,7 +49,9 @@ BI.prepares.push(function () {
if (hasAutoAndFillColumnSize) {
// 宽度是不是受限
if ((ob.scrollable !== true && ob.scrollx !== true) || ob.horizontalAlign === BI.HorizontalAlign.Stretch) {
return BI.extend({}, ob, {type: "bi.horizontal_float_fill"});
return BI.extend({
verticalAlign: BI.VerticalAlign.Top
}, ob, {type: "bi.horizontal_float_fill"});
}
return BI.extend({
horizontalAlign: BI.HorizontalAlign.Stretch

1
src/core/system.js

@ -11,6 +11,7 @@
TOOL_BAR_HEIGHT: 24,
LIST_ITEM_HEIGHT: 24,
TRIGGER_HEIGHT: 24,
TOAST_TOP: 10
},
};

2
src/core/wrapper/layout.js

@ -551,9 +551,11 @@ BI.Layout = BI.inherit(BI.Widget, {
c.destroy();
});
this._children = {};
this._isMounted = false;
}
this.options.items = opt.items;
this.stroke(opt.items);
this._mount();
},
update: function (opt) {

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

@ -1,7 +1,7 @@
BI.FloatHorizontalFillLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FloatHorizontalFillLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-h-float-fill",
baseCls: "bi-h-float-fill clearfix",
horizontalAlign: BI.HorizontalAlign.Stretch,
verticalAlign: BI.VerticalAlign.Stretch,
hgap: 0,

6
typescript/index.ts

@ -175,6 +175,8 @@ import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label";
import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser';
import { TdLayout } from './core/wrapper/layout/layout.td';
import { MultiLayerSelectLevelTree } from './widget/multilayerselecttree/multilayerselecttree.leveltree';
import { SelectTreeExpander } from './widget/selecttree/selecttree.expander';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -357,6 +359,8 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane;
TdLayout: typeof TdLayout;
MultiLayerSelectLevelTree: typeof MultiLayerSelectLevelTree;
SelectTreeExpander: typeof SelectTreeExpander;
}
export default {
@ -539,4 +543,6 @@ export {
HtmlLabel,
TreeValueChooserPane,
TdLayout,
MultiLayerSelectLevelTree,
SelectTreeExpander,
};

21
typescript/widget/multilayerselecttree/multilayerselecttree.leveltree.ts

@ -0,0 +1,21 @@
import { Pane } from '../../base/pane';
export declare class MultiLayerSelectLevelTree extends Pane {
static xtype: string;
static EVENT_CHANGE: string;
initTree<T>(nodes: T): void;
populate<T>(nodes?: T[]): void;
setValue(v: string[] | string): void;
getValue(): string[];
getAllLeaves<T>(): T[];
getNodeById<T>(id: string): T;
getNodeByValue<T>(id: string): T;
}

13
typescript/widget/selecttree/selecttree.expander.ts

@ -0,0 +1,13 @@
import { Widget } from '../../core/widget';
export declare class SelectTreeExpander extends Widget {
static xtype: string;
getAllLeaves<T>(): T[];
setValue(v: any): void;
getValue<T>(): T;
populate<T>(items: T[]): void;
}
Loading…
Cancel
Save