Browse Source

Merge branch 'master' of ssh://cloud.finedevelop.com:7999/~kira/fineui

es6
Kira 4 years ago
parent
commit
d4af3f4734
  1. 2
      README.md
  2. 2
      dist/2.0/fineui.css
  3. 4
      dist/2.0/fineui.ie.min.js
  4. 2
      dist/2.0/fineui.ie.min.js.map
  5. 992
      dist/2.0/fineui.js
  6. 2
      dist/2.0/fineui.js.map
  7. 2
      dist/2.0/fineui.min.css
  8. 4
      dist/2.0/fineui.min.js
  9. 2
      dist/2.0/fineui.min.js.map
  10. 2
      dist/2.0/fineui_without_normalize.css
  11. 2
      dist/2.0/fineui_without_normalize.min.css
  12. 2
      dist/core.css
  13. 946
      dist/core.js
  14. 2
      dist/core.js.map
  15. 2
      dist/demo.css
  16. 1332
      dist/demo.js
  17. 2
      dist/demo.js.map
  18. 2
      dist/fineui.css
  19. 4
      dist/fineui.ie.min.js
  20. 2
      dist/fineui.ie.min.js.map
  21. 986
      dist/fineui.js
  22. 2
      dist/fineui.js.map
  23. 2
      dist/fineui.min.css
  24. 4
      dist/fineui.min.js
  25. 2
      dist/fineui.min.js.map
  26. 2
      dist/fineui.proxy.css
  27. 264
      dist/fineui.proxy.js
  28. 2
      dist/fineui.proxy.js.map
  29. 2
      dist/fineui.proxy.min.css
  30. 4
      dist/fineui.proxy.min.js
  31. 2
      dist/fineui.proxy.min.js.map
  32. 174
      dist/fineui_without_jquery_polyfill.js
  33. 2
      dist/fineui_without_jquery_polyfill.js.map
  34. 2
      dist/font.css
  35. 10
      dist/lib/base/combination/tab.d.ts
  36. 1
      dist/lib/component/allvaluechooser/combo.allvaluechooser.d.ts
  37. 10
      dist/lib/index.d.ts
  38. 25
      dist/lib/shims-tsx.d.ts
  39. 2
      dist/resource.css
  40. 14
      dist/utils.js
  41. 2
      dist/utils.js.map
  42. 4
      dist/utils.min.js
  43. 2
      dist/utils.min.js.map
  44. 2
      package.json
  45. 27
      src/core/4.widget.js
  46. 13
      src/core/wrapper/layout/layout.absolute.js
  47. 11
      typescript/base/combination/tab.ts
  48. 2
      typescript/component/allvaluechooser/combo.allvaluechooser.ts
  49. 12
      typescript/index.ts

2
README.md

@ -12,4 +12,4 @@ http://fanruan.design/doc.html?post=0169cf558d
License
============
Please refer to [LICENSE](https://github.com/fanruan/fineui/blob/master/LICENSE) file.
Please refer to [LICENSE](https://code.fanruan.com/fanruan/fineui/src/branch/master/LICENSE) file.

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

992
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

946
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

1332
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

986
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

264
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-18 9:20:20 PM */
/*! time: 2021-5-24 9:50:17 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1181);
/******/ return __webpack_require__(__webpack_require__.s = 1185);
/******/ })
/************************************************************************/
/******/ ([
@ -6523,13 +6523,18 @@ BI.Req = {
!(function () {
function callLifeHook (self, life) {
var hook = self.options[life] || self[life];
var hooks = [], hook;
hook = self[life];
if (hook) {
var hooks = BI.isArray(hook) ? hook : [hook];
BI.each(hooks, function (i, hook) {
hook.call(self);
});
hooks = hooks.concat(BI.isArray(hook) ? hook : [hook]);
}
hook = self.options[life];
if (hook) {
hooks = hooks.concat(BI.isArray(hook) ? hook : [hook]);
}
BI.each(hooks, function (i, hook) {
hook.call(self);
});
}
BI.Widget = BI.Widget || BI.inherit(BI.OB, {
@ -7078,13 +7083,19 @@ BI.Req = {
this.element.empty();
},
// 默认的populate方法就是干掉重来
// 默认的reset方法就是干掉重来
reset: function () {
this.purgeListeners();
// 还在异步状态的不需要执行reset
if (this.__async === true || this.__asking === true) {
return;
}
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this._initCurrent();
this._init();
this._initRef();
this._mount();
// this._initRef();
},
_destroy: function () {
@ -16287,19 +16298,6 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, {
this.stroke(this.options.items);
},
stroke: function (items) {
this.options.items = items || [];
var self = this;
BI.each(items, function (i, item) {
if (item) {
if (!BI.isWidget(item) && !item.el) {
throw new Error("el must be exist");
}
self._addElement(i, item);
}
});
},
populate: function (items) {
BI.AbsoluteLayout.superclass.populate.apply(this, arguments);
this._mount();
@ -72523,6 +72521,30 @@ Object.defineProperty(exports, "Pager", {
return _pager.Pager;
}
});
Object.defineProperty(exports, "TimeInterval", {
enumerable: true,
get: function get() {
return _timeinterval.TimeInterval;
}
});
Object.defineProperty(exports, "DynamicDateTimePane", {
enumerable: true,
get: function get() {
return _datetimepane.DynamicDateTimePane;
}
});
Object.defineProperty(exports, "SingleSelectInsertList", {
enumerable: true,
get: function get() {
return _singleselectlist.SingleSelectInsertList;
}
});
Object.defineProperty(exports, "MultiSelectTree", {
enumerable: true,
get: function get() {
return _multiselecttree.MultiSelectTree;
}
});
exports["default"] = void 0;
var _combo = __webpack_require__(705);
@ -72837,6 +72859,14 @@ var _controller3 = __webpack_require__(837);
var _pager = __webpack_require__(838);
var _timeinterval = __webpack_require__(839);
var _datetimepane = __webpack_require__(840);
var _singleselectlist = __webpack_require__(841);
var _multiselecttree = __webpack_require__(842);
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; }
@ -74253,20 +74283,56 @@ var _controller = __webpack_require__(52);
var _widget = __webpack_require__(1);
/***/ }),
/* 839 */,
/* 839 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 840 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
"use strict";
var _widget = __webpack_require__(1);
/***/ }),
/* 841 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 842 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 843 */,
/* 844 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 845 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 846 */
/***/ (function(module, exports) {
// 工程配置
@ -74399,7 +74465,7 @@ BI.prepares.push(function () {
/***/ }),
/* 843 */
/* 847 */
/***/ (function(module, exports) {
/**
@ -74566,7 +74632,7 @@ BI.prepares.push(function () {
/***/ }),
/* 844 */
/* 848 */
/***/ (function(module, exports) {
/**
@ -75406,7 +75472,7 @@ BI.prepares.push(function () {
/***/ }),
/* 845 */
/* 849 */
/***/ (function(module, exports) {
// 浏览器相关方法
@ -75540,7 +75606,7 @@ _.extend(BI, {
});
/***/ }),
/* 846 */
/* 850 */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@ -86569,7 +86635,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
/***/ }),
/* 847 */
/* 851 */
/***/ (function(module, exports) {
/*
@ -86584,7 +86650,7 @@ BI.$.extend(BI.$.Event.prototype, {
});
/***/ }),
/* 848 */
/* 852 */
/***/ (function(module, exports) {
if (BI.jQuery) {
@ -86834,7 +86900,7 @@ if (BI.jQuery) {
/***/ }),
/* 849 */
/* 853 */
/***/ (function(module, exports) {
/* !
@ -87043,7 +87109,7 @@ if (BI.jQuery) {
}));
/***/ }),
/* 850 */
/* 854 */
/***/ (function(module, exports) {
_.extend(BI, {
@ -87103,7 +87169,7 @@ _.extend(BI, {
});
/***/ }),
/* 851 */
/* 855 */
/***/ (function(module, exports) {
(function () {
@ -87735,7 +87801,7 @@ _.extend(BI, {
}());
/***/ }),
/* 852 */
/* 856 */
/***/ (function(module, exports) {
!(function () {
@ -87747,7 +87813,7 @@ _.extend(BI, {
})();
/***/ }),
/* 853 */
/* 857 */
/***/ (function(module, exports) {
/**
@ -88452,7 +88518,7 @@ _.extend(BI, {
/***/ }),
/* 854 */
/* 858 */
/***/ (function(module, exports) {
/**
@ -89000,7 +89066,7 @@ BI.shortcut("bi.tree_view", BI.TreeView);
/***/ }),
/* 855 */
/* 859 */
/***/ (function(module, exports) {
/**
@ -89253,7 +89319,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
BI.shortcut("bi.async_tree", BI.AsyncTree);
/***/ }),
/* 856 */
/* 860 */
/***/ (function(module, exports) {
/*
@ -90973,7 +91039,7 @@ BI.shortcut("bi.async_tree", BI.AsyncTree);
})(BI.jQuery);
/***/ }),
/* 857 */
/* 861 */
/***/ (function(module, exports) {
/*
@ -91608,7 +91674,7 @@ BI.shortcut("bi.async_tree", BI.AsyncTree);
})(BI.jQuery);
/***/ }),
/* 858 */
/* 862 */
/***/ (function(module, exports) {
/**
@ -91731,7 +91797,7 @@ BI.ListTreeView = BI.inherit(BI.TreeView, {
BI.shortcut("bi.list_tree_view", BI.ListTreeView);
/***/ }),
/* 859 */
/* 863 */
/***/ (function(module, exports) {
/**
@ -91859,7 +91925,7 @@ BI.ListAsyncTree = BI.inherit(BI.ListTreeView, {
BI.shortcut("bi.list_async_tree", BI.ListAsyncTree);
/***/ }),
/* 860 */
/* 864 */
/***/ (function(module, exports) {
/**
@ -91956,7 +92022,7 @@ BI.ListPartTree = BI.inherit(BI.ListAsyncTree, {
BI.shortcut("bi.list_part_tree", BI.ListPartTree);
/***/ }),
/* 861 */
/* 865 */
/***/ (function(module, exports) {
/**
@ -92162,7 +92228,7 @@ BI.shortcut("bi.part_tree", BI.PartTree);
/***/ }),
/* 862 */
/* 866 */
/***/ (function(module, exports) {
/**
@ -92234,7 +92300,7 @@ BI.shortcut("bi.display_tree", BI.DisplayTree);
/***/ }),
/* 863 */
/* 867 */
/***/ (function(module, exports) {
/**
@ -92317,7 +92383,7 @@ BI.ListDisplayTree.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.list_display_tree", BI.ListDisplayTree);
/***/ }),
/* 864 */
/* 868 */
/***/ (function(module, exports) {
/**
@ -92450,7 +92516,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 865 */
/* 869 */
/***/ (function(module, exports) {
/**
@ -92579,7 +92645,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
})();
/***/ }),
/* 866 */
/* 870 */
/***/ (function(module, exports) {
/**
@ -92660,7 +92726,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
})();
/***/ }),
/* 867 */
/* 871 */
/***/ (function(module, exports) {
;(function () {
@ -92823,10 +92889,6 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 868 */,
/* 869 */,
/* 870 */,
/* 871 */,
/* 872 */,
/* 873 */,
/* 874 */,
@ -92857,7 +92919,11 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 899 */,
/* 900 */,
/* 901 */,
/* 902 */
/* 902 */,
/* 903 */,
/* 904 */,
/* 905 */,
/* 906 */
/***/ (function(module, exports) {
;(function () {
@ -93204,10 +93270,6 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 903 */,
/* 904 */,
/* 905 */,
/* 906 */,
/* 907 */,
/* 908 */,
/* 909 */,
@ -93415,53 +93477,53 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 1111 */,
/* 1112 */,
/* 1113 */,
/* 1114 */
/* 1114 */,
/* 1115 */,
/* 1116 */,
/* 1117 */,
/* 1118 */
/***/ (function(module, exports) {
/***/ }),
/* 1115 */,
/* 1116 */,
/* 1117 */,
/* 1118 */,
/* 1119 */,
/* 1120 */,
/* 1121 */,
/* 1122 */
/* 1122 */,
/* 1123 */,
/* 1124 */,
/* 1125 */,
/* 1126 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1123 */
/* 1127 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1124 */
/* 1128 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1125 */
/* 1129 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1126 */
/* 1130 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1127 */,
/* 1128 */,
/* 1129 */,
/* 1130 */,
/* 1131 */,
/* 1132 */,
/* 1133 */,
@ -93512,11 +93574,15 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 1178 */,
/* 1179 */,
/* 1180 */,
/* 1181 */
/* 1181 */,
/* 1182 */,
/* 1183 */,
/* 1184 */,
/* 1185 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(840);
__webpack_require__(841);
__webpack_require__(844);
__webpack_require__(845);
__webpack_require__(202);
__webpack_require__(203);
__webpack_require__(204);
@ -93572,15 +93638,15 @@ __webpack_require__(300);
__webpack_require__(301);
__webpack_require__(302);
__webpack_require__(303);
__webpack_require__(842);
__webpack_require__(843);
__webpack_require__(844);
__webpack_require__(845);
__webpack_require__(846);
__webpack_require__(847);
__webpack_require__(848);
__webpack_require__(849);
__webpack_require__(850);
__webpack_require__(851);
__webpack_require__(852);
__webpack_require__(853);
__webpack_require__(854);
__webpack_require__(304);
__webpack_require__(305);
__webpack_require__(306);
@ -93650,7 +93716,7 @@ __webpack_require__(367);
__webpack_require__(110);
__webpack_require__(111);
__webpack_require__(112);
__webpack_require__(1182);
__webpack_require__(1186);
__webpack_require__(222);
__webpack_require__(223);
__webpack_require__(224);
@ -93709,7 +93775,7 @@ __webpack_require__(276);
__webpack_require__(277);
__webpack_require__(278);
__webpack_require__(279);
__webpack_require__(852);
__webpack_require__(856);
__webpack_require__(368);
__webpack_require__(369);
__webpack_require__(370);
@ -93763,7 +93829,7 @@ __webpack_require__(417);
__webpack_require__(418);
__webpack_require__(419);
__webpack_require__(420);
__webpack_require__(853);
__webpack_require__(857);
__webpack_require__(421);
__webpack_require__(422);
__webpack_require__(423);
@ -93876,10 +93942,6 @@ __webpack_require__(529);
__webpack_require__(530);
__webpack_require__(531);
__webpack_require__(532);
__webpack_require__(854);
__webpack_require__(855);
__webpack_require__(856);
__webpack_require__(857);
__webpack_require__(858);
__webpack_require__(859);
__webpack_require__(860);
@ -93889,6 +93951,10 @@ __webpack_require__(863);
__webpack_require__(864);
__webpack_require__(865);
__webpack_require__(866);
__webpack_require__(867);
__webpack_require__(868);
__webpack_require__(869);
__webpack_require__(870);
__webpack_require__(113);
__webpack_require__(114);
__webpack_require__(115);
@ -94119,27 +94185,27 @@ __webpack_require__(699);
__webpack_require__(700);
__webpack_require__(701);
__webpack_require__(702);
__webpack_require__(851);
__webpack_require__(902);
__webpack_require__(867);
__webpack_require__(1122);
__webpack_require__(1123);
__webpack_require__(1124);
__webpack_require__(1125);
__webpack_require__(855);
__webpack_require__(906);
__webpack_require__(871);
__webpack_require__(1126);
__webpack_require__(1114);
__webpack_require__(1127);
__webpack_require__(1128);
__webpack_require__(1129);
__webpack_require__(1130);
__webpack_require__(1118);
module.exports = __webpack_require__(703);
/***/ }),
/* 1182 */
/* 1186 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(1183);
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(1187);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/***/ }),
/* 1183 */
/* 1187 */
/***/ (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

174
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-18 9:20:20 PM */
/*! time: 2021-5-24 9:50:17 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1432);
/******/ return __webpack_require__(__webpack_require__.s = 1436);
/******/ })
/************************************************************************/
/******/ ([
@ -6133,13 +6133,18 @@ BI.Req = {
!(function () {
function callLifeHook (self, life) {
var hook = self.options[life] || self[life];
var hooks = [], hook;
hook = self[life];
if (hook) {
var hooks = BI.isArray(hook) ? hook : [hook];
BI.each(hooks, function (i, hook) {
hook.call(self);
});
hooks = hooks.concat(BI.isArray(hook) ? hook : [hook]);
}
hook = self.options[life];
if (hook) {
hooks = hooks.concat(BI.isArray(hook) ? hook : [hook]);
}
BI.each(hooks, function (i, hook) {
hook.call(self);
});
}
BI.Widget = BI.Widget || BI.inherit(BI.OB, {
@ -6688,13 +6693,19 @@ BI.Req = {
this.element.empty();
},
// 默认的populate方法就是干掉重来
// 默认的reset方法就是干掉重来
reset: function () {
this.purgeListeners();
// 还在异步状态的不需要执行reset
if (this.__async === true || this.__asking === true) {
return;
}
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this._initCurrent();
this._init();
this._initRef();
this._mount();
// this._initRef();
},
_destroy: function () {
@ -15897,19 +15908,6 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, {
this.stroke(this.options.items);
},
stroke: function (items) {
this.options.items = items || [];
var self = this;
BI.each(items, function (i, item) {
if (item) {
if (!BI.isWidget(item) && !item.el) {
throw new Error("el must be exist");
}
self._addElement(i, item);
}
});
},
populate: function (items) {
BI.AbsoluteLayout.superclass.populate.apply(this, arguments);
this._mount();
@ -72133,6 +72131,30 @@ Object.defineProperty(exports, "Pager", {
return _pager.Pager;
}
});
Object.defineProperty(exports, "TimeInterval", {
enumerable: true,
get: function get() {
return _timeinterval.TimeInterval;
}
});
Object.defineProperty(exports, "DynamicDateTimePane", {
enumerable: true,
get: function get() {
return _datetimepane.DynamicDateTimePane;
}
});
Object.defineProperty(exports, "SingleSelectInsertList", {
enumerable: true,
get: function get() {
return _singleselectlist.SingleSelectInsertList;
}
});
Object.defineProperty(exports, "MultiSelectTree", {
enumerable: true,
get: function get() {
return _multiselecttree.MultiSelectTree;
}
});
exports["default"] = void 0;
var _combo = __webpack_require__(705);
@ -72447,6 +72469,14 @@ var _controller3 = __webpack_require__(837);
var _pager = __webpack_require__(838);
var _timeinterval = __webpack_require__(839);
var _datetimepane = __webpack_require__(840);
var _singleselectlist = __webpack_require__(841);
var _multiselecttree = __webpack_require__(842);
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; }
@ -73863,10 +73893,42 @@ var _controller = __webpack_require__(52);
var _widget = __webpack_require__(1);
/***/ }),
/* 839 */,
/* 840 */,
/* 841 */,
/* 842 */,
/* 839 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 840 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(1);
/***/ }),
/* 841 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 842 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 843 */,
/* 844 */,
/* 845 */,
@ -73891,7 +73953,11 @@ var _widget = __webpack_require__(1);
/* 864 */,
/* 865 */,
/* 866 */,
/* 867 */
/* 867 */,
/* 868 */,
/* 869 */,
/* 870 */,
/* 871 */
/***/ (function(module, exports) {
;(function () {
@ -74054,10 +74120,6 @@ var _widget = __webpack_require__(1);
/***/ }),
/* 868 */,
/* 869 */,
/* 870 */,
/* 871 */,
/* 872 */,
/* 873 */,
/* 874 */,
@ -74088,7 +74150,11 @@ var _widget = __webpack_require__(1);
/* 899 */,
/* 900 */,
/* 901 */,
/* 902 */
/* 902 */,
/* 903 */,
/* 904 */,
/* 905 */,
/* 906 */
/***/ (function(module, exports) {
;(function () {
@ -74435,23 +74501,23 @@ var _widget = __webpack_require__(1);
/***/ }),
/* 903 */,
/* 904 */,
/* 905 */,
/* 906 */,
/* 907 */,
/* 908 */,
/* 909 */,
/* 910 */,
/* 911 */,
/* 912 */
/* 912 */,
/* 913 */,
/* 914 */,
/* 915 */,
/* 916 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(913);
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(917);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(14)))
/***/ }),
/* 913 */
/* 917 */
/***/ (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"); } }
@ -75984,10 +76050,6 @@ var _widget = __webpack_require__(1);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(60).setImmediate))
/***/ }),
/* 914 */,
/* 915 */,
/* 916 */,
/* 917 */,
/* 918 */,
/* 919 */,
/* 920 */,
@ -76184,16 +76246,16 @@ var _widget = __webpack_require__(1);
/* 1111 */,
/* 1112 */,
/* 1113 */,
/* 1114 */
/* 1114 */,
/* 1115 */,
/* 1116 */,
/* 1117 */,
/* 1118 */
/***/ (function(module, exports) {
/***/ }),
/* 1115 */,
/* 1116 */,
/* 1117 */,
/* 1118 */,
/* 1119 */,
/* 1120 */,
/* 1121 */,
@ -76507,7 +76569,11 @@ var _widget = __webpack_require__(1);
/* 1429 */,
/* 1430 */,
/* 1431 */,
/* 1432 */
/* 1432 */,
/* 1433 */,
/* 1434 */,
/* 1435 */,
/* 1436 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(92);
@ -76614,7 +76680,7 @@ __webpack_require__(367);
__webpack_require__(110);
__webpack_require__(111);
__webpack_require__(112);
__webpack_require__(912);
__webpack_require__(916);
__webpack_require__(368);
__webpack_require__(369);
__webpack_require__(370);
@ -77010,9 +77076,9 @@ __webpack_require__(699);
__webpack_require__(700);
__webpack_require__(701);
__webpack_require__(702);
__webpack_require__(902);
__webpack_require__(867);
__webpack_require__(1114);
__webpack_require__(906);
__webpack_require__(871);
__webpack_require__(1118);
module.exports = __webpack_require__(703);

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

10
dist/lib/base/combination/tab.d.ts vendored

@ -3,6 +3,16 @@ import { Action } from "../../core/action/action";
export declare class Tab extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
props: {
showIndex: any;
cardCreator: (v: any) => Obj;
direction?: 'top' | 'bottom' | 'left' | 'right' | 'custom';
single?: boolean;
logic?: {
dynamic: boolean;
};
tab?: any[];
};
setSelect(v: string | number, action?: Action, callback?: Function): void;
removeTab(v: string | number): void;
getSelect(): string | number;

1
dist/lib/component/allvaluechooser/combo.allvaluechooser.d.ts vendored

@ -1,6 +1,7 @@
import { AbstractAllValueChooser } from "./abstract.allvaluechooser";
export declare class AllValueChooserCombo extends AbstractAllValueChooser {
static xtype: string;
static EVENT_CONFIRM: string;
getAllValue(): any;
populate(...args: any[]): void;
}

10
dist/lib/index.d.ts vendored

@ -164,6 +164,10 @@ import { BlankIconTextItem } from './base/single/button/listitem/blankicontextit
import { Broadcasts, Layers } from "./base/base";
import { BroadcastController } from "./core/controller/controller.broadcast";
import { Pager } from "./base/pager/pager";
import { TimeInterval } from './widget/timeinterval/timeinterval';
import { DynamicDateTimePane } from './widget/datetimepane/datetimepane';
import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert';
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
OB: typeof OB;
Plugin: _Plugin;
@ -333,9 +337,13 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
AdaptiveLayout: typeof AdaptiveLayout;
HexColorChooserPopup: typeof HexColorChooserPopup;
BlankIconTextItem: typeof BlankIconTextItem;
TimeInterval: typeof TimeInterval;
DynamicDateTimePane: typeof DynamicDateTimePane;
SingleSelectInsertList: typeof SingleSelectInsertList;
MultiSelectTree: typeof MultiSelectTree;
}
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, BubbleCombo, Loader, ListPane, MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, SmallTextValueCombo, 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, 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, };
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, BubbleCombo, Loader, ListPane, MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, SmallTextValueCombo, 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, 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, };

25
dist/lib/shims-tsx.d.ts vendored

@ -1,7 +1,7 @@
declare const React: any;
interface UIProps {
width: number;
height: number;
width: number | string;
height: number | string;
top: number;
left: number;
bottom: number;
@ -12,9 +12,28 @@ interface UIProps {
bgap: number;
}
interface ElementClassProps<T> extends UIProps {
baseCls: string;
cls: string;
extraCls: string;
ref: (ref: T) => void;
listeners: {
eventName: string;
action: (...args: any[]) => any;
once?: boolean;
}[];
disabled: boolean;
invisible: boolean;
invalid: boolean;
attributes: {
[key: string]: any;
};
css: {
[key: string]: any;
};
tagName: string;
element: any;
beforeRender(callback: () => void): void;
beforeInit(callback: () => void): void;
render(): any;
}
declare namespace JSX {
interface IntrinsicElements {

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-5-18 9:20:20 PM */
/*! time: 2021-5-24 9:50:17 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1255);
/******/ return __webpack_require__(__webpack_require__.s = 1259);
/******/ })
/************************************************************************/
/******/ ({
@ -2916,7 +2916,7 @@ _.extend(BI, {
/***/ }),
/***/ 1113:
/***/ 1117:
/***/ (function(module, exports) {
BI.i18n = {
@ -3130,7 +3130,7 @@ BI.Req = {
/***/ }),
/***/ 1255:
/***/ 1259:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(91);
@ -3149,8 +3149,8 @@ __webpack_require__(97);
__webpack_require__(98);
__webpack_require__(108);
__webpack_require__(109);
__webpack_require__(1113);
__webpack_require__(1256);
__webpack_require__(1117);
__webpack_require__(1260);
__webpack_require__(110);
__webpack_require__(111);
module.exports = __webpack_require__(112);
@ -3158,7 +3158,7 @@ module.exports = __webpack_require__(112);
/***/ }),
/***/ 1256:
/***/ 1260:
/***/ (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",
"version": "2.0.20210518212123",
"version": "2.0.20210524095122",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

27
src/core/4.widget.js

@ -8,13 +8,18 @@
!(function () {
function callLifeHook (self, life) {
var hook = self.options[life] || self[life];
var hooks = [], hook;
hook = self[life];
if (hook) {
var hooks = BI.isArray(hook) ? hook : [hook];
BI.each(hooks, function (i, hook) {
hook.call(self);
});
hooks = hooks.concat(BI.isArray(hook) ? hook : [hook]);
}
hook = self.options[life];
if (hook) {
hooks = hooks.concat(BI.isArray(hook) ? hook : [hook]);
}
BI.each(hooks, function (i, hook) {
hook.call(self);
});
}
BI.Widget = BI.Widget || BI.inherit(BI.OB, {
@ -563,13 +568,19 @@
this.element.empty();
},
// 默认的populate方法就是干掉重来
// 默认的reset方法就是干掉重来
reset: function () {
this.purgeListeners();
// 还在异步状态的不需要执行reset
if (this.__async === true || this.__asking === true) {
return;
}
// this._isMounted = false;
// this.purgeListeners();
this.empty();
this._initCurrent();
this._init();
this._initRef();
this._mount();
// this._initRef();
},
_destroy: function () {

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

@ -85,19 +85,6 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, {
this.stroke(this.options.items);
},
stroke: function (items) {
this.options.items = items || [];
var self = this;
BI.each(items, function (i, item) {
if (item) {
if (!BI.isWidget(item) && !item.el) {
throw new Error("el must be exist");
}
self._addElement(i, item);
}
});
},
populate: function (items) {
BI.AbsoluteLayout.superclass.populate.apply(this, arguments);
this._mount();

11
typescript/base/combination/tab.ts

@ -6,6 +6,17 @@ export declare class Tab extends Widget {
static EVENT_CHANGE: string;
props: {
showIndex: any;
cardCreator: (v: any) => Obj;
direction?: 'top' | 'bottom' | 'left' | 'right' | 'custom'; // top, bottom, left, right, custom
single?: boolean; // 是不是单页面
logic?: {
dynamic: boolean;
};
tab?: any[];
}
setSelect(v: string | number, action?: Action, callback?: Function): void;
removeTab(v: string | number): void;

2
typescript/component/allvaluechooser/combo.allvaluechooser.ts

@ -3,6 +3,8 @@ import { AbstractAllValueChooser } from "./abstract.allvaluechooser";
export declare class AllValueChooserCombo extends AbstractAllValueChooser {
static xtype: string;
static EVENT_CONFIRM: string;
getAllValue(): any;
populate(...args: any[]): void;

12
typescript/index.ts

@ -164,6 +164,10 @@ import { BlankIconTextItem } from './base/single/button/listitem/blankicontextit
import { Broadcasts, Layers } from "./base/base";
import { BroadcastController } from "./core/controller/controller.broadcast";
import { Pager } from "./base/pager/pager";
import { TimeInterval } from './widget/timeinterval/timeinterval';
import { DynamicDateTimePane } from './widget/datetimepane/datetimepane';
import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert';
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -335,6 +339,10 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
AdaptiveLayout: typeof AdaptiveLayout;
HexColorChooserPopup: typeof HexColorChooserPopup;
BlankIconTextItem: typeof BlankIconTextItem;
TimeInterval: typeof TimeInterval;
DynamicDateTimePane: typeof DynamicDateTimePane;
SingleSelectInsertList: typeof SingleSelectInsertList;
MultiSelectTree: typeof MultiSelectTree;
}
export default {
@ -506,4 +514,8 @@ export {
AdaptiveLayout,
HexColorChooserPopup,
BlankIconTextItem,
TimeInterval,
DynamicDateTimePane,
SingleSelectInsertList,
MultiSelectTree,
};

Loading…
Cancel
Save