Browse Source

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

es6
Tangjinxia 3 years ago
parent
commit
ed940aa844
  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. 1018
      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.modern.min.css
  10. 4
      dist/2.0/fineui.modern.min.js
  11. 2
      dist/2.0/fineui.modern.min.js.map
  12. 2
      dist/2.0/fineui_without_normalize.css
  13. 2
      dist/2.0/fineui_without_normalize.min.css
  14. 2
      dist/core.css
  15. 988
      dist/core.js
  16. 2
      dist/core.js.map
  17. 2
      dist/demo.css
  18. 1352
      dist/demo.js
  19. 2
      dist/demo.js.map
  20. 2
      dist/fineui.css
  21. 4
      dist/fineui.ie.min.js
  22. 2
      dist/fineui.ie.min.js.map
  23. 1008
      dist/fineui.js
  24. 2
      dist/fineui.js.map
  25. 2
      dist/fineui.min.css
  26. 4
      dist/fineui.min.js
  27. 2
      dist/fineui.min.js.map
  28. 2
      dist/fineui.modern.min.css
  29. 4
      dist/fineui.modern.min.js
  30. 2
      dist/fineui.modern.min.js.map
  31. 2
      dist/fineui.proxy.css
  32. 294
      dist/fineui.proxy.js
  33. 2
      dist/fineui.proxy.js.map
  34. 2
      dist/fineui.proxy.min.css
  35. 4
      dist/fineui.proxy.min.js
  36. 2
      dist/fineui.proxy.min.js.map
  37. 220
      dist/fineui_without_jquery_polyfill.js
  38. 2
      dist/fineui_without_jquery_polyfill.js.map
  39. 2
      dist/fineui_without_normalize.min.css
  40. 2
      dist/font.css
  41. 7
      dist/lib/base/single/html/html.d.ts
  42. 17
      dist/lib/case/pager/pager.direction.d.ts
  43. 4
      dist/lib/index.d.ts
  44. 2
      dist/resource.css
  45. 14
      dist/utils.js
  46. 2
      dist/utils.js.map
  47. 4
      dist/utils.min.js
  48. 2
      dist/utils.min.js.map
  49. 2
      package.json
  50. 8
      src/base/collection/collection.js
  51. 27
      src/base/grid/grid.js
  52. 8
      typescript/base/single/html/html.ts
  53. 28
      typescript/case/pager/pager.direction.ts
  54. 3
      typescript/index.ts

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

1018
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-22 16:40:29 */
!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-23 15:50:30 */
!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

988
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

1352
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

1008
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-22 16:40:29 */
!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-23 15:50:30 */
!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

294
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-22 16:40:29 */
/*! time: 2021-9-23 15:50:30 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1189);
/******/ return __webpack_require__(__webpack_require__.s = 1190);
/******/ })
/************************************************************************/
/******/ ([
@ -21716,13 +21716,13 @@ BI.CollectionView = BI.inherit(BI.Widget, {
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();
}
},
@ -21733,8 +21733,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) {
@ -21744,8 +21744,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) {
@ -24973,8 +24973,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) {
@ -25165,14 +25165,14 @@ BI.GridView = BI.inherit(BI.Widget, {
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();
}
},
@ -25183,8 +25183,8 @@ BI.GridView = 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) {
@ -25194,8 +25194,8 @@ BI.GridView = 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();
},
setColumnCount: function (columnCount) {
@ -41342,6 +41342,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
this.allPages = BI.createWidget({
type: "bi.label",
title: o.pages,
height: o.height,
text: "/" + o.pages,
lgap: 5,
invisible: o.pages <= 1
@ -63753,7 +63754,7 @@ BI.SingleSelectSearchLoader = BI.inherit(BI.Widget, {
var keyword = ob.keyword = opts.keywordGetter();
hasNext = ob.hasNext;
var firstItems = [];
if (op.times === 1 && BI.isNotNull(self.storeValue)) {
if (op.times === 1 && !BI.isUndefined(self.storeValue)) {
var json = self._filterValues(self.storeValue);
firstItems = self._createItems(json);
}
@ -64806,13 +64807,13 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
}, opts.el),
itemsCreator: function (op, callback) {
var startValue = self._startValue;
BI.isNotNull(self.storeValue) && (op = BI.extend(op || {}, {
!BI.isUndefined(self.storeValue) && (op = BI.extend(op || {}, {
selectedValues: [self.storeValue]
}));
opts.itemsCreator(op, function (ob) {
hasNext = ob.hasNext;
var firstItems = [];
if (op.times === 1 && BI.isNotNull(self.storeValue)) {
if (op.times === 1 && !BI.isUndefined(self.storeValue)) {
var json = BI.map([self.storeValue], function (i, v) {
var txt = opts.valueFormatter(v) || v;
return {
@ -75351,6 +75352,12 @@ Object.defineProperty(exports, "AllCountPager", {
return _pagerAll.AllCountPager;
}
});
Object.defineProperty(exports, "DirectionPager", {
enumerable: true,
get: function get() {
return _pager.DirectionPager;
}
});
Object.defineProperty(exports, "PopupView", {
enumerable: true,
get: function get() {
@ -75570,7 +75577,7 @@ Object.defineProperty(exports, "BroadcastController", {
Object.defineProperty(exports, "Pager", {
enumerable: true,
get: function get() {
return _pager.Pager;
return _pager2.Pager;
}
});
Object.defineProperty(exports, "TimeInterval", {
@ -75883,89 +75890,91 @@ var _datepane = __webpack_require__(805);
var _pagerAll = __webpack_require__(806);
var _pager = __webpack_require__(807);
var _layer3 = __webpack_require__(51);
var _popup = __webpack_require__(807);
var _popup = __webpack_require__(808);
var _check = __webpack_require__(808);
var _check = __webpack_require__(809);
var _numberinterval = __webpack_require__(809);
var _numberinterval = __webpack_require__(810);
var _combo13 = __webpack_require__(810);
var _combo13 = __webpack_require__(811);
var _combo14 = __webpack_require__(811);
var _combo14 = __webpack_require__(812);
var _intervalslider = __webpack_require__(812);
var _intervalslider = __webpack_require__(813);
var _multiselectlist = __webpack_require__(813);
var _multiselectlist = __webpack_require__(814);
var _yearmonthinterval = __webpack_require__(814);
var _yearmonthinterval = __webpack_require__(815);
var _numbereditor = __webpack_require__(815);
var _numbereditor = __webpack_require__(816);
var _combo15 = __webpack_require__(816);
var _combo15 = __webpack_require__(817);
var _linear = __webpack_require__(817);
var _linear = __webpack_require__(818);
var _img = __webpack_require__(818);
var _img = __webpack_require__(819);
var _combo16 = __webpack_require__(819);
var _combo16 = __webpack_require__(820);
var _combo17 = __webpack_require__(820);
var _combo17 = __webpack_require__(821);
var _listview = __webpack_require__(821);
var _listview = __webpack_require__(822);
var _middleFloat = __webpack_require__(822);
var _middleFloat = __webpack_require__(823);
var _popup2 = __webpack_require__(823);
var _popup2 = __webpack_require__(824);
var _controller = __webpack_require__(53);
var _controller2 = __webpack_require__(824);
var _controller2 = __webpack_require__(825);
var _popupCalendar = __webpack_require__(825);
var _popupCalendar = __webpack_require__(826);
var _tree2 = __webpack_require__(826);
var _tree2 = __webpack_require__(827);
var _textnode = __webpack_require__(827);
var _textnode = __webpack_require__(828);
var _popup3 = __webpack_require__(828);
var _popup3 = __webpack_require__(829);
var _button6 = __webpack_require__(829);
var _button6 = __webpack_require__(830);
var _router = __webpack_require__(830);
var _router = __webpack_require__(831);
var _datetime = __webpack_require__(831);
var _datetime = __webpack_require__(832);
var _float = __webpack_require__(832);
var _float = __webpack_require__(833);
var _layout10 = __webpack_require__(833);
var _layout10 = __webpack_require__(834);
var _colorchooserPopup = __webpack_require__(834);
var _colorchooserPopup = __webpack_require__(835);
var _blankicontextitem = __webpack_require__(835);
var _blankicontextitem = __webpack_require__(836);
var _controller3 = __webpack_require__(836);
var _controller3 = __webpack_require__(837);
var _pager = __webpack_require__(837);
var _pager2 = __webpack_require__(838);
var _timeinterval = __webpack_require__(838);
var _timeinterval = __webpack_require__(839);
var _datetimepane = __webpack_require__(839);
var _datetimepane = __webpack_require__(840);
var _singleselectlist = __webpack_require__(840);
var _singleselectlist = __webpack_require__(841);
var _multiselecttree = __webpack_require__(841);
var _multiselecttree = __webpack_require__(842);
var _html2 = __webpack_require__(842);
var _html2 = __webpack_require__(843);
var _pane3 = __webpack_require__(843);
var _pane3 = __webpack_require__(844);
var _layout11 = __webpack_require__(844);
var _layout11 = __webpack_require__(845);
var _multilayerselecttree3 = __webpack_require__(845);
var _multilayerselecttree3 = __webpack_require__(846);
var _selecttree = __webpack_require__(846);
var _selecttree = __webpack_require__(847);
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
@ -77148,8 +77157,6 @@ var _widget = __webpack_require__(0);
"use strict";
var _layer = __webpack_require__(51);
var _widget = __webpack_require__(0);
/***/ }),
@ -77159,7 +77166,9 @@ var _widget = __webpack_require__(0);
"use strict";
var _button = __webpack_require__(50);
var _layer = __webpack_require__(51);
var _widget = __webpack_require__(0);
/***/ }),
/* 809 */
@ -77168,7 +77177,7 @@ var _button = __webpack_require__(50);
"use strict";
var _single = __webpack_require__(2);
var _button = __webpack_require__(50);
/***/ }),
/* 810 */
@ -77177,7 +77186,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 811 */
@ -77195,7 +77204,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 813 */
@ -77222,7 +77231,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 816 */
@ -77249,7 +77258,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 819 */
@ -77258,7 +77267,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 820 */
@ -77285,7 +77294,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _layout = __webpack_require__(3);
var _widget = __webpack_require__(0);
/***/ }),
/* 823 */
@ -77294,7 +77303,7 @@ var _layout = __webpack_require__(3);
"use strict";
var _widget = __webpack_require__(0);
var _layout = __webpack_require__(3);
/***/ }),
/* 824 */
@ -77303,7 +77312,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _controller = __webpack_require__(53);
var _widget = __webpack_require__(0);
/***/ }),
/* 825 */
@ -77312,7 +77321,7 @@ var _controller = __webpack_require__(53);
"use strict";
var _widget = __webpack_require__(0);
var _controller = __webpack_require__(53);
/***/ }),
/* 826 */
@ -77321,6 +77330,8 @@ var _widget = __webpack_require__(0);
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 827 */
/***/ (function(module, exports, __webpack_require__) {
@ -77328,8 +77339,6 @@ var _widget = __webpack_require__(0);
"use strict";
var _button = __webpack_require__(46);
/***/ }),
/* 828 */
/***/ (function(module, exports, __webpack_require__) {
@ -77337,7 +77346,7 @@ var _button = __webpack_require__(46);
"use strict";
var _pane = __webpack_require__(14);
var _button = __webpack_require__(46);
/***/ }),
/* 829 */
@ -77346,7 +77355,7 @@ var _pane = __webpack_require__(14);
"use strict";
var _button = __webpack_require__(4);
var _pane = __webpack_require__(14);
/***/ }),
/* 830 */
@ -77355,6 +77364,8 @@ var _button = __webpack_require__(4);
"use strict";
var _button = __webpack_require__(4);
/***/ }),
/* 831 */
/***/ (function(module, exports, __webpack_require__) {
@ -77362,8 +77373,6 @@ var _button = __webpack_require__(4);
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 832 */
/***/ (function(module, exports, __webpack_require__) {
@ -77371,7 +77380,7 @@ var _single = __webpack_require__(2);
"use strict";
var _layout = __webpack_require__(3);
var _single = __webpack_require__(2);
/***/ }),
/* 833 */
@ -77389,7 +77398,7 @@ var _layout = __webpack_require__(3);
"use strict";
var _widget = __webpack_require__(0);
var _layout = __webpack_require__(3);
/***/ }),
/* 835 */
@ -77398,7 +77407,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _button = __webpack_require__(4);
var _widget = __webpack_require__(0);
/***/ }),
/* 836 */
@ -77407,7 +77416,7 @@ var _button = __webpack_require__(4);
"use strict";
var _controller = __webpack_require__(53);
var _button = __webpack_require__(4);
/***/ }),
/* 837 */
@ -77416,7 +77425,7 @@ var _controller = __webpack_require__(53);
"use strict";
var _widget = __webpack_require__(0);
var _controller = __webpack_require__(53);
/***/ }),
/* 838 */
@ -77425,7 +77434,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 839 */
@ -77434,7 +77443,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 840 */
@ -77443,7 +77452,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 841 */
@ -77461,7 +77470,7 @@ var _single = __webpack_require__(2);
"use strict";
var _abstract = __webpack_require__(47);
var _single = __webpack_require__(2);
/***/ }),
/* 843 */
@ -77470,7 +77479,7 @@ var _abstract = __webpack_require__(47);
"use strict";
var _abstract = __webpack_require__(30);
var _abstract = __webpack_require__(47);
/***/ }),
/* 844 */
@ -77479,7 +77488,7 @@ var _abstract = __webpack_require__(30);
"use strict";
var _layout = __webpack_require__(3);
var _abstract = __webpack_require__(30);
/***/ }),
/* 845 */
@ -77488,7 +77497,7 @@ var _layout = __webpack_require__(3);
"use strict";
var _pane = __webpack_require__(14);
var _layout = __webpack_require__(3);
/***/ }),
/* 846 */
@ -77497,16 +77506,19 @@ var _pane = __webpack_require__(14);
"use strict";
var _widget = __webpack_require__(0);
var _pane = __webpack_require__(14);
/***/ }),
/* 847 */,
/* 848 */
/* 847 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 848 */,
/* 849 */
/***/ (function(module, exports, __webpack_require__) {
@ -77514,6 +77526,12 @@ var _widget = __webpack_require__(0);
/***/ }),
/* 850 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 851 */
/***/ (function(module, exports) {
// 工程配置
@ -77710,7 +77728,7 @@ BI.prepares.push(function () {
/***/ }),
/* 851 */
/* 852 */
/***/ (function(module, exports) {
/**
@ -77877,7 +77895,7 @@ BI.prepares.push(function () {
/***/ }),
/* 852 */
/* 853 */
/***/ (function(module, exports) {
/**
@ -78717,7 +78735,7 @@ BI.prepares.push(function () {
/***/ }),
/* 853 */
/* 854 */
/***/ (function(module, exports) {
// 浏览器相关方法
@ -78851,7 +78869,7 @@ _.extend(BI, {
});
/***/ }),
/* 854 */
/* 855 */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@ -89880,7 +89898,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
/***/ }),
/* 855 */
/* 856 */
/***/ (function(module, exports) {
/*
@ -89895,7 +89913,7 @@ BI.$.extend(BI.$.Event.prototype, {
});
/***/ }),
/* 856 */
/* 857 */
/***/ (function(module, exports) {
if (BI.jQuery) {
@ -90148,7 +90166,7 @@ if (BI.jQuery) {
/***/ }),
/* 857 */
/* 858 */
/***/ (function(module, exports) {
/* !
@ -90357,7 +90375,7 @@ if (BI.jQuery) {
}));
/***/ }),
/* 858 */
/* 859 */
/***/ (function(module, exports) {
_.extend(BI, {
@ -90417,7 +90435,7 @@ _.extend(BI, {
});
/***/ }),
/* 859 */
/* 860 */
/***/ (function(module, exports) {
(function () {
@ -91049,7 +91067,7 @@ _.extend(BI, {
}());
/***/ }),
/* 860 */
/* 861 */
/***/ (function(module, exports) {
!(function () {
@ -91061,7 +91079,7 @@ _.extend(BI, {
})();
/***/ }),
/* 861 */
/* 862 */
/***/ (function(module, exports) {
/**
@ -91764,7 +91782,7 @@ _.extend(BI, {
/***/ }),
/* 862 */
/* 863 */
/***/ (function(module, exports) {
/**
@ -92320,7 +92338,7 @@ BI.shortcut("bi.tree_view", BI.TreeView);
/***/ }),
/* 863 */
/* 864 */
/***/ (function(module, exports) {
/**
@ -92573,7 +92591,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
BI.shortcut("bi.async_tree", BI.AsyncTree);
/***/ }),
/* 864 */
/* 865 */
/***/ (function(module, exports) {
/*
@ -94293,7 +94311,7 @@ BI.shortcut("bi.async_tree", BI.AsyncTree);
})(BI.jQuery);
/***/ }),
/* 865 */
/* 866 */
/***/ (function(module, exports) {
/*
@ -94944,7 +94962,7 @@ BI.shortcut("bi.async_tree", BI.AsyncTree);
})(BI.jQuery);
/***/ }),
/* 866 */
/* 867 */
/***/ (function(module, exports) {
/**
@ -95067,7 +95085,7 @@ BI.ListTreeView = BI.inherit(BI.TreeView, {
BI.shortcut("bi.list_tree_view", BI.ListTreeView);
/***/ }),
/* 867 */
/* 868 */
/***/ (function(module, exports) {
/**
@ -95195,7 +95213,7 @@ BI.ListAsyncTree = BI.inherit(BI.ListTreeView, {
BI.shortcut("bi.list_async_tree", BI.ListAsyncTree);
/***/ }),
/* 868 */
/* 869 */
/***/ (function(module, exports) {
/**
@ -95292,7 +95310,7 @@ BI.ListPartTree = BI.inherit(BI.ListAsyncTree, {
BI.shortcut("bi.list_part_tree", BI.ListPartTree);
/***/ }),
/* 869 */
/* 870 */
/***/ (function(module, exports) {
/**
@ -95498,7 +95516,7 @@ BI.shortcut("bi.part_tree", BI.PartTree);
/***/ }),
/* 870 */
/* 871 */
/***/ (function(module, exports) {
/**
@ -95570,7 +95588,7 @@ BI.shortcut("bi.display_tree", BI.DisplayTree);
/***/ }),
/* 871 */
/* 872 */
/***/ (function(module, exports) {
/**
@ -95653,7 +95671,7 @@ BI.ListDisplayTree.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.list_display_tree", BI.ListDisplayTree);
/***/ }),
/* 872 */
/* 873 */
/***/ (function(module, exports) {
/**
@ -95786,7 +95804,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 873 */
/* 874 */
/***/ (function(module, exports) {
/**
@ -95915,7 +95933,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
})();
/***/ }),
/* 874 */
/* 875 */
/***/ (function(module, exports) {
/**
@ -95996,7 +96014,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
})();
/***/ }),
/* 875 */
/* 876 */
/***/ (function(module, exports) {
;(function () {
@ -96159,7 +96177,6 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 876 */,
/* 877 */,
/* 878 */,
/* 879 */,
@ -96193,7 +96210,8 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 907 */,
/* 908 */,
/* 909 */,
/* 910 */
/* 910 */,
/* 911 */
/***/ (function(module, exports) {
;(function () {
@ -96469,7 +96487,6 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 911 */,
/* 912 */,
/* 913 */,
/* 914 */,
@ -96680,12 +96697,7 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 1119 */,
/* 1120 */,
/* 1121 */,
/* 1122 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1122 */,
/* 1123 */
/***/ (function(module, exports, __webpack_require__) {
@ -96711,12 +96723,17 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/***/ }),
/* 1127 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 1128 */
/***/ (function(module, exports) {
/***/ }),
/* 1128 */,
/* 1129 */,
/* 1130 */,
/* 1131 */,
@ -96777,11 +96794,12 @@ BI.shortcut("bi.simple_tree", BI.SimpleTreeView);
/* 1186 */,
/* 1187 */,
/* 1188 */,
/* 1189 */
/* 1189 */,
/* 1190 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(848);
__webpack_require__(849);
__webpack_require__(850);
__webpack_require__(137);
__webpack_require__(138);
__webpack_require__(139);
@ -96837,7 +96855,6 @@ __webpack_require__(284);
__webpack_require__(285);
__webpack_require__(286);
__webpack_require__(287);
__webpack_require__(850);
__webpack_require__(851);
__webpack_require__(852);
__webpack_require__(853);
@ -96846,6 +96863,7 @@ __webpack_require__(855);
__webpack_require__(856);
__webpack_require__(857);
__webpack_require__(858);
__webpack_require__(859);
__webpack_require__(288);
__webpack_require__(289);
__webpack_require__(290);
@ -96923,7 +96941,7 @@ __webpack_require__(359);
__webpack_require__(173);
__webpack_require__(174);
__webpack_require__(175);
__webpack_require__(1190);
__webpack_require__(1191);
__webpack_require__(176);
__webpack_require__(177);
__webpack_require__(178);
@ -96981,7 +96999,7 @@ __webpack_require__(229);
__webpack_require__(230);
__webpack_require__(231);
__webpack_require__(232);
__webpack_require__(860);
__webpack_require__(861);
__webpack_require__(360);
__webpack_require__(361);
__webpack_require__(362);
@ -97036,7 +97054,7 @@ __webpack_require__(410);
__webpack_require__(411);
__webpack_require__(412);
__webpack_require__(413);
__webpack_require__(861);
__webpack_require__(862);
__webpack_require__(414);
__webpack_require__(415);
__webpack_require__(416);
@ -97150,7 +97168,6 @@ __webpack_require__(523);
__webpack_require__(524);
__webpack_require__(525);
__webpack_require__(526);
__webpack_require__(862);
__webpack_require__(863);
__webpack_require__(864);
__webpack_require__(865);
@ -97163,6 +97180,7 @@ __webpack_require__(871);
__webpack_require__(872);
__webpack_require__(873);
__webpack_require__(874);
__webpack_require__(875);
__webpack_require__(89);
__webpack_require__(90);
__webpack_require__(91);
@ -97379,27 +97397,27 @@ __webpack_require__(694);
__webpack_require__(695);
__webpack_require__(696);
__webpack_require__(697);
__webpack_require__(859);
__webpack_require__(910);
__webpack_require__(875);
__webpack_require__(1122);
__webpack_require__(860);
__webpack_require__(911);
__webpack_require__(876);
__webpack_require__(1123);
__webpack_require__(1124);
__webpack_require__(1125);
__webpack_require__(1126);
__webpack_require__(1127);
__webpack_require__(1128);
module.exports = __webpack_require__(698);
/***/ }),
/* 1190 */
/* 1191 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(1191);
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(1192);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 1191 */
/* 1192 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(setImmediate) {(function (global, factory) {

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

220
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-9-22 16:40:29 */
/*! time: 2021-9-23 15:50:30 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1448);
/******/ return __webpack_require__(__webpack_require__.s = 1449);
/******/ })
/************************************************************************/
/******/ ([
@ -21341,13 +21341,13 @@ BI.CollectionView = BI.inherit(BI.Widget, {
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();
}
},
@ -21358,8 +21358,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) {
@ -21369,8 +21369,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) {
@ -24598,8 +24598,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) {
@ -24790,14 +24790,14 @@ BI.GridView = BI.inherit(BI.Widget, {
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();
}
},
@ -24808,8 +24808,8 @@ BI.GridView = 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) {
@ -24819,8 +24819,8 @@ BI.GridView = 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();
},
setColumnCount: function (columnCount) {
@ -40967,6 +40967,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
this.allPages = BI.createWidget({
type: "bi.label",
title: o.pages,
height: o.height,
text: "/" + o.pages,
lgap: 5,
invisible: o.pages <= 1
@ -63378,7 +63379,7 @@ BI.SingleSelectSearchLoader = BI.inherit(BI.Widget, {
var keyword = ob.keyword = opts.keywordGetter();
hasNext = ob.hasNext;
var firstItems = [];
if (op.times === 1 && BI.isNotNull(self.storeValue)) {
if (op.times === 1 && !BI.isUndefined(self.storeValue)) {
var json = self._filterValues(self.storeValue);
firstItems = self._createItems(json);
}
@ -64431,13 +64432,13 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, {
}, opts.el),
itemsCreator: function (op, callback) {
var startValue = self._startValue;
BI.isNotNull(self.storeValue) && (op = BI.extend(op || {}, {
!BI.isUndefined(self.storeValue) && (op = BI.extend(op || {}, {
selectedValues: [self.storeValue]
}));
opts.itemsCreator(op, function (ob) {
hasNext = ob.hasNext;
var firstItems = [];
if (op.times === 1 && BI.isNotNull(self.storeValue)) {
if (op.times === 1 && !BI.isUndefined(self.storeValue)) {
var json = BI.map([self.storeValue], function (i, v) {
var txt = opts.valueFormatter(v) || v;
return {
@ -74976,6 +74977,12 @@ Object.defineProperty(exports, "AllCountPager", {
return _pagerAll.AllCountPager;
}
});
Object.defineProperty(exports, "DirectionPager", {
enumerable: true,
get: function get() {
return _pager.DirectionPager;
}
});
Object.defineProperty(exports, "PopupView", {
enumerable: true,
get: function get() {
@ -75195,7 +75202,7 @@ Object.defineProperty(exports, "BroadcastController", {
Object.defineProperty(exports, "Pager", {
enumerable: true,
get: function get() {
return _pager.Pager;
return _pager2.Pager;
}
});
Object.defineProperty(exports, "TimeInterval", {
@ -75508,89 +75515,91 @@ var _datepane = __webpack_require__(805);
var _pagerAll = __webpack_require__(806);
var _pager = __webpack_require__(807);
var _layer3 = __webpack_require__(51);
var _popup = __webpack_require__(807);
var _popup = __webpack_require__(808);
var _check = __webpack_require__(808);
var _check = __webpack_require__(809);
var _numberinterval = __webpack_require__(809);
var _numberinterval = __webpack_require__(810);
var _combo13 = __webpack_require__(810);
var _combo13 = __webpack_require__(811);
var _combo14 = __webpack_require__(811);
var _combo14 = __webpack_require__(812);
var _intervalslider = __webpack_require__(812);
var _intervalslider = __webpack_require__(813);
var _multiselectlist = __webpack_require__(813);
var _multiselectlist = __webpack_require__(814);
var _yearmonthinterval = __webpack_require__(814);
var _yearmonthinterval = __webpack_require__(815);
var _numbereditor = __webpack_require__(815);
var _numbereditor = __webpack_require__(816);
var _combo15 = __webpack_require__(816);
var _combo15 = __webpack_require__(817);
var _linear = __webpack_require__(817);
var _linear = __webpack_require__(818);
var _img = __webpack_require__(818);
var _img = __webpack_require__(819);
var _combo16 = __webpack_require__(819);
var _combo16 = __webpack_require__(820);
var _combo17 = __webpack_require__(820);
var _combo17 = __webpack_require__(821);
var _listview = __webpack_require__(821);
var _listview = __webpack_require__(822);
var _middleFloat = __webpack_require__(822);
var _middleFloat = __webpack_require__(823);
var _popup2 = __webpack_require__(823);
var _popup2 = __webpack_require__(824);
var _controller = __webpack_require__(53);
var _controller2 = __webpack_require__(824);
var _controller2 = __webpack_require__(825);
var _popupCalendar = __webpack_require__(825);
var _popupCalendar = __webpack_require__(826);
var _tree2 = __webpack_require__(826);
var _tree2 = __webpack_require__(827);
var _textnode = __webpack_require__(827);
var _textnode = __webpack_require__(828);
var _popup3 = __webpack_require__(828);
var _popup3 = __webpack_require__(829);
var _button6 = __webpack_require__(829);
var _button6 = __webpack_require__(830);
var _router = __webpack_require__(830);
var _router = __webpack_require__(831);
var _datetime = __webpack_require__(831);
var _datetime = __webpack_require__(832);
var _float = __webpack_require__(832);
var _float = __webpack_require__(833);
var _layout10 = __webpack_require__(833);
var _layout10 = __webpack_require__(834);
var _colorchooserPopup = __webpack_require__(834);
var _colorchooserPopup = __webpack_require__(835);
var _blankicontextitem = __webpack_require__(835);
var _blankicontextitem = __webpack_require__(836);
var _controller3 = __webpack_require__(836);
var _controller3 = __webpack_require__(837);
var _pager = __webpack_require__(837);
var _pager2 = __webpack_require__(838);
var _timeinterval = __webpack_require__(838);
var _timeinterval = __webpack_require__(839);
var _datetimepane = __webpack_require__(839);
var _datetimepane = __webpack_require__(840);
var _singleselectlist = __webpack_require__(840);
var _singleselectlist = __webpack_require__(841);
var _multiselecttree = __webpack_require__(841);
var _multiselecttree = __webpack_require__(842);
var _html2 = __webpack_require__(842);
var _html2 = __webpack_require__(843);
var _pane3 = __webpack_require__(843);
var _pane3 = __webpack_require__(844);
var _layout11 = __webpack_require__(844);
var _layout11 = __webpack_require__(845);
var _multilayerselecttree3 = __webpack_require__(845);
var _multilayerselecttree3 = __webpack_require__(846);
var _selecttree = __webpack_require__(846);
var _selecttree = __webpack_require__(847);
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
@ -76773,8 +76782,6 @@ var _widget = __webpack_require__(0);
"use strict";
var _layer = __webpack_require__(51);
var _widget = __webpack_require__(0);
/***/ }),
@ -76784,7 +76791,9 @@ var _widget = __webpack_require__(0);
"use strict";
var _button = __webpack_require__(50);
var _layer = __webpack_require__(51);
var _widget = __webpack_require__(0);
/***/ }),
/* 809 */
@ -76793,7 +76802,7 @@ var _button = __webpack_require__(50);
"use strict";
var _single = __webpack_require__(2);
var _button = __webpack_require__(50);
/***/ }),
/* 810 */
@ -76802,7 +76811,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 811 */
@ -76820,7 +76829,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 813 */
@ -76847,7 +76856,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 816 */
@ -76874,7 +76883,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 819 */
@ -76883,7 +76892,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 820 */
@ -76910,7 +76919,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _layout = __webpack_require__(3);
var _widget = __webpack_require__(0);
/***/ }),
/* 823 */
@ -76919,7 +76928,7 @@ var _layout = __webpack_require__(3);
"use strict";
var _widget = __webpack_require__(0);
var _layout = __webpack_require__(3);
/***/ }),
/* 824 */
@ -76928,7 +76937,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _controller = __webpack_require__(53);
var _widget = __webpack_require__(0);
/***/ }),
/* 825 */
@ -76937,7 +76946,7 @@ var _controller = __webpack_require__(53);
"use strict";
var _widget = __webpack_require__(0);
var _controller = __webpack_require__(53);
/***/ }),
/* 826 */
@ -76946,6 +76955,8 @@ var _widget = __webpack_require__(0);
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 827 */
/***/ (function(module, exports, __webpack_require__) {
@ -76953,8 +76964,6 @@ var _widget = __webpack_require__(0);
"use strict";
var _button = __webpack_require__(46);
/***/ }),
/* 828 */
/***/ (function(module, exports, __webpack_require__) {
@ -76962,7 +76971,7 @@ var _button = __webpack_require__(46);
"use strict";
var _pane = __webpack_require__(14);
var _button = __webpack_require__(46);
/***/ }),
/* 829 */
@ -76971,7 +76980,7 @@ var _pane = __webpack_require__(14);
"use strict";
var _button = __webpack_require__(4);
var _pane = __webpack_require__(14);
/***/ }),
/* 830 */
@ -76980,6 +76989,8 @@ var _button = __webpack_require__(4);
"use strict";
var _button = __webpack_require__(4);
/***/ }),
/* 831 */
/***/ (function(module, exports, __webpack_require__) {
@ -76987,8 +76998,6 @@ var _button = __webpack_require__(4);
"use strict";
var _single = __webpack_require__(2);
/***/ }),
/* 832 */
/***/ (function(module, exports, __webpack_require__) {
@ -76996,7 +77005,7 @@ var _single = __webpack_require__(2);
"use strict";
var _layout = __webpack_require__(3);
var _single = __webpack_require__(2);
/***/ }),
/* 833 */
@ -77014,7 +77023,7 @@ var _layout = __webpack_require__(3);
"use strict";
var _widget = __webpack_require__(0);
var _layout = __webpack_require__(3);
/***/ }),
/* 835 */
@ -77023,7 +77032,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _button = __webpack_require__(4);
var _widget = __webpack_require__(0);
/***/ }),
/* 836 */
@ -77032,7 +77041,7 @@ var _button = __webpack_require__(4);
"use strict";
var _controller = __webpack_require__(53);
var _button = __webpack_require__(4);
/***/ }),
/* 837 */
@ -77041,7 +77050,7 @@ var _controller = __webpack_require__(53);
"use strict";
var _widget = __webpack_require__(0);
var _controller = __webpack_require__(53);
/***/ }),
/* 838 */
@ -77050,7 +77059,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 839 */
@ -77059,7 +77068,7 @@ var _single = __webpack_require__(2);
"use strict";
var _widget = __webpack_require__(0);
var _single = __webpack_require__(2);
/***/ }),
/* 840 */
@ -77068,7 +77077,7 @@ var _widget = __webpack_require__(0);
"use strict";
var _single = __webpack_require__(2);
var _widget = __webpack_require__(0);
/***/ }),
/* 841 */
@ -77086,7 +77095,7 @@ var _single = __webpack_require__(2);
"use strict";
var _abstract = __webpack_require__(47);
var _single = __webpack_require__(2);
/***/ }),
/* 843 */
@ -77095,7 +77104,7 @@ var _abstract = __webpack_require__(47);
"use strict";
var _abstract = __webpack_require__(30);
var _abstract = __webpack_require__(47);
/***/ }),
/* 844 */
@ -77104,7 +77113,7 @@ var _abstract = __webpack_require__(30);
"use strict";
var _layout = __webpack_require__(3);
var _abstract = __webpack_require__(30);
/***/ }),
/* 845 */
@ -77113,7 +77122,7 @@ var _layout = __webpack_require__(3);
"use strict";
var _pane = __webpack_require__(14);
var _layout = __webpack_require__(3);
/***/ }),
/* 846 */
@ -77122,10 +77131,18 @@ var _pane = __webpack_require__(14);
"use strict";
var _pane = __webpack_require__(14);
/***/ }),
/* 847 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(0);
/***/ }),
/* 847 */,
/* 848 */,
/* 849 */,
/* 850 */,
@ -77153,7 +77170,8 @@ var _widget = __webpack_require__(0);
/* 872 */,
/* 873 */,
/* 874 */,
/* 875 */
/* 875 */,
/* 876 */
/***/ (function(module, exports) {
;(function () {
@ -77316,7 +77334,6 @@ var _widget = __webpack_require__(0);
/***/ }),
/* 876 */,
/* 877 */,
/* 878 */,
/* 879 */,
@ -77350,7 +77367,8 @@ var _widget = __webpack_require__(0);
/* 907 */,
/* 908 */,
/* 909 */,
/* 910 */
/* 910 */,
/* 911 */
/***/ (function(module, exports) {
;(function () {
@ -77626,7 +77644,6 @@ var _widget = __webpack_require__(0);
/***/ }),
/* 911 */,
/* 912 */,
/* 913 */,
/* 914 */,
@ -77635,14 +77652,15 @@ var _widget = __webpack_require__(0);
/* 917 */,
/* 918 */,
/* 919 */,
/* 920 */
/* 920 */,
/* 921 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(921);
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(922);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(15)))
/***/ }),
/* 921 */
/* 922 */
/***/ (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"); } }
@ -79175,7 +79193,6 @@ var _widget = __webpack_require__(0);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61).setImmediate))
/***/ }),
/* 922 */,
/* 923 */,
/* 924 */,
/* 925 */,
@ -79380,13 +79397,13 @@ var _widget = __webpack_require__(0);
/* 1124 */,
/* 1125 */,
/* 1126 */,
/* 1127 */
/* 1127 */,
/* 1128 */
/***/ (function(module, exports) {
/***/ }),
/* 1128 */,
/* 1129 */,
/* 1130 */,
/* 1131 */,
@ -79706,7 +79723,8 @@ var _widget = __webpack_require__(0);
/* 1445 */,
/* 1446 */,
/* 1447 */,
/* 1448 */
/* 1448 */,
/* 1449 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(155);
@ -79823,7 +79841,7 @@ __webpack_require__(359);
__webpack_require__(173);
__webpack_require__(174);
__webpack_require__(175);
__webpack_require__(920);
__webpack_require__(921);
__webpack_require__(360);
__webpack_require__(361);
__webpack_require__(362);
@ -80207,9 +80225,9 @@ __webpack_require__(694);
__webpack_require__(695);
__webpack_require__(696);
__webpack_require__(697);
__webpack_require__(910);
__webpack_require__(875);
__webpack_require__(1127);
__webpack_require__(911);
__webpack_require__(876);
__webpack_require__(1128);
module.exports = __webpack_require__(698);

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

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, };

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-22 16:40:29 */
/*! time: 2021-9-23 15:50:30 */
/******/ (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

2
package.json

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

8
src/base/collection/collection.js

@ -279,14 +279,14 @@ BI.CollectionView = BI.inherit(BI.Widget, {
if (o.items.length > 0) {
this.container.setWidth(this._width);
this.container.setHeight(this._height);
this._debounceRelease();
// 元素未挂载时不能设置scrollTop
try {
this.element.scrollTop(o.scrollTop);
this.element.scrollLeft(o.scrollLeft);
} catch (e) {
}
this._debounceRelease();
this._calculateChildrenToRender();
}
},
@ -298,8 +298,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) {
@ -309,8 +309,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) {

27
src/base/grid/grid.js

@ -75,16 +75,19 @@ BI.GridView = BI.inherit(BI.Widget, {
_calculateSizeAndPositionData: function () {
var o = this.options;
this.rowCount = 0;
this.columnCount = 0;
if (BI.isNumber(o.columnCount)) {
this.columnCount = o.columnCount;
} else if (o.items.length > 0) {
this.options.columnCount = o.items[0].length;
this.columnCount = o.items[0].length;
}
if (BI.isNumber(o.rowCount)) {
this.rowCount = o.rowCount;
} else {
this.options.rowCount = o.items.length;
this.rowCount = o.items.length;
}
this._columnSizeAndPositionManager = new BI.ScalingCellSizeAndPositionManager(o.columnCount, o.columnWidthGetter, o.estimatedColumnSize);
this._rowSizeAndPositionManager = new BI.ScalingCellSizeAndPositionManager(o.rowCount, o.rowHeightGetter, o.estimatedRowSize);
this._columnSizeAndPositionManager = new BI.ScalingCellSizeAndPositionManager(this.columnCount, o.columnWidthGetter, o.estimatedColumnSize);
this._rowSizeAndPositionManager = new BI.ScalingCellSizeAndPositionManager(this.rowCount, o.rowHeightGetter, o.estimatedRowSize);
},
_getOverscanIndices: function (cellCount, overscanCellsCount, startIndex, stopIndex) {
@ -116,9 +119,9 @@ BI.GridView = BI.inherit(BI.Widget, {
this._renderedRowStartIndex = visibleRowIndices.start;
this._renderedRowStopIndex = visibleRowIndices.stop;
var overscanColumnIndices = this._getOverscanIndices(o.columnCount, overscanColumnCount, this._renderedColumnStartIndex, this._renderedColumnStopIndex);
var overscanColumnIndices = this._getOverscanIndices(this.columnCount, overscanColumnCount, this._renderedColumnStartIndex, this._renderedColumnStopIndex);
var overscanRowIndices = this._getOverscanIndices(o.rowCount, overscanRowCount, this._renderedRowStartIndex, this._renderedRowStopIndex);
var overscanRowIndices = this._getOverscanIndices(this.rowCount, overscanRowCount, this._renderedRowStartIndex, this._renderedRowStopIndex);
var columnStartIndex = overscanColumnIndices.overscanStartIndex;
var columnStopIndex = overscanColumnIndices.overscanStopIndex;
@ -245,11 +248,11 @@ BI.GridView = BI.inherit(BI.Widget, {
},
_getContainerWidth: function () {
return this.options.columnCount * this.options.estimatedColumnSize;
return this.columnCount * this.options.estimatedColumnSize;
},
_getContainerHeight: function () {
return this.options.rowCount * this.options.estimatedRowSize;
return this.rowCount * this.options.estimatedRowSize;
},
_populate: function (items) {
@ -262,14 +265,14 @@ BI.GridView = BI.inherit(BI.Widget, {
if (o.items.length > 0) {
this.container.setWidth(this._getContainerWidth());
this.container.setHeight(this._getContainerHeight());
// 元素未挂载时不能设置scrollTop
this._debounceRelease();
try {
this.element.scrollTop(o.scrollTop);
this.element.scrollLeft(o.scrollLeft);
} catch (e) {
}
this._debounceRelease();
this._calculateChildrenToRender();
}
},
@ -281,8 +284,8 @@ BI.GridView = 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) {
@ -292,8 +295,8 @@ BI.GridView = 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();
},
setColumnCount: function (columnCount) {

8
typescript/base/single/html/html.ts

@ -3,6 +3,14 @@ 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;

28
typescript/case/pager/pager.direction.ts

@ -0,0 +1,28 @@
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;
}

3
typescript/index.ts

@ -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";
@ -319,6 +320,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;
@ -545,4 +547,5 @@ export {
TdLayout,
MultiLayerSelectLevelTree,
SelectTreeExpander,
DirectionPager,
};

Loading…
Cancel
Save