Browse Source

auto upgrade version to 2.0.20201123105156

es6
data 4 years ago
parent
commit
829bb05594
  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. 850
      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/bundle.min.css
  12. 4
      dist/bundle.min.js
  13. 2
      dist/bundle.min.js.map
  14. 2
      dist/demo.css
  15. 1176
      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. 852
      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. 206
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 16
      dist/utils.js
  29. 2
      dist/utils.js.map
  30. 4
      dist/utils.min.js
  31. 2
      dist/utils.min.js.map
  32. 2
      package.json

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

850
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/bundle.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.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

1176
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

852
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

206
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-11-20 23:10:26 */
/*! time: 2020-11-23 10:50:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1264);
/******/ return __webpack_require__(__webpack_require__.s = 1265);
/******/ })
/************************************************************************/
/******/ ([
@ -8885,7 +8885,7 @@ _.extend(BI, {
}
};
BI.getContext = BI.getContext || function (type, config) {
BI.getResource = BI.getResource || function (type, config) {
if (constantInjection[type]) {
return BI.Constants.getConstant(type);
}
@ -66682,19 +66682,182 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);
/***/ }),
/* 689 */
/***/ (function(module, exports) {
;(function () {
var contexts = {};
var WORKER;
BI.useWorker = function (wk) {
WORKER = wk;
var _init = BI.Widget.prototype._init;
BI.Widget.prototype._init = function () {
this.$destroyWorker = createWorker.call(this);
try {
_init.apply(this, arguments);
} catch (e) {
console.error(e);
}
};
var _initRender = BI.Widget.prototype._initRender;
var postMessage = function (data) {
switch (data.eventType) {
case "create":
this.model = data.msg;
_initRender.call(this);
break;
case "watch":
var watchArgs = data.args;
this.watch[data.currentWatchType].apply(this, watchArgs);
break;
}
};
BI.Widget.prototype._initRender = function () {
if (WORKER && this._worker) {
this.__asking = true;
this.__async = true;
} else {
_initRender.apply(this, arguments);
}
};
var unMount = BI.Widget.prototype.__d;
BI.Widget.prototype.__d = function () {
this.$destroyWorker && this.$destroyWorker();
try {
unMount.apply(this, arguments);
} catch (e) {
console.error(e);
}
};
if (WORKER) {
WORKER.addEventListener("message", function (e) {
var data = e.data;
postMessage.apply(contexts[data.name], [data]);
}, false);
}
};
function createWorker () {
var self = this;
if (this._worker) {
var name = this.getName();
var modelType = this._worker();
var options;
if (BI.isArray(modelType)) {
options = modelType[1];
modelType = modelType[0];
}
if (WORKER) {
contexts[name] = this;
WORKER.postMessage({
type: modelType,
name: name,
eventType: "create",
options: options,
watches: BI.map(this.watch, function (key) {
return key;
})
});
var store = {};
this.store = new Proxy(store, {
get: function (target, key) {
return function () {
WORKER.postMessage({
type: modelType,
name: name,
eventType: "action",
action: key,
args: [].slice.call(arguments)
});
};
},
set: function (target, key, value) {
return Reflect.set(target, key, value);
}
});
return function () {
delete contexts[name];
WORKER.postMessage({
type: modelType,
name: name,
eventType: "destroy"
});
};
} else {
this.store = BI.Models.getModel(modelType, options);
this.store && (this.store._widget = this);
if (this.store instanceof Fix.Model) {
this.model = this.store.model;
} else {
this.model = this.store;
}
initWatch(this, this.watch);
return function () {
this.store && BI.isFunction(this.store.destroy) && this.store.destroy();
BI.each(this._watchers, function (i, unwatches) {
unwatches = BI.isArray(unwatches) ? unwatches : [unwatches];
BI.each(unwatches, function (j, unwatch) {
unwatch();
});
});
this._watchers && (this._watchers = []);
if (this.store) {
this.store._parent && (this.store._parent = null);
this.store._widget && (this.store._widget = null);
this.store = null;
}
};
}
}
}
function initWatch (vm, watch) {
vm._watchers || (vm._watchers = []);
for (var key in watch) {
var handler = watch[key];
if (BI.isArray(handler)) {
for (var i = 0; i < handler.length; i++) {
vm._watchers.push(createWatcher(vm, key, handler[i]));
}
} else {
vm._watchers.push(createWatcher(vm, key, handler));
}
}
}
function createWatcher (vm, keyOrFn, cb, options) {
if (BI.isPlainObject(cb)) {
options = cb;
cb = cb.handler;
}
options = options || {};
return Fix.watch(vm.model, keyOrFn, _.bind(cb, vm), BI.extend(options, {
store: vm.store
}));
}
}());
/***/ }),
/* 690 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _index = _interopRequireDefault(__webpack_require__(690));
var _index = _interopRequireDefault(__webpack_require__(691));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
BI.extend(BI, _index["default"]);
/***/ }),
/* 690 */
/* 691 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -66707,7 +66870,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports["default"] = void 0;
var decorator = _interopRequireWildcard(__webpack_require__(691));
var decorator = _interopRequireWildcard(__webpack_require__(692));
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
@ -66719,7 +66882,7 @@ var _default = {
exports["default"] = _default;
/***/ }),
/* 691 */
/* 692 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -66930,7 +67093,6 @@ type UnionToTuple<U> = UnionToTupleRecursively<U, []>;
exports.Model = Model;
/***/ }),
/* 692 */,
/* 693 */,
/* 694 */,
/* 695 */,
@ -66985,14 +67147,15 @@ exports.Model = Model;
/* 744 */,
/* 745 */,
/* 746 */,
/* 747 */
/* 747 */,
/* 748 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(748);
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(749);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(13)))
/***/ }),
/* 748 */
/* 749 */
/***/ (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"); } }
@ -68464,12 +68627,12 @@ exports.Model = Model;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(52).setImmediate))
/***/ }),
/* 749 */,
/* 750 */,
/* 751 */,
/* 752 */,
/* 753 */,
/* 754 */
/* 754 */,
/* 755 */
/***/ (function(module, exports) {
;(function () {
@ -68765,7 +68928,6 @@ exports.Model = Model;
/***/ }),
/* 755 */,
/* 756 */,
/* 757 */,
/* 758 */,
@ -68977,13 +69139,13 @@ exports.Model = Model;
/* 964 */,
/* 965 */,
/* 966 */,
/* 967 */
/* 967 */,
/* 968 */
/***/ (function(module, exports) {
/***/ }),
/* 968 */,
/* 969 */,
/* 970 */,
/* 971 */,
@ -69279,7 +69441,8 @@ exports.Model = Model;
/* 1261 */,
/* 1262 */,
/* 1263 */,
/* 1264 */
/* 1264 */,
/* 1265 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(101);
@ -69383,7 +69546,7 @@ __webpack_require__(371);
__webpack_require__(131);
__webpack_require__(132);
__webpack_require__(133);
__webpack_require__(747);
__webpack_require__(748);
__webpack_require__(372);
__webpack_require__(373);
__webpack_require__(374);
@ -69759,9 +69922,10 @@ __webpack_require__(685);
__webpack_require__(686);
__webpack_require__(687);
__webpack_require__(688);
__webpack_require__(754);
__webpack_require__(967);
module.exports = __webpack_require__(689);
__webpack_require__(755);
__webpack_require__(689);
__webpack_require__(968);
module.exports = __webpack_require__(690);
/***/ })

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

16
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-11-20 23:10:26 */
/*! time: 2020-11-23 10:50:28 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1090);
/******/ return __webpack_require__(__webpack_require__.s = 1091);
/******/ })
/************************************************************************/
/******/ ({
@ -4309,7 +4309,7 @@ if (!_global.BI) {
/***/ }),
/***/ 1090:
/***/ 1091:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(101);
@ -4339,8 +4339,8 @@ __webpack_require__(118);
__webpack_require__(119);
__webpack_require__(120);
__webpack_require__(121);
__webpack_require__(755);
__webpack_require__(1091);
__webpack_require__(756);
__webpack_require__(1092);
__webpack_require__(131);
__webpack_require__(132);
module.exports = __webpack_require__(133);
@ -4348,7 +4348,7 @@ module.exports = __webpack_require__(133);
/***/ }),
/***/ 1091:
/***/ 1092:
/***/ (function(module, exports) {
/**
@ -8618,7 +8618,7 @@ _.extend(BI, {
}
};
BI.getContext = BI.getContext || function (type, config) {
BI.getResource = BI.getResource || function (type, config) {
if (constantInjection[type]) {
return BI.Constants.getConstant(type);
}
@ -9172,7 +9172,7 @@ process.umask = function () {
/***/ }),
/***/ 755:
/***/ 756:
/***/ (function(module, exports) {
BI.i18n = {

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.20201120231157",
"version": "2.0.20201123105156",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

Loading…
Cancel
Save