Browse Source

Merge branch 'master' of http://cloud.finedevelop.com:2015/scm/fui/fineui

# Conflicts:
#	dist/_fineui.min.js
#	dist/bundle.min.js
#	dist/fineui.min.js
master
windy 7 years ago
parent
commit
839d20366d
  1. 1
      .eslintrc
  2. 28
      demo/js/widget/downlist/demo.downlist.js
  3. 21
      dist/bundle.js
  4. 20
      dist/core.js
  5. 30
      dist/demo.js
  6. 0
      src/data/constant/attrs.js
  7. 0
      src/data/constant/colors.js
  8. 0
      src/data/constant/constant.js
  9. 0
      src/data/constant/enums.js
  10. 0
      src/data/constant/strings.js
  11. 11
      src/data/data.js
  12. 2
      src/data/pool/pool.buffer.js
  13. 2
      src/data/pool/pool.sharing.js
  14. 2
      src/data/req/req.js
  15. 3
      src/data/source/source.js
  16. 20
      utils/utils.js

1
.eslintrc

@ -149,7 +149,6 @@
"$": true, "$": true,
"WebUI": true, "WebUI": true,
"BI": true, "BI": true,
"BICst": true,
"Data": true, "Data": true,
"Fix": true, "Fix": true,
"module": true "module": true

28
demo/js/widget/downlist/demo.downlist.js

@ -1,31 +1,3 @@
BICst.CONF = {};
BICst.CONF.GROUP = {};
BICst.CONF.GROUP.NUMBER = {};
BICst.CONF.GROUP.NUMBER = {};
BICst.CONF.GROUP.NUMBER.GROUP_BY_VALUE = 1;
BICst.CONF.GROUP.NUMBER.CUSTOM_NUMBER_GROUP = 2;
BICst.CONF.GROUP.NUMBER.SUM = 3;
BICst.CONF.GROUP.NUMBER.AVG = 4;
BICst.CONF.GROUP.NUMBER.MEDIAN = 5;
BICst.CONF.GROUP.NUMBER.MAX = 6;
BICst.CONF.GROUP.NUMBER.MIN = 7;
BICst.CONF.GROUP.NUMBER.STANDARD_DEVIATION = 8;
BICst.CONF.GROUP.NUMBER.VARIANCE = 9;
BICst.CONF.GROUP.NUMBER.COUNT = 10;
BICst.CONF.GROUP.NUMBER.RECORD_COUNT = 11;
BICst.CONF.GROUP.NUMBER.NONE = 12;
BICst.CONF.GROUP.NUMBER.PERIOD = 13;
BICst.CONF.GROUP.NUMBER.RING = 14;
BICst.CONF.GROUP.NUMBER.PERIOD_RATE = 15;
BICst.CONF.GROUP.NUMBER.RING_RATE = 16;
BICst.CONF.GROUP.NUMBER.YEAR = 17;
BICst.CONF.GROUP.NUMBER.QUARTER = 18;
BICst.CONF.GROUP.NUMBER.MONTH = 19;
BICst.CONF.GROUP.NUMBER.WEEK = 20;
BICst.CONF.GROUP.NUMBER.WEEKDAY = 21;
BICst.CONF.GROUP.NUMBER.RENAME = 22;
BICst.CONF.GROUP.NUMBER.DELETE = 23;
Demo.Downlist = BI.inherit(BI.Widget, { Demo.Downlist = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "demo-downlist" baseCls: "demo-downlist"

21
dist/bundle.js vendored

@ -33841,17 +33841,6 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, {
} }
}); });
BI.shortcut("bi.vertical_center", BI.VerticalCenterLayout);/** BI.shortcut("bi.vertical_center", BI.VerticalCenterLayout);/**
* 保存数据将js里面用到的常量数据都分离
*
*/
BI.Data = Data = {};
/**
* 存放bi里面通用的一些常量
* @type {{}}
*/
Data.Constant = BICst = {};
/**
* 缓冲池 * 缓冲池
* @type {{Buffer: {}}} * @type {{Buffer: {}}}
*/ */
@ -33860,7 +33849,7 @@ Data.Constant = BICst = {};
var Buffer = {}; var Buffer = {};
var MODE = false;// 设置缓存模式为关闭 var MODE = false;// 设置缓存模式为关闭
Data.BufferPool = { BI.BufferPool = {
put: function (name, cache) { put: function (name, cache) {
if (BI.isNotNull(Buffer[name])) { if (BI.isNotNull(Buffer[name])) {
throw new Error("Buffer Pool has the key already!"); throw new Error("Buffer Pool has the key already!");
@ -33879,7 +33868,7 @@ Data.Constant = BICst = {};
(function () { (function () {
var _Shared = {}; var _Shared = {};
Data.SharingPool = { BI.SharingPool = {
_Shared: _Shared, _Shared: _Shared,
put: function (name, shared) { put: function (name, shared) {
_Shared[name] = shared; _Shared[name] = shared;
@ -33902,12 +33891,10 @@ Data.Constant = BICst = {};
delete _Shared[key]; delete _Shared[key];
} }
}; };
})();Data.Req = { })();BI.Req = {
}; };
Data.Source = BISource = { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
};function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
(function (global, factory) { (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : factory(global.Fix = global.Fix || {}); typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : factory(global.Fix = global.Fix || {});

20
dist/core.js vendored

@ -33841,17 +33841,6 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, {
} }
}); });
BI.shortcut("bi.vertical_center", BI.VerticalCenterLayout);/** BI.shortcut("bi.vertical_center", BI.VerticalCenterLayout);/**
* 保存数据将js里面用到的常量数据都分离
*
*/
BI.Data = Data = {};
/**
* 存放bi里面通用的一些常量
* @type {{}}
*/
Data.Constant = BICst = {};
/**
* 缓冲池 * 缓冲池
* @type {{Buffer: {}}} * @type {{Buffer: {}}}
*/ */
@ -33860,7 +33849,7 @@ Data.Constant = BICst = {};
var Buffer = {}; var Buffer = {};
var MODE = false;// 设置缓存模式为关闭 var MODE = false;// 设置缓存模式为关闭
Data.BufferPool = { BI.BufferPool = {
put: function (name, cache) { put: function (name, cache) {
if (BI.isNotNull(Buffer[name])) { if (BI.isNotNull(Buffer[name])) {
throw new Error("Buffer Pool has the key already!"); throw new Error("Buffer Pool has the key already!");
@ -33879,7 +33868,7 @@ Data.Constant = BICst = {};
(function () { (function () {
var _Shared = {}; var _Shared = {};
Data.SharingPool = { BI.SharingPool = {
_Shared: _Shared, _Shared: _Shared,
put: function (name, shared) { put: function (name, shared) {
_Shared[name] = shared; _Shared[name] = shared;
@ -33902,9 +33891,6 @@ Data.Constant = BICst = {};
delete _Shared[key]; delete _Shared[key];
} }
}; };
})();Data.Req = { })();BI.Req = {
}; };
Data.Source = BISource = {
};

30
dist/demo.js vendored

@ -12281,35 +12281,7 @@ Demo.CustomDateTime = BI.inherit(BI.Widget, {
}; };
} }
}); });
BI.shortcut("demo.date_time", Demo.CustomDateTime);BICst.CONF = {}; BI.shortcut("demo.date_time", Demo.CustomDateTime);Demo.Downlist = BI.inherit(BI.Widget, {
BICst.CONF.GROUP = {};
BICst.CONF.GROUP.NUMBER = {};
BICst.CONF.GROUP.NUMBER = {};
BICst.CONF.GROUP.NUMBER.GROUP_BY_VALUE = 1;
BICst.CONF.GROUP.NUMBER.CUSTOM_NUMBER_GROUP = 2;
BICst.CONF.GROUP.NUMBER.SUM = 3;
BICst.CONF.GROUP.NUMBER.AVG = 4;
BICst.CONF.GROUP.NUMBER.MEDIAN = 5;
BICst.CONF.GROUP.NUMBER.MAX = 6;
BICst.CONF.GROUP.NUMBER.MIN = 7;
BICst.CONF.GROUP.NUMBER.STANDARD_DEVIATION = 8;
BICst.CONF.GROUP.NUMBER.VARIANCE = 9;
BICst.CONF.GROUP.NUMBER.COUNT = 10;
BICst.CONF.GROUP.NUMBER.RECORD_COUNT = 11;
BICst.CONF.GROUP.NUMBER.NONE = 12;
BICst.CONF.GROUP.NUMBER.PERIOD = 13;
BICst.CONF.GROUP.NUMBER.RING = 14;
BICst.CONF.GROUP.NUMBER.PERIOD_RATE = 15;
BICst.CONF.GROUP.NUMBER.RING_RATE = 16;
BICst.CONF.GROUP.NUMBER.YEAR = 17;
BICst.CONF.GROUP.NUMBER.QUARTER = 18;
BICst.CONF.GROUP.NUMBER.MONTH = 19;
BICst.CONF.GROUP.NUMBER.WEEK = 20;
BICst.CONF.GROUP.NUMBER.WEEKDAY = 21;
BICst.CONF.GROUP.NUMBER.RENAME = 22;
BICst.CONF.GROUP.NUMBER.DELETE = 23;
Demo.Downlist = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "demo-downlist" baseCls: "demo-downlist"
}, },

0
src/data/constant/attrs.js

0
src/data/constant/colors.js

0
src/data/constant/constant.js

0
src/data/constant/enums.js

0
src/data/constant/strings.js

11
src/data/data.js

@ -1,11 +0,0 @@
/**
* 保存数据将js里面用到的常量数据都分离
*
*/
BI.Data = Data = {};
/**
* 存放bi里面通用的一些常量
* @type {{}}
*/
Data.Constant = BICst = {};

2
src/data/pool/pool.buffer.js

@ -7,7 +7,7 @@
var Buffer = {}; var Buffer = {};
var MODE = false;// 设置缓存模式为关闭 var MODE = false;// 设置缓存模式为关闭
Data.BufferPool = { BI.BufferPool = {
put: function (name, cache) { put: function (name, cache) {
if (BI.isNotNull(Buffer[name])) { if (BI.isNotNull(Buffer[name])) {
throw new Error("Buffer Pool has the key already!"); throw new Error("Buffer Pool has the key already!");

2
src/data/pool/pool.sharing.js

@ -5,7 +5,7 @@
(function () { (function () {
var _Shared = {}; var _Shared = {};
Data.SharingPool = { BI.SharingPool = {
_Shared: _Shared, _Shared: _Shared,
put: function (name, shared) { put: function (name, shared) {
_Shared[name] = shared; _Shared[name] = shared;

2
src/data/req/req.js

@ -1,3 +1,3 @@
Data.Req = { BI.Req = {
}; };

3
src/data/source/source.js

@ -1,3 +0,0 @@
Data.Source = BISource = {
};

20
utils/utils.js

@ -16278,17 +16278,6 @@ BI.Region.prototype = {
return pos; return pos;
} }
};/** };/**
* 保存数据将js里面用到的常量数据都分离
*
*/
BI.Data = Data = {};
/**
* 存放bi里面通用的一些常量
* @type {{}}
*/
Data.Constant = BICst = {};
/**
* 缓冲池 * 缓冲池
* @type {{Buffer: {}}} * @type {{Buffer: {}}}
*/ */
@ -16297,7 +16286,7 @@ Data.Constant = BICst = {};
var Buffer = {}; var Buffer = {};
var MODE = false;// 设置缓存模式为关闭 var MODE = false;// 设置缓存模式为关闭
Data.BufferPool = { BI.BufferPool = {
put: function (name, cache) { put: function (name, cache) {
if (BI.isNotNull(Buffer[name])) { if (BI.isNotNull(Buffer[name])) {
throw new Error("Buffer Pool has the key already!"); throw new Error("Buffer Pool has the key already!");
@ -16316,7 +16305,7 @@ Data.Constant = BICst = {};
(function () { (function () {
var _Shared = {}; var _Shared = {};
Data.SharingPool = { BI.SharingPool = {
_Shared: _Shared, _Shared: _Shared,
put: function (name, shared) { put: function (name, shared) {
_Shared[name] = shared; _Shared[name] = shared;
@ -16339,9 +16328,6 @@ Data.Constant = BICst = {};
delete _Shared[key]; delete _Shared[key];
} }
}; };
})();Data.Req = { })();BI.Req = {
}; };
Data.Source = BISource = {
};
Loading…
Cancel
Save