Browse Source

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

es6
iapyang 3 years ago
parent
commit
6fcfaf7acf
  1. 1
      changelog.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. 1592
      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.modern.min.css
  11. 4
      dist/2.0/fineui.modern.min.js
  12. 2
      dist/2.0/fineui.modern.min.js.map
  13. 2
      dist/2.0/fineui_without_normalize.css
  14. 2
      dist/2.0/fineui_without_normalize.min.css
  15. 2
      dist/core.css
  16. 1562
      dist/core.js
  17. 2
      dist/core.js.map
  18. 2
      dist/demo.css
  19. 1926
      dist/demo.js
  20. 2
      dist/demo.js.map
  21. 2
      dist/fineui.css
  22. 4
      dist/fineui.ie.min.js
  23. 2
      dist/fineui.ie.min.js.map
  24. 1582
      dist/fineui.js
  25. 2
      dist/fineui.js.map
  26. 2
      dist/fineui.min.css
  27. 4
      dist/fineui.min.js
  28. 2
      dist/fineui.min.js.map
  29. 2
      dist/fineui.modern.min.css
  30. 4
      dist/fineui.modern.min.js
  31. 2
      dist/fineui.modern.min.js.map
  32. 2
      dist/fineui.proxy.css
  33. 686
      dist/fineui.proxy.js
  34. 2
      dist/fineui.proxy.js.map
  35. 2
      dist/fineui.proxy.min.css
  36. 4
      dist/fineui.proxy.min.js
  37. 2
      dist/fineui.proxy.min.js.map
  38. 609
      dist/fineui_without_jquery_polyfill.js
  39. 2
      dist/fineui_without_jquery_polyfill.js.map
  40. 2
      dist/fineui_without_normalize.min.css
  41. 2
      dist/font.css
  42. BIN
      dist/font/iconfont.eot
  43. 8
      dist/font/iconfont.svg
  44. BIN
      dist/font/iconfont.ttf
  45. BIN
      dist/font/iconfont.woff
  46. BIN
      dist/font/iconfont.woff2
  47. 7
      dist/lib/base/single/html/html.d.ts
  48. 17
      dist/lib/case/pager/pager.direction.d.ts
  49. 4
      dist/lib/index.d.ts
  50. 12
      dist/lib/widget/dynamicdatetime/dynamicdatetime.combo.d.ts
  51. 2
      dist/resource.css
  52. 14
      dist/utils.js
  53. 2
      dist/utils.js.map
  54. 4
      dist/utils.min.js
  55. 2
      dist/utils.min.js.map
  56. 190
      examples/dev.html
  57. 57
      examples/effect.html
  58. 73
      examples/resize.html
  59. 66
      examples/style.html
  60. 2
      package.json
  61. 11
      src/base/collection/collection.js
  62. 3
      src/base/combination/combo.js
  63. 3
      src/base/combination/expander.js
  64. 3
      src/base/combination/group.button.js
  65. 3
      src/base/combination/group.combo.js
  66. 3
      src/base/combination/loader.js
  67. 3
      src/base/combination/searcher.js
  68. 3
      src/base/combination/switcher.js
  69. 4
      src/base/combination/tree.button.js
  70. 49
      src/base/grid/grid.js
  71. 3
      src/base/layer/layer.popup.js
  72. 3
      src/base/layer/layer.searcher.js
  73. 4
      src/base/pager/pager.js
  74. 4
      src/base/single/a/a.js
  75. 4
      src/base/single/bar/bar.loading.js
  76. 3
      src/base/single/button/buttons/button.icon.js
  77. 3
      src/base/single/button/buttons/button.image.js
  78. 39
      src/base/single/button/buttons/button.js
  79. 3
      src/base/single/button/buttons/button.text.js
  80. 4
      src/base/single/button/listitem/blankiconicontextitem.js
  81. 4
      src/base/single/button/listitem/blankicontexticonitem.js
  82. 4
      src/base/single/button/listitem/blankicontextitem.js
  83. 4
      src/base/single/button/listitem/icontexticonitem.js
  84. 4
      src/base/single/button/listitem/icontextitem.js
  85. 4
      src/base/single/button/listitem/texticonitem.js
  86. 4
      src/base/single/button/listitem/textitem.js
  87. 4
      src/base/single/button/node/icontexticonnode.js
  88. 4
      src/base/single/button/node/icontextnode.js
  89. 4
      src/base/single/button/node/texticonnode.js
  90. 4
      src/base/single/button/node/textnode.js
  91. 3
      src/base/single/editor/editor.js
  92. 3
      src/base/single/editor/editor.multifile.js
  93. 4
      src/base/single/icon/icon.js
  94. 3
      src/base/single/iframe/iframe.js
  95. 3
      src/base/single/input/file.js
  96. 3
      src/base/single/input/input.js
  97. 4
      src/base/single/input/radio/radio.image.js
  98. 4
      src/base/single/label/abstract.label.js
  99. 8
      src/base/single/label/icon.label.js
  100. 4
      src/base/single/tip/tip.toast.js
  101. Some files were not shown because too many files have changed in this diff Show More

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2021-09)
- 支持自动watch
- 支持h函数传递left、right,优化left_right_vertical_adapt布局的jsx写法
- 新增bi.virtual_group_list组件

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

1592
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.modern.min.css vendored

File diff suppressed because one or more lines are too long

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

@ -1,2 +1,2 @@
/*! time: 2021-9-16 17:31:56 */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1450)}({1192:function(e,n,t){},1450:function(e,n,t){t(1192),t(1451),t(1452),t(1453),t(1454),e.exports=t(1455)},1451:function(e,n,t){},1452:function(e,n,t){},1453:function(e,n,t){},1454:function(e,n,t){},1455:function(e,n,t){}});
/*! time: 2021-9-28 11:11:00 */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1451)}({1193:function(e,n,t){},1451:function(e,n,t){t(1193),t(1452),t(1453),t(1454),t(1455),e.exports=t(1456)},1452:function(e,n,t){},1453:function(e,n,t){},1454:function(e,n,t){},1455:function(e,n,t){},1456:function(e,n,t){}});

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

@ -1 +1 @@
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,YAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,GAIjBlC,EAAoBA,EAAoBmC,EAAI,M","file":"2.0/fineui.modern.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1450);\n"],"sourceRoot":""}
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,YAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,GAIjBlC,EAAoBA,EAAoBmC,EAAI,M","file":"2.0/fineui.modern.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1451);\n"],"sourceRoot":""}

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

1562
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

1926
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

1582
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.modern.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.modern.min.js vendored

@ -1,2 +1,2 @@
/*! time: 2021-9-16 17:31:56 */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1441)}({1192:function(e,n,t){},1441:function(e,n,t){t(1192),t(1442),t(1443),t(1444),t(1445),e.exports=t(1446)},1442:function(e,n,t){},1443:function(e,n,t){},1444:function(e,n,t){},1445:function(e,n,t){},1446:function(e,n,t){}});
/*! time: 2021-9-28 11:11:00 */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1442)}({1193:function(e,n,t){},1442:function(e,n,t){t(1193),t(1443),t(1444),t(1445),t(1446),e.exports=t(1447)},1443:function(e,n,t){},1444:function(e,n,t){},1445:function(e,n,t){},1446:function(e,n,t){},1447:function(e,n,t){}});

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

@ -1 +1 @@
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,YAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,GAIjBlC,EAAoBA,EAAoBmC,EAAI,M","file":"fineui.modern.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1441);\n"],"sourceRoot":""}
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAgB,YAC/C,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,GAIjBlC,EAAoBA,EAAoBmC,EAAI,M","file":"fineui.modern.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1442);\n"],"sourceRoot":""}

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

686
dist/fineui.proxy.js vendored

File diff suppressed because it is too large Load Diff

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

609
dist/fineui_without_jquery_polyfill.js vendored

File diff suppressed because it is too large Load Diff

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

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

BIN
dist/font/iconfont.eot vendored

Binary file not shown.

8
dist/font/iconfont.svg vendored

@ -14,6 +14,14 @@
/>
<missing-glyph />
<glyph glyph-name="WeLinkguanli" unicode="&#59503;" d="M496 768c220.608 0 400-172.16 400-385.152a32 32 0 1 0-64 0C832 560 681.856 704 496 704S160 559.936 160 382.848c0-65.28 20.416-127.488 57.856-180.224l9.728-12.928 6.912-8.704-0.064-113.792 86.784 14.208 39.744 7.168 8.512-3.264c15.616-6.08 31.616-11.008 48.064-14.72a32 32 0 1 0-14.272-62.464 408.96 408.96 0 0 0-38.336 10.752l-9.728 3.584-35.392-6.208-99.584-16-4.352-0.256a45.632 45.632 0 0 0-44.992 39.936l-0.384 6.208-0.064 113.088-3.968 5.248a373.824 373.824 0 0 0-70.016 200.192L96 382.848C96 595.904 275.392 768 496 768zM864 255.808a128 128 0 0 0 9.6-255.616l-9.6-0.384h-31.488a32 32 0 0 0-5.76 63.488l5.76 0.512H864a64 64 0 0 1 7.488 127.616L864 191.808h-32a32 32 0 0 0-5.76 63.488l5.76 0.512h32z m-190.592 0a32 32 0 0 0 5.76-63.488l-5.76-0.512H640a64 64 0 0 1-7.488-127.552l7.488-0.448h34.816a32 32 0 0 0 5.76-63.488l-5.76-0.512H640a128 128 0 0 0-9.6 255.68l9.6 0.32h33.408zM640 159.808m32 0l128 0q32 0 32-32l0 0q0-32-32-32l-128 0q-32 0-32 32l0 0q0 32 32 32Z" horiz-adv-x="1088" />
<glyph glyph-name="shujupingtai" unicode="&#59502;" d="M512 613.802667l158.378667 68.565333v42.368l-158.122667 83.114667-158.08-83.114667v-42.410667zM715.349333 377.429333V491.818667L579.754667 557.226667v41.088l180.949333 71.082666L896 598.314667v-172.544l-135.253333-70.314667zM308.650667 377.429333V491.818667l135.594666 65.408v41.088L263.253333 669.397333 128 598.314667v-172.544l135.253333-70.314667zM851.285333 341.333333l44.714667-11.690666v-160.426667l-134.912-69.845333-45.738667 17.024-0.042666 146.432zM170.752 341.333333L128 329.642667v-160.426667l134.912-70.144 45.738667 17.066667 0.042666 158.208zM512 174.805333l-122.965333 59.690667-35.157334-20.266667 0.042667-163.2L512-32.170667l158.122667 84.010667V206.933333l-35.2 16.853334zM670.122667 296.704v172.458667L512 547.669333l-158.122667-78.421333v-161.877333L512 223.786667l158.122667 83.626666z" horiz-adv-x="1024" />
<glyph glyph-name="a-customapp" unicode="&#59501;" d="M999.68 318.208a38.4 38.4 0 0 0 1.024-54.336l-349.76-362.176-136.448-4.672-1.664 138.048 349.696 362.24a38.4 38.4 0 0 0 54.336 0.896l82.88-80z m-44.672-27.904l-64.448 62.208-326.272-337.856 0.768-64.576 63.488 2.176 326.4 338.048zM837.12 320l92.16-88.96-44.48-46.016-92.16 88.96zM672 864a160 160 0 0 0 159.68-149.504L832 704v-291.264a32 32 0 0 0-63.488-5.76L768 412.8V704a96 96 0 0 1-86.784 95.552L672 800h-384a96 96 0 0 1-95.552-86.784L192 704v-640a96 96 0 0 1 86.784-95.552l9.216-0.448h125.888a32 32 0 0 0 5.76-63.488l-5.76-0.512H288a160 160 0 0 0-159.68 149.504L128 64V704A160 160 0 0 0 277.504 863.68L288 864h384zM157.888 226.112h416a32 32 0 0 0 0-64h-416v64zM477.888 130.112a64 64 0 0 0 54.08-29.76l-44.736-44.736-4.864-53.248-4.48-0.256a64 64 0 0 0-63.616 56.576l-0.384 7.424a64 64 0 0 0 64 64z" horiz-adv-x="1024" />
<glyph glyph-name="a-customappfenfa" unicode="&#59500;" d="M256 160V704H160A96 96 0 0 1 64 608v-576A96 96 0 0 1 160-64h576a96 96 0 0 1 96 96V128H288l-5.632 0.384c-14.08 1.664-26.368 15.36-26.368 31.616zM160 640H192v-480a96 96 0 0 1 84.864-95.36l9.28-0.64H768v-32a32 32 0 0 0-32-32h-576a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32zM864 832h-576A96 96 0 0 1 192 736v-576A96 96 0 0 1 288 64h576a96 96 0 0 1 96 96v576A96 96 0 0 1 864 832z m-576-64h576a32 32 0 0 0 32-32v-576a32 32 0 0 0-32-32h-576a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32zM650.048 464.448L446.4 260.8a32 32 0 0 0-45.248 45.248L604.8 509.696l45.248-45.248zM761.792 607.552l-18.752-206.4a12.8 12.8 0 0 0-21.76-7.872L533.504 580.928a12.8 12.8 0 0 0 7.936 21.76l206.4 18.816a12.8 12.8 0 0 0 13.888-13.952z" horiz-adv-x="1024" />
<glyph glyph-name="xunijiedian" unicode="&#59499;" d="M512 607.99972a223.99972 223.99972 0 1 1 0-447.99944 223.99972 223.99972 0 0 1 0 447.99944z m0-63.99992a159.9998 159.9998 0 1 0 0-319.9996 159.9998 159.9998 0 0 0 0 319.9996zM207.232381 55.68041A446.207442 446.207442 0 0 1 512-63.99944a445.759443 445.759443 0 0 1 255.99968 80.3199l15.74398 11.455985 38.847952-50.879936A509.823363 509.823363 0 0 0 512-127.99936a510.079362 510.079362 0 0 0-333.247583 123.263846l-15.103982 13.439983 43.519946 46.975941zM886.719532 732.799564A510.207362 510.207362 0 0 0 1023.99936 384a509.759363 509.759363 0 0 0-93.247883-294.655632l-12.415985-16.831979-50.751936 38.911952A445.823443 445.823443 0 0 1 959.99944 384c0 108.159865-38.399952 210.175737-106.879866 290.431637l-13.183984 14.847981 46.783942 43.583946zM106.688507 696.959609l50.623936-39.167951A445.823443 445.823443 0 0 1 64.00056 384c0-79.551901 20.735974-156.031805 59.519926-223.231721l10.047987-16.639979-54.015932-34.303957A509.695363 509.695363 0 0 0 0.00064 384c0 114.815856 37.951953 223.93572 106.687867 312.895609zM512 895.99936c90.687887 0 177.919778-23.67997 254.719682-67.839915l17.599978-10.495987-34.111958-54.207932A445.695443 445.695443 0 0 1 512 831.99944a445.759443 445.759443 0 0 1-255.99968-80.3199l-15.74398-11.519985-38.847952 50.943936A509.823363 509.823363 0 0 0 512 895.99936zM1023.99936 22.592452V-127.99936h-152.511809v63.99992H959.99944v86.591892h63.99992zM64.00056 24.32045V-63.99944h87.231891v-63.99992H0.00064v152.25581h63.99992zM156.416444 895.99936v-63.99992H64.00056v-95.551881H0.00064V895.99936h156.415804zM1023.99936 895.99936v-158.335802h-63.99992V831.99944h-93.759883V895.99936H1023.99936z" horiz-adv-x="1024" />
<glyph glyph-name="zhongxinxuanze" unicode="&#59498;" d="M896 832a64 64 0 0 0 64-64v-512c-4.992-15.616-15.04-23.424-30.336-23.424a32.896 32.896 0 0 0-29.888 17.216l-3.2 6.208H896V768H128v-768h512v-1.6c16.576-4.032 24.832-14.272 24.832-30.72 0-14.4-6.4-24.32-19.008-29.632L640-64H128a64 64 0 0 0-64 64V768a64 64 0 0 0 64 64h768zM452.288 526.72v-82.048H628.48c14.848 0 28.992-7.04 37.952-18.88l128.64-342.464 118.08-0.256c26.304-0.064 37.504-17.92 37.504-38.336 0-20.352-11.328-37.632-37.632-37.632l-141.76 0.384a42.24 42.24 0 0 0-41.6 28.864c-27.84 73.856-69.44 184.64-124.928 332.352H452.288v-74.048c0-25.6-27.264-40-46.08-24.32l-60.928 50.944-77.888 65.024a32.32 32.32 0 0 0 0 48.64l77.888 65.088 60.928 50.944c18.816 15.68 46.08 1.28 46.08-24.32z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 418 KiB

After

Width:  |  Height:  |  Size: 421 KiB

BIN
dist/font/iconfont.ttf vendored

Binary file not shown.

BIN
dist/font/iconfont.woff vendored

Binary file not shown.

BIN
dist/font/iconfont.woff2 vendored

Binary file not shown.

7
dist/lib/base/single/html/html.d.ts vendored

@ -1,6 +1,13 @@
import { Single } from "../single";
export declare class Html extends Single {
static xtype: string;
props: {
text?: string;
textAlign?: "left" | "center" | "right";
whiteSpace?: "nowrap" | "normal";
lineHeight?: null | number;
highLight?: boolean;
} & Single['props'];
doHighLight(): void;
unHighLight(): void;
setValue(v: string): void;

17
dist/lib/case/pager/pager.direction.d.ts vendored

@ -0,0 +1,17 @@
import { Widget } from "../../core/widget";
export declare class DirectionPager extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
getVPage(): number;
getHPage(): number;
setVPage(v: number): void;
setHPage(v: number): void;
hasVPrev(): boolean;
hasVNext(): boolean;
hasHPrev(): boolean;
hasHNext(): boolean;
setHPagerVisible(v: boolean): void;
setVPagerVisible(v: boolean): void;
clear(): void;
populate(): void;
}

4
dist/lib/index.d.ts vendored

@ -131,6 +131,7 @@ import { SelectTextTrigger } from "./case/trigger/trigger.text.select";
import { DateInterval } from "./widget/timeinterval/dateinterval";
import { DynamicDatePane } from "./widget/datepane/datepane";
import { AllCountPager } from "./case/pager/pager.all.count";
import { DirectionPager } from "./case/pager/pager.direction";
import { PopupView } from "./base/layer/layer.popup";
import { BubblePopupView, BubblePopupBarView, TextBubblePopupBarView } from "./case/combo/bubblecombo/popup.bubble";
import { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode";
@ -317,6 +318,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DateInterval: typeof DateInterval;
DynamicDatePane: typeof DynamicDatePane;
AllCountPager: typeof AllCountPager;
DirectionPager: typeof DirectionPager;
Pager: typeof Pager;
PopupView: typeof PopupView;
BubblePopupView: typeof BubblePopupView;
@ -364,4 +366,4 @@ 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, MultiLayerSelectLevelTree, SelectTreeExpander, };
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, DirectionPager, };

12
dist/lib/widget/dynamicdatetime/dynamicdatetime.combo.d.ts vendored

@ -1,4 +1,4 @@
import { Single } from "../../base/single/single";
import { Single } from '../../base/single/single';
export declare class DynamicDateTimeCombo extends Single {
static xtype: string;
static EVENT_KEY_DOWN: string;
@ -12,6 +12,16 @@ export declare class DynamicDateTimeCombo extends Single {
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string;
static Static: 1;
static Dynamic: 2;
props: {
minDate?: string;
maxDate?: string;
format?: string;
allowEdit?: boolean;
supportDynamic?: boolean;
attributes?: {
tabIndex?: number;
};
} & Single['props'];
setMinDate(minDate: string): void;
setMaxDate(minDate: string): void;
getKey(): string;

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-9-16 17:31:56 */
/*! time: 2021-9-28 11:11:00 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,12 +82,12 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1264);
/******/ return __webpack_require__(__webpack_require__.s = 1265);
/******/ })
/************************************************************************/
/******/ ({
/***/ 1121:
/***/ 1122:
/***/ (function(module, exports) {
BI.i18n = {
@ -293,7 +293,7 @@ BI.i18n = {
/***/ }),
/***/ 1264:
/***/ 1265:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(136);
@ -312,8 +312,8 @@ __webpack_require__(160);
__webpack_require__(161);
__webpack_require__(171);
__webpack_require__(172);
__webpack_require__(1121);
__webpack_require__(1265);
__webpack_require__(1122);
__webpack_require__(1266);
__webpack_require__(173);
__webpack_require__(174);
module.exports = __webpack_require__(175);
@ -321,7 +321,7 @@ module.exports = __webpack_require__(175);
/***/ }),
/***/ 1265:
/***/ 1266:
/***/ (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

190
examples/dev.html

@ -12,187 +12,47 @@
var Model = BI.inherit(Fix.Model, {
state: function () {
return {
expand: false,
showClearAll: false,
hasUndo: false,
hasRedo: false
columnSize: [200, "fill"]
};
},
computed: {
expandText: function () {
return this.model.expand ? "expand" : "not-expand";
},
clearAllText: function () {
return this.model.showClearAll ? "showClearAll" : "not-showClearAll";
},
undoText: function () {
return this.model.hasUndo ? "hasUndo" : "not-hasUndo";
},
redoText: function () {
return this.model.hasRedo ? "hasRedo" : "not-hasRedo";
}
},
actions: {
setExpand: function () {
this.model.expand = !this.model.expand;
},
setClearAll: function () {
this.model.showClearAll = !this.model.showClearAll;
},
setUndo: function () {
this.model.hasUndo = !this.model.hasUndo;
},
setRedo: function () {
this.model.hasRedo = !this.model.hasRedo;
}
}
});
BI.model("demo.model", Model);
function useExpand () {
var button;
var store = BI.useStore();
BI.onBeforeMount(function () {
});
BI.onMounted(function () {
});
BI.onBeforeUnmount(function () {
});
BI.onUnmounted(function () {
});
BI.watch("expandText", function (val) {
button.setText(val);
});
return function () {
return {
type: "bi.button",
ref: function (_ref) {
button = _ref;
var Widget = BI.inherit(BI.Widget, {
props: {
height: 200,
width: 600
},
text: store.model.expandText,
handler: function () {
store.setExpand();
}
};
};
}
function useClearAll () {
var button;
var store = BI.useStore();
BI.onBeforeMount(function () {
});
BI.onMounted(function () {
});
BI.onBeforeUnmount(function () {
});
BI.onUnmounted(function () {
});
BI.watch("clearAllText", function (val) {
button.setText(val);
});
return function () {
return {
type: "bi.button",
ref: function (_ref) {
button = _ref;
_store: function () {
return BI.Models.getModel("demo.model");
},
text: store.model.clearAllText,
handler: function () {
store.setClearAll();
}
};
};
}
function useUndo () {
var button;
setup: function () {
var store = BI.useStore();
BI.onBeforeMount(function () {
});
BI.onMounted(function () {
});
BI.onBeforeUnmount(function () {
});
BI.onUnmounted(function () {
});
BI.watch("undoText", function (val) {
button.setText(val);
});
return function () {
return {
type: "bi.button",
ref: function (_ref) {
button = _ref;
type: "bi.htape",
columnSize: function () {
return store.model.columnSize;
},
text: store.model.undoText,
handler: function () {
store.setUndo();
}
};
};
items: [{
type: "bi.label",
css: {
background: "#eee"
}
function useRedo () {
var button;
var store = BI.useStore();
BI.onBeforeMount(function () {
});
BI.onMounted(function () {
});
BI.onBeforeUnmount(function () {
});
BI.onUnmounted(function () {
});
BI.watch("redoText", function (val) {
button.setText(val);
});
return function () {
return {
type: "bi.button",
ref: function (_ref) {
button = _ref;
}, {
type: "bi.center_adapt",
css: {
background: "#e0e0e0"
},
text: store.model.redoText,
items: [{
type: "bi.button",
text: "点击",
handler: function () {
store.setRedo();
}
};
};
store.model.columnSize = [300, "fill"]
}
var Widget = BI.inherit(BI.Widget, {
_store: function () {
return BI.Models.getModel("demo.model");
},
setup: function () {
var expandComponent = useExpand();
var clearAllComponent = useClearAll();
var undoComponent = useUndo();
var redoComponent = useRedo();
return function () {
return {
type: "bi.vertical",
items: [expandComponent(), clearAllComponent(), undoComponent(), redoComponent()]
}]
}]
};
};
}

57
examples/effect.html

@ -0,0 +1,57 @@
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../dist/2.0/fineui.css"/>
<script src="../dist/2.0/fineui.js"></script>
</head>
<body>
<div id="wrapper"></div>
<script>
var Model = BI.inherit(Fix.Model, {
state: function () {
return {
count: 0
};
}
});
BI.model("demo.model", Model);
var Widget = BI.inherit(BI.Widget, {
_store: function () {
return BI.Models.getModel("demo.model");
},
setup: function () {
var store = BI.useStore();
return function () {
return {
type: "bi.vertical",
items: [{
type: "bi.button",
effect: function () {
this.setText(store.model.count)
},
handler: function () {
store.model.count++;
}
}]
};
};
}
});
BI.shortcut("demo.hooks", Widget);
BI.createWidget({
type: "bi.absolute",
items: [{
el: {
type: "demo.hooks"
},
top: 100,
left: 100
}],
element: "#wrapper"
});
</script>
</body>
</html>

73
examples/resize.html

@ -0,0 +1,73 @@
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../dist/2.0/fineui.css"/>
<script src="../dist/2.0/fineui.js"></script>
</head>
<body>
<div id="wrapper"></div>
<script>
var Model = BI.inherit(Fix.Model, {
state: function () {
return {
columnSize: [200, "fill"]
};
}
});
BI.model("demo.model", Model);
var Widget = BI.inherit(BI.Widget, {
props: {
height: 200,
width: 600
},
_store: function () {
return BI.Models.getModel("demo.model");
},
setup: function () {
var store = BI.useStore();
return function () {
return {
type: "bi.htape",
columnSize: function () {
return store.model.columnSize;
},
items: [{
type: "bi.label",
css: {
background: "#eee"
}
}, {
type: "bi.center_adapt",
css: {
background: "#e0e0e0"
},
items: [{
type: "bi.button",
text: "点击",
handler: function () {
store.model.columnSize = [300, "fill"]
}
}]
}]
};
};
}
});
BI.shortcut("demo.hooks", Widget);
BI.createWidget({
type: "bi.absolute",
items: [{
el: {
type: "demo.hooks"
},
top: 100,
left: 100
}],
element: "#wrapper"
});
</script>
</body>
</html>

66
examples/style.html

@ -0,0 +1,66 @@
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../dist/2.0/fineui.css"/>
<script src="../dist/2.0/fineui.js"></script>
</head>
<body>
<div id="wrapper"></div>
<script>
var Model = BI.inherit(Fix.Model, {
state: function () {
return {
cls: "my-cls",
background: "red",
count: 0
};
}
});
BI.model("demo.model", Model);
var Widget = BI.inherit(BI.Widget, {
_store: function () {
return BI.Models.getModel("demo.model");
},
setup: function () {
var store = BI.useStore();
return function () {
return {
type: "bi.vertical",
items: [{
type: "bi.button",
cls: function () {
return store.model.cls;
},
css: function () {
return {
background: store.model.background
}
},
text: "按钮",
handler: function () {
store.model.cls = "my-cls" + store.model.count++;
store.model.background = "blue";
}
}]
};
};
}
});
BI.shortcut("demo.hooks", Widget);
BI.createWidget({
type: "bi.absolute",
items: [{
el: {
type: "demo.hooks"
},
top: 100,
left: 100
}],
element: "#wrapper"
});
</script>
</body>
</html>

2
package.json

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

11
src/base/collection/collection.js

@ -22,8 +22,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.CollectionView.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this.renderedCells = [];
this.renderedKeys = [];
@ -277,19 +276,17 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this.options.items = items;
this._calculateSizeAndPositionData();
}
if (o.items.length > 0) {
this.container.setWidth(this._width);
this.container.setHeight(this._height);
this._debounceRelease();
this._calculateChildrenToRender();
// 元素未挂载时不能设置scrollTop
try {
this.element.scrollTop(o.scrollTop);
this.element.scrollLeft(o.scrollLeft);
} catch (e) {
}
}
this._calculateChildrenToRender();
},
setScrollLeft: function (scrollLeft) {
@ -299,8 +296,8 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this._scrollLock = true;
this.options.scrollLeft = BI.clamp(scrollLeft || 0, 0, this._getMaxScrollLeft());
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollLeft(this.options.scrollLeft);
this._calculateChildrenToRender();
},
setScrollTop: function (scrollTop) {
@ -310,8 +307,8 @@ BI.CollectionView = BI.inherit(BI.Widget, {
this._scrollLock = true;
this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop);
this._calculateChildrenToRender();
},
setOverflowX: function (b) {

3
src/base/combination/combo.js

@ -39,8 +39,7 @@
});
},
_init: function () {
BI.Combo.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this._initCombo();
this._initPullDownAction();

3
src/base/combination/expander.js

@ -21,8 +21,7 @@ BI.Expander = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.Expander.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this._expanded = !!o.el.open;
this._initExpander();

3
src/base/combination/group.button.js

@ -20,8 +20,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.ButtonGroup.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
var behaviors = {};
BI.each(o.behaviors, function (key, rule) {

3
src/base/combination/group.combo.js

@ -30,8 +30,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.ComboGroup.superclass._init.apply(this, arguments);
render: function () {
this._populate(this.options.el);
},

3
src/base/combination/loader.js

@ -53,8 +53,7 @@ BI.Loader = BI.inherit(BI.Widget, {
}]);
},
_init: function () {
BI.Loader.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
if (o.itemsCreator === false) {
o.prev = false;

3
src/base/combination/searcher.js

@ -42,8 +42,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.Searcher.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this.editor = BI.createWidget(o.el, {

3
src/base/combination/switcher.js

@ -22,8 +22,7 @@ BI.Switcher = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.Switcher.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this._initSwitcher();
this._initPullDownAction();

4
src/base/combination/tree.button.js

@ -11,10 +11,6 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, {
});
},
_init: function () {
BI.ButtonTree.superclass._init.apply(this, arguments);
},
setNotSelectedValue: function (v) {
v = BI.isArray(v) ? v : [v];
BI.each(this.buttons, function (i, item) {

49
src/base/grid/grid.js

@ -25,8 +25,7 @@ BI.GridView = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.GridView.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this.renderedCells = [];
this.renderedKeys = [];
@ -75,8 +74,8 @@ BI.GridView = BI.inherit(BI.Widget, {
_calculateSizeAndPositionData: function () {
var o = this.options;
this.columnCount = 0;
this.rowCount = 0;
this.columnCount = 0;
if (BI.isNumber(o.columnCount)) {
this.columnCount = o.columnCount;
} else if (o.items.length > 0) {
@ -240,26 +239,20 @@ BI.GridView = BI.inherit(BI.Widget, {
}
},
/**
* 获取真实的可滚动的最大宽度
* 对于grid_view如果没有全部渲染过this._columnSizeAndPositionManager.getTotalSize获取的宽度是不准确的
* 因此在调用setScrollLeft等函数时会造成没法移动到最右端(预估可移动距离太短)
*/
// _getRealMaxScrollLeft: function () {
// var o = this.options;
// var totalWidth = 0;
// BI.count(0, this.columnCount, function (index) {
// totalWidth += o.columnWidthGetter(index);
// });
// return Math.max(0, totalWidth - this.options.width + (this.options.overflowX ? BI.DOM.getScrollWidth() : 0));
// },
_getMaxScrollLeft: function () {
return Math.max(0, this._columnSizeAndPositionManager.getTotalSize() - this.options.width + (this.options.overflowX ? BI.DOM.getScrollWidth() : 0));
return Math.max(0, this._getContainerWidth() - this.options.width + (this.options.overflowX ? BI.DOM.getScrollWidth() : 0));
},
_getMaxScrollTop: function () {
return Math.max(0, this._rowSizeAndPositionManager.getTotalSize() - this.options.height + (this.options.overflowY ? BI.DOM.getScrollWidth() : 0));
return Math.max(0, this._getContainerHeight() - this.options.height + (this.options.overflowY ? BI.DOM.getScrollWidth() : 0));
},
_getContainerWidth: function () {
return this.columnCount * this.options.estimatedColumnSize;
},
_getContainerHeight: function () {
return this.rowCount * this.options.estimatedRowSize;
},
_populate: function (items) {
@ -269,19 +262,17 @@ BI.GridView = BI.inherit(BI.Widget, {
this.options.items = items;
this._calculateSizeAndPositionData();
}
if (o.items.length > 0) {
this.container.setWidth(this.columnCount * o.estimatedColumnSize);
this.container.setHeight(this.rowCount * o.estimatedRowSize);
this.container.setWidth(this._getContainerWidth());
this.container.setHeight(this._getContainerHeight());
this._debounceRelease();
this._calculateChildrenToRender();
// 元素未挂载时不能设置scrollTop
this._debounceRelease();
try {
this.element.scrollTop(o.scrollTop);
this.element.scrollLeft(o.scrollLeft);
} catch (e) {
}
}
this._calculateChildrenToRender();
},
setScrollLeft: function (scrollLeft) {
@ -289,10 +280,10 @@ BI.GridView = BI.inherit(BI.Widget, {
return;
}
this._scrollLock = true;
this.options.scrollLeft = scrollLeft || 0;
this.options.scrollLeft = BI.clamp(scrollLeft || 0, 0, this._getMaxScrollLeft());
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollLeft(this.options.scrollLeft);
this._calculateChildrenToRender();
},
setScrollTop: function (scrollTop) {
@ -300,10 +291,10 @@ BI.GridView = BI.inherit(BI.Widget, {
return;
}
this._scrollLock = true;
this.options.scrollTop = scrollTop || 0;
this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop);
this._calculateChildrenToRender();
},
setColumnCount: function (columnCount) {

3
src/base/layer/layer.popup.js

@ -42,8 +42,7 @@ BI.PopupView = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.PopupView.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
var fn = function (e) {
e.stopPropagation();

3
src/base/layer/layer.searcher.js

@ -41,8 +41,7 @@ BI.SearcherView = BI.inherit(BI.Pane, {
});
},
_init: function () {
BI.SearcherView.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this.matcher = BI.createWidget(o.matcher, {

4
src/base/pager/pager.js

@ -40,8 +40,8 @@ BI.Pager = BI.inherit(BI.Widget, {
hasNext: BI.emptyFn // pages不可用时有效
});
},
_init: function () {
BI.Pager.superclass._init.apply(this, arguments);
render: function () {
var self = this;
this.currPage = BI.result(this.options, "curr");
// 翻页太灵敏

4
src/base/single/a/a.js

@ -17,9 +17,9 @@ BI.A = BI.inherit(BI.Text, {
tagName: "a"
});
},
_init: function () {
render: function () {
var o = this.options;
BI.A.superclass._init.apply(this, arguments);
this.element.attr({href: o.href, target: o.target});
if (o.el) {
BI.createWidget(o.el, {

4
src/base/single/bar/bar.loading.js

@ -12,8 +12,8 @@ BI.LoadingBar = BI.inherit(BI.Single, {
handler: BI.emptyFn
});
},
_init: function () {
BI.LoadingBar.superclass._init.apply(this, arguments);
render: function () {
var self = this;
this.loaded = BI.createWidget({
type: "bi.text_button",

3
src/base/single/button/buttons/button.icon.js

@ -13,8 +13,7 @@ BI.IconButton = BI.inherit(BI.BasicButton, {
});
},
_init: function () {
BI.IconButton.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
this.element.css({
textAlign: "center"

3
src/base/single/button/buttons/button.image.js

@ -16,8 +16,7 @@ BI.ImageButton = BI.inherit(BI.BasicButton, {
});
},
_init: function () {
BI.ImageButton.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
this.image = BI.createWidget({
type: "bi.img",

39
src/base/single/button/buttons/button.js

@ -39,15 +39,30 @@ BI.Button = BI.inherit(BI.BasicButton, {
});
},
_init: function () {
BI.Button.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, self = this;
// 由于button默认情况下有个边框,所以要主动算行高
var lineHeight, textHeight = o.textHeight;
if (BI.isNumber(o.height)) {
if (o.clear || o.block) {
lineHeight = o.height;
} else {
lineHeight = o.height - 2;
}
}
if (!textHeight) {
if (o.whiteSpace === "nowrap") {
textHeight = lineHeight;
}
}
if (BI.isKey(o.iconCls)) {
this.icon = BI.createWidget({
type: "bi.icon_label",
cls: o.iconCls,
width: this._const.iconWidth,
height: o.height - 2,
height: o.height,
lineHeight: lineHeight,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
@ -55,9 +70,9 @@ BI.Button = BI.inherit(BI.BasicButton, {
type: "bi.label",
text: o.text,
textWidth: BI.isNotNull(o.textWidth) ? o.textWidth - this._const.iconWidth : null,
textHeight: o.textHeight,
value: o.value,
height: o.height - 2
textHeight: textHeight,
height: o.height,
value: o.value
});
BI.createWidget({
type: "bi.center_adapt",
@ -77,7 +92,7 @@ BI.Button = BI.inherit(BI.BasicButton, {
textAlign: o.textAlign,
whiteSpace: o.whiteSpace,
textWidth: o.textWidth,
textHeight: o.textHeight,
textHeight: textHeight,
hgap: o.hgap,
vgap: o.vgap,
tgap: o.tgap,
@ -89,16 +104,6 @@ BI.Button = BI.inherit(BI.BasicButton, {
value: o.value
});
}
if (BI.isNumber(o.height) && !o.clear && !o.block) {
this.element.css({
height: o.height / BI.pixRatio + BI.pixUnit,
lineHeight: (o.height - 2) / BI.pixRatio + BI.pixUnit
});
} else if (o.clear || o.block) {
this.element.css({lineHeight: o.height / BI.pixRatio + BI.pixUnit});
} else {
this.element.css({lineHeight: (o.height - 2) / BI.pixRatio + BI.pixUnit});
}
if (o.block === true) {
this.element.addClass("block");
}

3
src/base/single/button/buttons/button.text.js

@ -22,8 +22,7 @@ BI.TextButton = BI.inherit(BI.BasicButton, {
});
},
_init: function () {
BI.TextButton.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/listitem/blankiconicontextitem.js

@ -25,8 +25,8 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.BlankIconIconTextItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
var blank = BI.createWidget({
type: "bi.layout",

4
src/base/single/button/listitem/blankicontexticonitem.js

@ -26,8 +26,8 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.BlankIconTextIconItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/listitem/blankicontextitem.js

@ -24,8 +24,8 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.BlankIconTextItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
var blank = BI.createWidget({
type: "bi.layout",

4
src/base/single/button/listitem/icontexticonitem.js

@ -25,8 +25,8 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.IconTextIconItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/listitem/icontextitem.js

@ -25,8 +25,8 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.IconTextItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/listitem/texticonitem.js

@ -24,8 +24,8 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.TextIconItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/listitem/textitem.js

@ -20,8 +20,8 @@ BI.TextItem = BI.inherit(BI.BasicButton, {
textRgap: 0
});
},
_init: function () {
BI.TextItem.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/node/icontexticonnode.js

@ -23,8 +23,8 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, {
textRgap: 0
});
},
_init: function () {
BI.IconTextIconNode.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/node/icontextnode.js

@ -22,8 +22,8 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, {
textRgap: 0
});
},
_init: function () {
BI.IconTextNode.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/node/texticonnode.js

@ -21,8 +21,8 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, {
textRgap: 0
});
},
_init: function () {
BI.TextIconNode.superclass._init.apply(this, arguments);
render: function () {
var o = this.options, c = this._const;
this.text = BI.createWidget({
type: "bi.label",

4
src/base/single/button/node/textnode.js

@ -19,8 +19,8 @@ BI.TextNode = BI.inherit(BI.NodeButton, {
textRgap: 0
});
},
_init: function () {
BI.TextNode.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
this.text = BI.createWidget({
type: "bi.label",

3
src/base/single/editor/editor.js

@ -26,8 +26,7 @@ BI.Editor = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Editor.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
// 密码输入框设置autocomplete="new-password"的情况下Firefox和chrome不会自动填充密码
var autocomplete = o.autocomplete ? " autocomplete=" + o.autocomplete : "";

3
src/base/single/editor/editor.multifile.js

@ -18,9 +18,8 @@ BI.MultifileEditor = BI.inherit(BI.Widget, {
});
},
_init: function () {
render: function () {
var self = this, o = this.options;
BI.MultifileEditor.superclass._init.apply(this, arguments);
this.file = BI.createWidget({
type: "bi.file",
cls: "multifile-editor",

4
src/base/single/icon/icon.js

@ -11,8 +11,8 @@ BI.Icon = BI.inherit(BI.Single, {
baseCls: (conf.baseCls || "") + " x-icon b-font horizon-center display-block"
});
},
_init: function () {
BI.Icon.superclass._init.apply(this, arguments);
render: function () {
if (BI.isIE9Below && BI.isIE9Below()) {
this.element.addClass("hack");
}

3
src/base/single/iframe/iframe.js

@ -18,9 +18,8 @@ BI.Iframe = BI.inherit(BI.Single, {
});
},
_init: function () {
render: function () {
var self = this;
BI.Iframe.superclass._init.apply(this, arguments);
this.element.on("load", function () {
self.fireEvent("EVENT_LOADED");
});

3
src/base/single/input/file.js

@ -451,9 +451,8 @@
});
},
_init: function () {
render: function () {
var self = this, o = this.options;
BI.File.superclass._init.apply(this, arguments);
if (o.multiple === true) {
this.element.attr("multiple", "multiple");
}

3
src/base/single/input/input.js

@ -16,8 +16,7 @@ BI.Input = BI.inherit(BI.Single, {
});
},
_init: function () {
BI.Input.superclass._init.apply(this, arguments);
render: function () {
var self = this;
var ctrlKey = false;
var keyCode = null;

4
src/base/single/input/radio/radio.image.js

@ -17,10 +17,6 @@ BI.ImageRadio = BI.inherit(BI.IconButton, {
});
},
_init: function () {
BI.ImageRadio.superclass._init.apply(this, arguments);
},
doClick: function () {
BI.ImageRadio.superclass.doClick.apply(this, arguments);
if(this.isValid()) {

4
src/base/single/label/abstract.label.js

@ -38,9 +38,7 @@
};
},
_init: function () {
BI.AbstractLabel.superclass._init.apply(this, arguments);
render: function () {
if (this.options.textAlign === "center") {
this._createCenterEl();
} else {

8
src/base/single/label/icon.label.js

@ -8,11 +8,11 @@ BI.IconLabel = BI.inherit(BI.Single, {
props: {
baseCls: "bi-icon-label horizon-center",
iconWidth: null,
iconHeight: null
iconHeight: null,
lineHeight: null,
},
_init: function () {
BI.IconLabel.superclass._init.apply(this, arguments);
render: function () {
var o = this.options;
this.element.css({
textAlign: "center"
@ -23,7 +23,7 @@ BI.IconLabel = BI.inherit(BI.Single, {
height: o.iconHeight
});
if (BI.isNumber(o.height) && o.height > 0 && BI.isNull(o.iconWidth) && BI.isNull(o.iconHeight)) {
this.element.css("lineHeight", o.height / BI.pixRatio + BI.pixUnit);
this.element.css("lineHeight", (o.lineHeight || o.height) / BI.pixRatio + BI.pixUnit);
BI.createWidget({
type: "bi.default",
element: this,

4
src/base/single/tip/tip.toast.js

@ -18,8 +18,8 @@ BI.Toast = BI.inherit(BI.Tip, {
level: "success" // success或warning
});
},
_init: function () {
BI.Toast.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
this.element.css({
minWidth: this._const.minWidth / BI.pixRatio + BI.pixUnit

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save