Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~windy/fui

research/test
windy 1 year ago
parent
commit
22cad7d0ec
  1. BIN
      packages/fineui/dist/font/iconfont.eot
  2. 32
      packages/fineui/dist/font/iconfont.svg
  3. BIN
      packages/fineui/dist/font/iconfont.ttf
  4. BIN
      packages/fineui/dist/font/iconfont.woff
  5. BIN
      packages/fineui/dist/font/iconfont.woff2
  6. 12
      packages/fineui/src/case/colorchooser/colorchooser.popup.hex.js
  7. 2
      packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.js
  8. 6
      packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js
  9. 8
      packages/fineui/src/case/list/list.select.js
  10. 22
      packages/fineui/src/core/func/date.js

BIN
packages/fineui/dist/font/iconfont.eot vendored

Binary file not shown.

32
packages/fineui/dist/font/iconfont.svg vendored

@ -14,6 +14,20 @@
/>
<missing-glyph />
<glyph glyph-name="a-hengxiangonwanzhengonchicunda" unicode="&#60049;" d="M8 512a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h1008a8 8 0 0 1 8 8V504a8 8 0 0 1-8 8H8z m0-192a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h1008a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H8z" horiz-adv-x="1024" />
<glyph glyph-name="a-leixingjiesanzuhe" unicode="&#60048;" d="M384 306.316L589.684 512 672 594.316l92.028 92.028a8 8 0 0 0 11.316 0l39.596-39.6a8 8 0 0 0 0-11.312L723.508 544 640 460.492 435.508 256 352 172.492l-91.432-91.432a8 8 0 0 0-11.312 0l-39.6 39.596a8 8 0 0 0 0 11.316L301.684 224 384 306.316zM384 512h115.176l72 72H328a16 16 0 0 1-16-16v-243.176l72 72V512z m288 256v-83.176l-72-72V712H184v-416h99.176l-72-72H128a16 16 0 0 0-16 16V768a16 16 0 0 0 16 16h528a16 16 0 0 0 16-16z m70.02-296l72 72H896a16 16 0 0 0 16-16v-528a16 16 0 0 0-16-16H368a16 16 0 0 0-16 16v81.98l72 72V56h416V472h-97.98zM696 184h-241.98l72 72H640v113.98l72 72V200a16 16 0 0 0-16-16z" horiz-adv-x="1024" />
<glyph glyph-name="fasong" unicode="&#60047;" d="M270.7 360l243.456 235-55.56 57.56L112 318l346.596-334.56 55.56 57.56-247.6 239H913.6V696h-80v-336H270.7zM833.6 696h80V736h-80v-40z" horiz-adv-x="1024" />
<glyph glyph-name="AIzhuli" unicode="&#60046;" d="M372 411.944a36 36 0 0 0 36 36 36 36 0 0 0 36-36v-40a36 36 0 0 0-72 0v40zM580 411.944a36 36 0 0 0 36 36 36 36 0 0 0 36-36v-40a36 36 0 0 0-72 0v40zM920 395.944a36 36 0 0 0 36 36 36 36 0 0 0 36-36v-128a36 36 0 0 0-72 0v128zM32 395.944a36 36 0 0 0 36 36 36 36 0 0 0 36-36v-128a36 36 0 0 0-72 0v128zM600 531.948c125.92 0 228-102.08 228-228.004 0-125.92-102.08-228-228-228h-176c-125.92 0-228 102.08-228 228 0 125.924 102.08 228 228 228h176z m-176 72c-165.684 0-300-134.316-300-300.004 0-165.684 134.316-300 300-300h176c165.684 0 300 134.316 300 300 0 165.688-134.316 300-300 300h-176zM668.128 731.772c-9.384-21.732-4.916-45.96 9.492-62.812l-41.332-67.132a298.22 298.22 0 0 0 60.524-13.792l21.048 60.172c25.1-2.252 49.9 11.592 60.436 35.992 13.136 30.42-0.876 65.732-31.296 78.868-30.424 13.136-65.736-0.876-78.872-31.296zM308.796 581.08l-23.48 67.128c-25.104-2.252-49.9 11.592-60.44 35.992-13.132 30.42 0.88 65.732 31.3 78.868 30.424 13.136 65.732-0.876 78.872-31.296 9.384-21.732 4.912-45.96-9.496-62.812l43.132-70.048c-20.8-3.88-40.84-9.9-59.888-17.828z" horiz-adv-x="1024" />
<glyph glyph-name="a-shituyichuzuhe" unicode="&#60045;" d="M184 296V712h416v-128H328a16 16 0 0 1-16-16v-272H184z m712 288h-224V768a16 16 0 0 1-16 16H128a16 16 0 0 1-16-16v-528a16 16 0 0 1 16-16h184v-224a16 16 0 0 1 16-16h568a16 16 0 0 1 16 16V568a16 16 0 0 1-16 16zM384 512h456v-456H384V512z m348.28-116a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8v-109.364l-123.712 123.708a8 8 0 0 1-11.312 0l-39.6-39.596a8 8 0 0 1 0-11.316L609.092 236H500a8 8 0 0 1-8-8v-56a8 8 0 0 1 8-8h224.28a8 8 0 0 1 8 8v224z" horiz-adv-x="1024" />
<glyph glyph-name="a-shituzuhe" unicode="&#60044;" d="M384 256v-200h456V512h-200V712H184v-456h200z m-256-72a16 16 0 0 0-16 16V768a16 16 0 0 0 16 16h568a16 16 0 0 0 16-16v-184h184a16 16 0 0 0 16-16v-568a16 16 0 0 0-16-16H328a16 16 0 0 0-16 16v184H128z m360 456a8 8 0 0 0 8-8v-224a8 8 0 0 0-8-8H264a8 8 0 0 0-8 8v56a8 8 0 0 0 8 8h109.088L249.656 595.432a8 8 0 0 0 0 11.312l39.6 39.6a8 8 0 0 0 11.312 0L424 522.912V632a8 8 0 0 0 8 8h56z m40-504a8 8 0 0 1 8-8h56a8 8 0 0 1 8 8v109.088l122.536-122.536a8 8 0 0 1 11.316 0l39.596 39.596a8 8 0 0 1 0 11.316L650.912 296H760a8 8 0 0 1 8 8v56a8 8 0 0 1-8 8h-224a8 8 0 0 1-8-8v-224z" horiz-adv-x="1024" />
<glyph glyph-name="yonghu-kuan" unicode="&#60043;" d="M648.376 379.356C699.316 419.648 732 482.008 732 552c0 121.504-98.496 220-220 220S292 673.504 292 552c0-69.992 32.684-132.352 83.624-172.644C228.616 324.156 124 182.296 124 16c0-4.148 0.064-8.284 0.196-12.404A7.88 7.88 0 0 1 132.112-4h55.996c4.616 0 8.264 3.892 8.096 8.504A321.8 321.8 0 0 0 196 16c0 174.52 141.48 316 316 316s316-141.48 316-316c0-3.848-0.068-7.68-0.204-11.496-0.168-4.612 3.484-8.504 8.096-8.504h55.996a7.88 7.88 0 0 1 7.916 7.596c0.132 4.12 0.196 8.256 0.196 12.404 0 166.296-104.616 308.156-251.624 363.356zM512 404c-81.74 0-148 66.26-148 148 0 81.736 66.26 148 148 148s148-66.264 148-148c0-81.74-66.26-148-148-148z" horiz-adv-x="1024" />
<glyph glyph-name="denglurenzheng" unicode="&#60042;" d="M152 712v-620h380v-64H96a16 16 0 0 0-16 16V768a16 16 0 0 0 16 16h832a16 16 0 0 0 16-16v-428h-72V712H152zM532 266.988v93.748a213.808 213.808 0 0 1-29.192 18.916C528.236 404.684 544 439.5 544 478c0 76.216-61.784 138-138 138C329.784 616 268 554.216 268 478c0-38.5 15.768-73.316 41.192-98.348C236.524 340.636 188 259.172 188 168h64c0 97.84 71.664 172 154 172 50.868 0 97.66-28.304 126-73.012zM406 404c-40.868 0-74 33.132-74 74S365.132 552 406 552s74-33.132 74-74-33.132-74-74-74zM604 552h200v-68h-200V552zM804 412h-200v-68h200v68zM601.688 194.26l-49.256-49.256 142.532-142.532 220.512 220.512-49.256 49.252-171.256-171.256-93.276 93.28z" horiz-adv-x="1024" />
<glyph glyph-name="zifuchuan" unicode="&#60041;" d="M512 512h64V576H512V640H448V704H384v-64H320v-64h64v-64h64v-64h64V512zM448 576H384V640h64v-64z m0 0v-64h64V576H448zM384 896v-64H320v-128H256v-64H192v-64H128v-64H64v-128h128V448h64V512h64v-64h64v-64h64v-64h64V384h64V448h64V512h64v-64h256V896H384z m192-384v-64H512v-64H448V448H384V512H320V576H256v-64H192v-64H128V512h64V576h64V640h64V704h64V832h320v-256h-64v-64H576z m320 320v-320h-128V832h128zM128 192H64v-256h64v128h128v-128h64v256H256v64H128v-64z m0 0h128v-64H128v64zM384 256v-320h192v64h64v64H576v64h64v64H576v64H384z m192-64v-64H448v64h128z m0-128v-64H448v64h128zM768 256h128v-64h-128v64zM768 0h-64v192h64v-192zM896 0v-64h-128v64h128zM896 0v64h64v-64h-64zM896 192h64v-64h-64v64z" horiz-adv-x="1024" />
@ -82,7 +96,7 @@
<glyph glyph-name="meiyouquanxian" unicode="&#60009;" d="M252 416c0 4.42 2.956 8 6.6 8h514.8c3.644 0 6.6-3.58 6.6-8v-64c0-4.42-2.956-8-6.6-8H258.6c-3.644 0-6.6 3.58-6.6 8v64z" horiz-adv-x="1032" />
<glyph glyph-name="a-Frame7738" unicode="&#60008;" d="M0 896h5120v-256H0zM0 128h5120v-256H0z" horiz-adv-x="5120" />
<glyph glyph-name="a-Frame7738" unicode="&#60008;" d="M8 512a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h1008a8 8 0 0 1 8 8V504a8 8 0 0 1-8 8H8z m0-192a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h1008a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H8z" horiz-adv-x="5120" />
<glyph glyph-name="liuliangjiankong" unicode="&#60007;" d="M665.6 384a25.6 25.6 0 0 1-51.2 0A102.4 102.4 0 0 0 512 281.6a25.6 25.6 0 1 1 0-51.2A153.6 153.6 0 0 1 665.6 384zM768 390.72C768 245.632 653.44 128 512 128S256 245.632 256 390.72c0 117.632 168.256 346.688 231.936 429.248a30.08 30.08 0 0 0 48.128 0C599.68 737.408 768 508.352 768 390.72z m-64 0c0 15.68-6.208 41.984-21.888 78.72a933.632 933.632 0 0 1-60.48 114.304A2143.36 2143.36 0 0 1 512 744.704a2143.36 2143.36 0 0 1-109.632-160.96c-24.128-39.68-45.44-78.976-60.48-114.24C326.208 432.64 320 406.4 320 390.784c0-108.864 85.952-197.12 192-197.12s192 88.256 192 197.12z m-544.512-366.4a82.752 82.752 0 0 1 107.712 0 146.752 146.752 0 0 0 190.976 0 82.752 82.752 0 0 1 107.648 0 146.752 146.752 0 0 0 190.976 0 82.752 82.752 0 0 1 107.712 0l74.688 64a32 32 0 1 0 41.6-48.64l-74.624-64a146.688 146.688 0 0 0-190.976 0 82.752 82.752 0 0 1-107.712 0 146.752 146.752 0 0 0-190.976 0 82.752 82.752 0 0 1-107.712 0 146.752 146.752 0 0 0-190.976 0l-74.624 64a32 32 0 1 0 41.6 48.64l74.688-64zM258.88 181.376a82.752 82.752 0 0 0-99.392 6.272l-50.368 43.136a32 32 0 0 1-41.6-48.64l50.304-43.136a146.752 146.752 0 0 1 187.136-3.2 312.576 312.576 0 0 0-46.08 45.568z m460.16-45.504c54.848-43.904 133.44-42.88 187.136 3.2l50.368 43.136a32 32 0 0 1-41.664 48.64l-50.368-43.2a82.752 82.752 0 0 0-99.392-6.272c-13.696-16.64-29.12-31.936-46.08-45.504z" horiz-adv-x="1024" />
@ -370,7 +384,7 @@
<glyph glyph-name="fenxishitu" unicode="&#59865;" d="M896 532V752a16 16 0 0 1-16 16h-161.716c-13 35.036-46.728 60-86.284 60H392c-39.56 0-73.28-24.964-86.28-60H144a16 16 0 0 1-16-16v-752a16 16 0 0 1 16-16h256v64H200a8 8 0 0 0-8 8V696a8 8 0 0 0 8 8h105.72C318.72 668.964 352.44 644 392 644h240c39.556 0 73.284 24.964 86.284 60H824a8 8 0 0 0 8-8v-164h64zM392 708a28 28 0 1 0 0 56h240a28 28 0 1 0 0-56H392zM531.608 148.596a16 16 0 0 1-4.672-11.3v-135.776a16 16 0 0 1 16-16h135.752a16.016 16.016 0 0 1 11.332 4.7l295.248 296.092a16.004 16.004 0 0 1-0.016 22.612l-135.764 135.764a16 16 0 0 1-22.644-0.016l-295.236-296.076z m59.328-31.14l247.284 247.988 67.884-67.884-247.34-248.04h-67.828v67.936zM779.256 503.432a8 8 0 0 1 0 11.312l-39.6 39.6a8 8 0 0 1-11.312 0l-150.888-150.888-148.344 148.344a8 8 0 0 1-11.312 0l-172.144-172.144a8 8 0 0 1 0-11.312l39.6-39.6a8 8 0 0 1 11.312 0l126.888 126.888 148.344-148.344a8 8 0 0 1 11.312 0l196.144 196.144z" horiz-adv-x="1024" />
<glyph glyph-name="zhutixieyuan" unicode="&#59866;" d="M720 688v-136h176V688h-176z m-48 64h272a16 16 0 0 0 16-16v-232a16 16 0 0 0-16-16h-272a16 16 0 0 0-16 16V588h-58.116a32 32 0 0 1-30.308-21.728l-50.54-149.092a95.828 95.828 0 0 0-19.36-33.18 95.828 95.828 0 0 0 19.36-33.18l50.54-149.092a32 32 0 0 1 30.308-21.728H656v84a16 16 0 0 0 16 16h272a16 16 0 0 0 16-16v-232a16 16 0 0 0-16-16h-272a16 16 0 0 0-16 16v84h-58.116a96 96 0 0 0-90.92 65.18l-50.54 149.092a32 32 0 0 1-30.308 21.728H368v-84a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16V500a16 16 0 0 0 16 16h272a16 16 0 0 0 16-16v-84h58.116a32 32 0 0 1 30.308 21.728l50.54 149.092A96 96 0 0 0 597.884 652H656V736a16 16 0 0 0 16 16zM128 452v-136h176v136H128z m592-372h176v136h-176v-136z" horiz-adv-x="1024" />
<glyph glyph-name="zhutixieyuan" unicode="&#59866;" d="M304 688v-136H128V688h176z m48 64H80a16 16 0 0 1-16-16v-232a16 16 0 0 1 16-16h272a16 16 0 0 1 16 16V588h58.116a32 32 0 0 0 30.308-21.728l50.54-149.092a95.828 95.828 0 0 1 19.36-33.18 95.828 95.828 0 0 1-19.36-33.18l-50.54-149.092a32 32 0 0 0-30.308-21.728H368v84a16 16 0 0 1-16 16H80a16 16 0 0 1-16-16v-232a16 16 0 0 1 16-16h272a16 16 0 0 1 16 16v84h58.116a96 96 0 0 1 90.92 65.18l50.54 149.092a32 32 0 0 0 30.308 21.728H656v-84a16 16 0 0 1 16-16h272a16 16 0 0 1 16 16V500a16 16 0 0 1-16 16h-272a16 16 0 0 1-16-16v-84h-58.116a32 32 0 0 0-30.308 21.728l-50.54 149.092A96 96 0 0 1 426.116 652H368V736a16 16 0 0 1-16 16z m544-300v-136h-176v136h176zM304 80H128v136h176v-136z" horiz-adv-x="1024" />
<glyph glyph-name="quanbuzhankai" unicode="&#59863;" d="M152 752a16 16 0 0 0 16 16h688a16 16 0 0 0 16-16v-264a16 16 0 0 0-16-16H168a16 16 0 0 0-16 16V752z m64-48v-168h592V704H216zM218.628 375.312a15.992 15.992 0 0 0 22.628 0l272.224-272.224 271.836 271.836a16 16 0 0 0 22.628 0l33.94-33.944a16 16 0 0 0 0-22.628l-316.784-316.78a15.992 15.992 0 0 0-17.636-3.388 15.916 15.916 0 0 0-5.992 3.776l-316.784 316.784a16 16 0 0 0 0 22.628l33.94 33.94z" horiz-adv-x="1024" />
@ -462,7 +476,7 @@
<glyph glyph-name="a-paixumoren" unicode="&#59814;" d="M543.707573 739.4979920000001a8.094862 8.094862 0 0 1-8.094862 8.094862H120.07513a8.094862 8.094862 0 0 1-8.094861-8.094862V669.343874a8.094862 8.094862 0 0 1 8.094861-8.094862h415.537581a8.094862 8.094862 0 0 1 8.094862 8.094862V739.4979920000001z m215.861629-133.565217v-164.59687a8.094862 8.094862 0 0 1 8.094861-8.094862H837.818182a8.094862 8.094862 0 0 1 8.094861 8.094862V605.932775h111.409582c6.998008 0 10.69736 8.281043 6.030671 13.494134l-154.579478 172.695779a8.094862 8.094862 0 0 1-12.065391 0l-154.579478-172.695779c-4.666688-5.213091-0.967336-13.494134 6.030672-13.494134h111.409581z m0-431.727305h-111.409581c-6.998008 0-10.69736-8.276996-6.030672-13.494134l154.579478-172.691731a8.094862 8.094862 0 0 1 12.065391 0l154.579478 172.691731c4.666688 5.217138 0.967336 13.494134-6.030671 13.494134H845.913043v164.59687a8.094862 8.094862 0 0 1-8.094861 8.094862h-70.154119a8.094862 8.094862 0 0 1-8.094861-8.094862v-164.59687zM543.707573 110.79841899999997a8.094862 8.094862 0 0 1-8.094862 8.094862H120.07513a8.094862 8.094862 0 0 1-8.094861-8.094862v-70.158166a8.094862 8.094862 0 0 1 8.094861-8.094862h415.537581a8.094862 8.094862 0 0 1 8.094862 8.094862V110.79841899999997z m86.343842 314.347763a8.094862 8.094862 0 0 1-8.094862 8.094861h-501.881423a8.094862 8.094862 0 0 1-8.094861-8.094861v-70.154119a8.094862 8.094862 0 0 1 8.094861-8.094861h501.881423a8.094862 8.094862 0 0 1 8.094862 8.094861v70.154119z" horiz-adv-x="1036" />
<glyph glyph-name="a-paixushunxu" unicode="&#59815;" d="M883.208 409.992c8.38-10.476 0.92-25.992-12.496-25.992H648v-360a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8V616l0.004 0.188v122.2c0 15.12 19.044 21.8 28.492 9.992l270.712-338.388zM140.796 358.01199999999994c-8.384 10.48-0.924 25.996 12.492 25.996H376V744.004a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-592l-0.004-0.26v-122.124c0-15.124-19.044-21.804-28.492-9.992l-270.712 338.384z" horiz-adv-x="1036" />
<glyph glyph-name="a-paixushunxu" unicode="&#59815;" d="M797.55434-11.134482000000048a8.094862 8.094862 0 0 1 13.069154 0l156.740806 214.291225c3.909818 5.350704 0.093091 12.874877-6.532553 12.874878h-113.570909V738.150198a8.094862 8.094862 0 0 1-8.094862 8.094861H769.011858a8.094862 8.094862 0 0 1-8.094862-8.094861v-522.118577h-113.566862c-6.625644 0-10.446419-7.524174-6.5366-12.874878l156.740806-214.291225zM580.130403 659.901217a8.094862 8.094862 0 0 1 8.094862 8.094862V738.150198a8.094862 8.094862 0 0 1-8.094862 8.094861H121.422925a8.094862 8.094862 0 0 1-8.094862-8.094861v-70.154119a8.094862 8.094862 0 0 1 8.094862-8.094862h458.707478z m0-314.35181a8.094862 8.094862 0 0 1 8.094862 8.094862v70.154118a8.094862 8.094862 0 0 1-8.094862 8.094862H121.422925a8.094862 8.094862 0 0 1-8.094862-8.094862V353.644269a8.094862 8.094862 0 0 1 8.094862-8.094862h458.707478zM493.786561 31.197596999999973a8.094862 8.094862 0 0 1 8.094862 8.094861v70.158167a8.094862 8.094862 0 0 1-8.094862 8.094861H121.422925a8.094862 8.094862 0 0 1-8.094862-8.094861v-70.158167a8.094862 8.094862 0 0 1 8.094862-8.094861h372.363636z" horiz-adv-x="1036" />
<glyph glyph-name="a-Property1fenzuhuizongduoseoffhuihuaoff" unicode="&#59816;" d="M236 748a16 16 0 0 1-16-16v-220a16 16 0 0 1 16-16h248v-92H248a8 8 0 0 1-8-8v-120H88a16 16 0 0 1-16-16v-220a16 16 0 0 1 16-16h348a16 16 0 0 1 16 16v220a16 16 0 0 1-16 16H296v72h432v-72h-140a16 16 0 0 1-16-16v-220a16 16 0 0 1 16-16h348a16 16 0 0 1 16 16v220a16 16 0 0 1-16 16h-152v120a8 8 0 0 1-8 8h-236v92h244a16 16 0 0 1 16 16V732a16 16 0 0 1-16 16H236z m508-56v-140H276V692h468zM396 220v-140H128v140h268z m232 0h268v-140h-268v140z" horiz-adv-x="1024" />
@ -842,7 +856,7 @@
<glyph glyph-name="shujukaifa1" unicode="&#59590;" d="M120 740a8 8 0 0 1-8-8v-256a8 8 0 0 1 8-8h88v-115.044a8 8 0 0 1 8-8h520V300H120a8 8 0 0 1-8-8v-256a8 8 0 0 1 8-8h784a8 8 0 0 1 8 8v256a8 8 0 0 1-8 8h-88v116.956a8 8 0 0 1-8 8H288V468h616a8 8 0 0 1 8 8V732a8 8 0 0 1-8 8H120z m96-96h64a8 8 0 0 0 8-8v-64a8 8 0 0 0-8-8H216a8 8 0 0 0-8 8V636a8 8 0 0 0 8 8z m136-8a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-64a8 8 0 0 0-8-8H360a8 8 0 0 0-8 8V636z m152 8h304a8 8 0 0 0 8-8v-64a8 8 0 0 0-8-8h-304a8 8 0 0 0-8 8V636a8 8 0 0 0 8 8zM216 204h64a8 8 0 0 0 8-8v-64a8 8 0 0 0-8-8H216a8 8 0 0 0-8 8v64a8 8 0 0 0 8 8z m136-8a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-64a8 8 0 0 0-8-8H360a8 8 0 0 0-8 8v64z m152 8h304a8 8 0 0 0 8-8v-64a8 8 0 0 0-8-8h-304a8 8 0 0 0-8 8v64a8 8 0 0 0 8 8z" horiz-adv-x="1024" />
<glyph glyph-name="icontuozhuai" unicode="&#59588;" d="M192 576m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM192 192m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM512 576m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM512 192m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM832 576m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM832 192m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0Z" horiz-adv-x="1024" />
<glyph glyph-name="icontuozhuai" unicode="&#59588;" d="M304 712a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8V704a8 8 0 0 1-8 8H304z m0-280a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v80a8 8 0 0 1-8 8H304z m-8-288a8 8 0 0 0 8 8h80a8 8 0 0 0 8-8v-80a8 8 0 0 0-8-8H304a8 8 0 0 0-8 8v80z m344 568a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8V704a8 8 0 0 1-8 8h-80z m-8-288a8 8 0 0 0 8 8h80a8 8 0 0 0 8-8v-80a8 8 0 0 0-8-8h-80a8 8 0 0 0-8 8v80z m8-272a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v80a8 8 0 0 1-8 8h-80z" horiz-adv-x="1024" />
<glyph glyph-name="xiazaimoban" unicode="&#59581;" d="M896 294.4a38.4 38.4 0 0 0 38.4-38.4v-256a38.4 38.4 0 0 0-38.4-38.4H128a38.4 38.4 0 0 0-38.4 38.4v256a38.4 38.4 0 1 0 76.8 0v-217.6h691.2V256a38.4 38.4 0 0 0 38.4 38.4zM512 768a38.4 38.4 0 0 0 38.4-38.4v-472.32l115.52 115.456a38.4 38.4 0 0 0 54.4-54.272l-181.12-181.056a38.4 38.4 0 0 0-54.4 0l-181.12 181.056a38.4 38.4 0 1 0 54.4 54.272L473.6 257.28V729.6A38.4 38.4 0 0 0 512 768z" horiz-adv-x="1024" />
@ -1452,13 +1466,13 @@
<glyph glyph-name="normal32" unicode="&#59098;" d="M618.944 369.664l-180.992-180.992a32 32 0 0 0-45.248 45.248L551.04 392.32 392.704 550.72a32 32 0 1 0 45.248 45.248l180.992-180.992a32 32 0 0 0 0-45.312z" horiz-adv-x="1024" />
<glyph glyph-name="normal48" unicode="&#59270;" d="M876 732a8 8 0 0 1-8 8H428a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h47.768l131.152-226.14c0.708-1.216 1.08-2.604 1.08-4.012v-400.204c0-6.108 6.576-9.964 11.908-6.98l64 35.82a8.004 8.004 0 0 1 4.092 6.984v364.38c0 1.408 0.372 2.796 1.08 4.012L820.232 676H868a8 8 0 0 1 8 8V732zM169.992 332.004c-13.748 0-21.092-16.192-12.04-26.536l228.74-261.416c9.728-11.12 28.04-4.24 28.04 10.536v245.004a3.616 3.616 0 0 1 0.008 0.212l0.004 0.196V592a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8v-259.996H169.992z" horiz-adv-x="1024" />
<glyph glyph-name="normal48" unicode="&#59270;" d="M462.324 226.55999999999995a8 8 0 0 1 0 11.312l-33.94 33.944a8 8 0 0 1-11.316 0l-120.716-120.72V728.908a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8v-577.848l-120.756 120.752a8 8 0 0 1-11.312 0l-33.94-33.94a8 8 0 0 1 0-11.312l192.332-192.336a8 8 0 0 1 11.316 0l192.332 192.336zM960 728a8 8 0 0 1-8 8H432a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h47.768l163.18-286.156c0.688-1.208 1.052-2.572 1.052-3.964v-340.352c0-6.084 6.52-9.94 11.852-7.012l80 43.98a8 8 0 0 1 4.148 7.012V381.88a8 8 0 0 0 1.048 3.964l163.184 286.16H952a8 8 0 0 1 8 8V728z" horiz-adv-x="1024" />
<glyph glyph-name="shuzhixiala" unicode="&#59384;" d="M451.968 312H520a8 8 0 0 1 8 8V776a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-328.5L194.4 780.844A8 8 0 0 1 188.04 784H120a8 8 0 0 1-8-8v-456a8 8 0 0 1 8-8h64.008a8 8 0 0 1 8 7.988l0.416 328.512L445.6 315.15999999999997c1.512-1.992 3.868-3.16 6.368-3.16zM652 672h248c13.184 0 20.712-15.052 12.8-25.6l-124-165.332c-6.4-8.536-19.2-8.536-25.6 0l-124 165.332c-7.912 10.548-0.384 25.6 12.8 25.6zM112 216a8 8 0 0 0 8 8h784a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8H120a8 8 0 0 0-8 8v56zM112 48a8 8 0 0 0 8 8h784a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8H120a8 8 0 0 0-8 8v56zM640 384a8 8 0 0 0 8 8h256a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8h-256a8 8 0 0 0-8 8v56z" horiz-adv-x="1024" />
<glyph glyph-name="normal33" unicode="&#59099;" d="M483.2 279.168L302.208 460.224a32 32 0 0 0 45.248 45.248l158.4-158.4 158.4 158.4a32 32 0 1 0 45.248-45.248L528.448 279.168a32 32 0 0 0-45.248 0z" horiz-adv-x="1024" />
<glyph glyph-name="normal49" unicode="&#59271;" d="M604 732a8 8 0 0 1-8 8H156a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h47.768l131.152-226.14c0.708-1.216 1.08-2.604 1.08-4.012v-400.204c0-6.108 6.576-9.964 11.908-6.98l64 35.82a8.004 8.004 0 0 1 4.092 6.984v364.38c0 1.408 0.372 2.796 1.08 4.012L548.232 676H596a8 8 0 0 1 8 8V732z m248.768-424c13.748 0 21.096 16.188 12.044 26.536l-228.74 261.416c-9.728 11.12-28.044 4.24-28.044-10.536V324c0-0.776 0.056-1.536 0.164-2.28a7.84 7.84 0 0 1-0.188-1.72v-272a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v260h180.764z" horiz-adv-x="1024" />
<glyph glyph-name="normal49" unicode="&#59271;" d="M462.324 542.2280000000001a8 8 0 0 0 0-11.312l-33.94-33.94c-3.124-3.124-8.192-3.124-11.316 0L296.352 617.692V39.879999999999995a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8V617.7280000000001L111.596 496.976a8 8 0 0 0-11.312 0l-33.94 33.94a8 8 0 0 0 0 11.316L258.676 734.56a8 8 0 0 0 11.316 0l192.332-192.336zM960 728a8 8 0 0 1-8 8H432a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h47.768l163.18-286.156c0.688-1.208 1.052-2.576 1.052-3.964v-340.352c0-6.084 6.52-9.94 11.852-7.012l80 43.98a8 8 0 0 1 4.148 7.012V381.88c0 1.388 0.36 2.756 1.048 3.964l163.184 286.16H952a8 8 0 0 1 8 8V728z" horiz-adv-x="1024" />
<glyph glyph-name="excelshujuji-chuli" unicode="&#59435;" d="M864 800a64 64 0 0 0 64-64v-704a64 64 0 0 0-64-64h-704a64 64 0 0 0-64 64v704a64 64 0 0 0 64 64h704z m-512-448h-192v-320h192v64h-128v64h128v64h-128v64h128v64z m256 0h-192v-64h64v-256h64v256h64v64z m128 0h-64v-320h192v64h-128v256z m-256 192h-320v-128h320v128z m192 0h-128v-128h128v128z m192 0h-128v-128h128v128z m-384 192h-320v-128h320v128z m64 0v-128h128v128h-128z m192-128h128v128h-128v-128zM256 768h64v-384H256z" horiz-adv-x="1024" />
@ -2032,7 +2046,7 @@
<glyph glyph-name="tiaoyongrenwu" unicode="&#59531;" d="M274 816H96a16 16 0 0 1-16-16v-552a16 16 0 0 1 16-16h516a16 16 0 0 1 16 16V800a16 16 0 0 1-16 16h-174c-12.8-32.78-44.688-56-82-56s-69.2 23.22-82 56zM176.28 544.352l152.852 117.156c5.264 4.032 12.868 0.28 12.868-6.352v-55.908C450.66 590.1120000000001 536 499.024 536 388v-44.732C518.94 421.456 449.304 480 366 480h-24v-59.156c0-6.632-7.604-10.384-12.868-6.348L176.284 531.652a8 8 0 0 0 0 12.7zM668 179.41600000000005a16 16 0 0 1 16 16V736a16 16 0 0 0 16 16h228a16 16 0 0 0 16-16v-768a16 16 0 0 0-16-16H160a16 16 0 0 0-16 16v195.416a16 16 0 0 0 16 16h508zM756 680v-484.584c0-48.6-39.4-88-88-88H216V24h656V680h-116z" horiz-adv-x="1024" />
<glyph glyph-name="paixu_daoxu" unicode="&#58929;" d="M883.208 409.992c8.38-10.476 0.92-25.992-12.496-25.992H648v-360a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8V616l0.004 0.188v122.2c0 15.12 19.044 21.8 28.492 9.992l270.712-338.388zM140.796 358.01199999999994c-8.384 10.48-0.924 25.996 12.492 25.996H376V744.004a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-592l-0.004-0.26v-122.124c0-15.124-19.044-21.804-28.492-9.992l-270.712 338.384z" horiz-adv-x="1024" />
<glyph glyph-name="paixu_daoxu" unicode="&#58929;" d="M797.55434 789.92898a8.094862 8.094862 0 0 0 13.069154 0l156.740806-214.295272c3.909818-5.342609 0.093091-12.87083-6.532553-12.870831h-113.570909v-522.118577a8.094862 8.094862 0 0 0-8.094862-8.094861H769.011858a8.094862 8.094862 0 0 0-8.094862 8.094861v522.118577h-113.566862c-6.625644 0-10.446419 7.528221-6.5366 12.870831l156.740806 214.295272zM580.130403 118.893281a8.094862 8.094862 0 0 0 8.094862-8.094862v-70.154119a8.094862 8.094862 0 0 0-8.094862-8.094861H121.422925a8.094862 8.094862 0 0 0-8.094862 8.094861V110.79841899999997a8.094862 8.094862 0 0 0 8.094862 8.094862h458.707478z m0 314.35181a8.094862 8.094862 0 0 0 8.094862-8.094862v-70.158166a8.094862 8.094862 0 0 0-8.094862-8.094861H121.422925a8.094862 8.094862 0 0 0-8.094862 8.094861v70.158166a8.094862 8.094862 0 0 0 8.094862 8.094862h458.707478zM493.786561 747.592854a8.094862 8.094862 0 0 0 8.094862-8.094862V669.343874a8.094862 8.094862 0 0 0-8.094862-8.094862H121.422925a8.094862 8.094862 0 0 0-8.094862 8.094862V739.4979920000001a8.094862 8.094862 0 0 0 8.094862 8.094862h372.363636z" horiz-adv-x="1024" />
<glyph glyph-name="cebianlan-guolvzujian" unicode="&#59300;" d="M533.333333 373.12V85.333333a21.333333 21.333333 0 1 0-42.666666 0v286.336L242.816 514.858667a21.333333 21.333333 0 1 0 21.333333 36.949333l246.613334-142.464 246.570666 142.464a21.333333 21.333333 0 0 0 21.333334-36.949333l-245.333334-141.738667z m32 431.36l284.16-164.053333a106.666667 106.666667 0 0 0 53.333334-92.373334v-328.106666a106.666667 106.666667 0 0 0-53.333334-92.373334l-284.16-164.096a106.666667 106.666667 0 0 0-106.666666 0L174.506667 127.573333a106.666667 106.666667 0 0 0-53.333334 92.373334v328.106666A106.666667 106.666667 0 0 0 174.506667 640.426667l284.16 164.096a106.666667 106.666667 0 0 0 106.666666 0z m-21.333333-36.906667a64 64 0 0 1-64 0L195.84 603.477333a64 64 0 0 1-32-55.424v-328.106666a64 64 0 0 1 32-55.466667l284.16-164.053333a64 64 0 0 1 64 0l284.16 164.096a64 64 0 0 1 32 55.424v328.106666a64 64 0 0 1-32 55.466667L544 767.573333z" horiz-adv-x="1024" />
@ -2202,11 +2216,11 @@
<glyph glyph-name="chenggong1" unicode="&#59102;" d="M336.78431651 798.83649023a451.56709776 451.56709776 0 0 1-143.32249161-96.29831426A451.56709776 451.56709776 0 0 1 97.16350977 559.21568349 440.99228232 440.99228232 0 0 1 62.007875 384a440.99228232 440.99228232 0 0 1 35.15563477-175.21568349 451.56709776 451.56709776 0 0 1 96.29831513-143.32249248 451.56709776 451.56709776 0 0 1 143.32249161-96.29831426A440.99228232 440.99228232 0 0 1 512-65.99212499999999a440.99228232 440.99228232 0 0 1 175.21568349 35.15563477 451.56709776 451.56709776 0 0 1 143.32249248 96.29831425 451.56709776 451.56709776 0 0 1 96.29831426 143.32249249A440.99228232 440.99228232 0 0 1 961.992125 384a440.99228232 440.99228232 0 0 1-35.15563477 175.21568349 451.56709776 451.56709776 0 0 1-96.29831425 143.32249248A451.56709776 451.56709776 0 0 1 687.21568349 798.83649023 440.99228232 440.99228232 0 0 1 512 833.992125a440.99228232 440.99228232 0 0 1-175.21568349-35.15563477z m119.64165644-633.70140996A21.59962208 21.59962208 0 0 0 441.12624013 159.0039375a21.59962208 21.59962208 0 0 0-15.24348281 6.1873919l-6.52488574 6.13114277L237.27980761 343.5007084A19.12466513 19.12466513 0 0 0 230.75492187 357.90045703a19.12466513 19.12466513 0 0 0 6.52488575 14.39974776l44.71796777 42.01801435a21.59962208 21.59962208 0 0 0 15.24348281 6.1873919c5.84989805 0 10.91230928-2.08121396 15.2434837-6.1873919L441.12624013 292.31410488999995l270.38901885 254.35804833a21.59962208 21.59962208 0 0 0 15.1872337 6.13114277c5.84989805 0 10.9685584-2.02496484 15.29973281-6.18739188l44.71796689-42.01801437a19.12466513 19.12466513 0 0 0 6.52488574-14.34349951 19.12466513 19.12466513 0 0 0-6.52488574-14.34349862l-330.29421943-310.71956221z" horiz-adv-x="1024" />
<glyph glyph-name="moye" unicode="&#58935;" d="M122.908 713.3679999999999a8 8 0 0 0-2.012 11.132l36.472 52.588a8 8 0 0 0 11.132 2.016l550.732-381.956c9.172-6.364 9.172-19.932 0-26.296l-550.732-381.96a8 8 0 0 0-11.132 2.016l-36.472 52.588a8 8 0 0 0 2.012 11.136l465.424 322.792a8 8 0 0 1 0 13.148L122.908 713.3679999999999zM832 728a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-688a8 8 0 0 0-8-8h-64a8 8 0 0 0-8 8V728z" horiz-adv-x="1024" />
<glyph glyph-name="moye" unicode="&#58935;" d="M712 736a8 8 0 0 1-8-8v-688a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8V728a8 8 0 0 1-8 8h-64zM278.912 730.7760000000001a8 8 0 0 1-11.312 0L222.344 685.52a8 8 0 0 1 0-11.316l290.548-290.548-289.864-289.864a8 8 0 0 1 0-11.316l45.256-45.252a8 8 0 0 1 11.316 0l340.98 340.98a8 8 0 0 1 0 11.316l-45.256 45.252a7.92 7.92 0 0 1-1.724 1.316L278.912 730.7719999999999z" horiz-adv-x="1024" />
<glyph glyph-name="yichangbaocuo" unicode="&#59141;" d="M512-65.99212499999999a440.99228232 440.99228232 0 0 0-175.21568349 35.15563477 451.56709776 451.56709776 0 0 0-143.32249161 96.29831425 451.56709776 451.56709776 0 0 0-96.29831513 143.32249249A440.99228232 440.99228232 0 0 0 62.007875 384a440.99228232 440.99228232 0 0 0 35.15563477 175.21568349 451.56709776 451.56709776 0 0 0 96.29831513 143.32249248A451.56709776 451.56709776 0 0 0 336.78431651 798.83649023 440.99228232 440.99228232 0 0 0 512 833.992125a440.99228232 440.99228232 0 0 0 175.21568349-35.15563477 451.56709776 451.56709776 0 0 0 143.32249248-96.29831425 451.56709776 451.56709776 0 0 0 96.29831426-143.32249249A440.99228232 440.99228232 0 0 0 961.992125 384a440.99228232 440.99228232 0 0 0-35.15563477-175.21568349 451.56709776 451.56709776 0 0 0-96.29831425-143.32249248 451.56709776 451.56709776 0 0 0-143.32249249-96.29831426A440.99228232 440.99228232 0 0 0 512-65.99212499999999z m206.60263417 580.88358457a21.37462559 21.37462559 0 0 1 6.46863751 15.6934749 21.37462559 21.37462559 0 0 1-6.4686375 15.69347579l-46.51793525 45.39295546a20.75588701 20.75588701 0 0 1-30.2619709 0L512 461.90488682 381.10854043 591.67136572a20.75588701 20.75588701 0 0 1-30.26197002 0l-46.51793614-45.39295546a23.68083516 23.68083516 0 0 1-5.39990507-15.7497249c0-6.07489365 1.79996836-11.30605224 5.39990507-15.63722579l130.89145958-129.82272803-130.89145957-129.76647891a23.68083516 23.68083516 0 0 1-5.39990508-15.7497249c0-6.07489365 1.79996836-11.30605224 5.39990507-15.63722666l46.51793614-45.44920459a20.75588701 20.75588701 0 0 1 30.26197001 0L512 308.28882451000004l129.82272803-129.82272803a20.75588701 20.75588701 0 0 1 30.2619709 0l46.51793525 45.44920459a21.37462559 21.37462559 0 0 1 6.4686375 15.69347578 21.37462559 21.37462559 0 0 1-6.4686375 15.69347578L587.71117549 385.06873154l130.89145869 129.82272803z" horiz-adv-x="1024" />
<glyph glyph-name="shouye" unicode="&#58936;" d="M901.092 713.3679999999999a8 8 0 0 1 2.012 11.132l-36.472 52.588a8 8 0 0 1-11.132 2.016L304.768 397.148c-9.176-6.364-9.176-19.932 0-26.296l550.732-381.96a8 8 0 0 1 11.132 2.016l36.472 52.588a8 8 0 0 1-2.012 11.136l-465.424 322.792a8 8 0 0 0 0 13.148l465.424 322.796zM192 728a8 8 0 0 1-8 8H120a8 8 0 0 1-8-8v-688a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8V728z" horiz-adv-x="1024" />
<glyph glyph-name="shouye" unicode="&#58936;" d="M312 736a8 8 0 0 0 8-8v-688a8 8 0 0 0-8-8H248a8 8 0 0 0-8 8V728a8 8 0 0 0 8 8h64z m432.012-5.224a8 8 0 0 0 11.312 0l45.256-45.256a8 8 0 0 0 0-11.316l-290.548-290.548 289.864-289.864a8 8 0 0 0 0-11.316l-45.256-45.252a8 8 0 0 0-11.316 0l-340.98 340.98a8 8 0 0 0 0 11.316l45.256 45.252a7.92 7.92 0 0 0 1.724 1.316l294.688 294.684z" horiz-adv-x="1024" />
<glyph glyph-name="jiejuecuoshi" unicode="&#59142;" d="M393.36 784c-43.364 0-84.54-9.832-121.316-27.424l-35.712-17.08a8 8 0 0 1-2.2-12.876l175.36-175.264a8.004 8.004 0 0 0 0-11.316l-53.424-53.392a8 8 0 0 0-11.308 0L169.392 661.9159999999999a8 8 0 0 1-12.872-2.2l-17.08-35.668c-17.6-36.76-27.44-77.92-27.44-121.276 0-155.332 125.988-281.224 281.36-281.224 21.868 0 44.068 4.072 63.532 9.008l234.496-234.34c45.996-45.968 120.564-45.968 166.56 0.004l21.804 21.788c46.008 45.984 46.008 120.548 0 166.528l-223.18 223.032c10.612 29.004 18.152 61.98 18.152 95.208 0 155.332-125.988 281.224-281.36 281.224zM184 502.776c0 13.376 1.252 26.448 3.644 39.104l162.768-162.68 166.592 166.5L354.252 708.36A210.848 210.848 0 0 0 393.36 712c115.644 0 209.36-93.692 209.36-209.224 0-29.416-8.8-61.28-21.312-88.932l-10.268-22.696 257.712-257.54c17.872-17.86 17.868-46.812 0-64.672l-21.808-21.792c-17.88-17.872-46.884-17.872-64.768 0.004l-264.616 264.44-20.636-6.252c-21.708-6.576-44.336-11.788-63.664-11.788C277.716 293.548 184 387.24 184 502.772z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 975 KiB

After

Width:  |  Height:  |  Size: 981 KiB

BIN
packages/fineui/dist/font/iconfont.ttf vendored

Binary file not shown.

BIN
packages/fineui/dist/font/iconfont.woff vendored

Binary file not shown.

BIN
packages/fineui/dist/font/iconfont.woff2 vendored

Binary file not shown.

12
packages/fineui/src/case/colorchooser/colorchooser.popup.hex.js

@ -22,7 +22,13 @@ import { Label, Combo, TextItem } from "@/base";
import { PopupPanel } from "../layer";
import { CustomColorChooser } from "./colorchooser.custom";
import { ColorChooserPopup } from "./colorchooser.popup";
import { ColorPickerEditor, ColorPicker, HexColorPicker } from "./colorpicker";
import {
ColorPickerEditor,
ColorPicker,
HexColorPicker,
SimpleHexColorPickerEditor,
HexColorPickerEditor
} from "./colorpicker";
/**
* @author windy
@ -59,8 +65,8 @@ export class HexColorChooserPopup extends Widget {
extend(
{
type: o.simple
? "bi.simple_hex_color_picker_editor"
: "bi.hex_color_picker_editor",
? SimpleHexColorPickerEditor.xtype
: HexColorPickerEditor.xtype,
value: o.value,
height: o.simple ? 36 : 70,
listeners: [

2
packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.js

@ -39,7 +39,7 @@ export class HexColorPickerEditor extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE";
props = {
baseCls: "bi-color-picker-editor",
baseCls: "bi-color-picker-editor bi-hex-color-picker-editor",
height: 30,
};

6
packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

@ -23,7 +23,8 @@ import { TextEditor } from "@/widget/editor/editor.text";
const RGB_WIDTH = 32,
HEX_WIDTH = 70,
HEX_PREFIX_POSITION = 1;
HEX_PREFIX_POSITION = 1,
DEFAULT_HEX = "ffffff";
/**
* @author windy
@ -37,7 +38,7 @@ export class SimpleHexColorPickerEditor extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE";
props = {
baseCls: "bi-color-picker-editor",
baseCls: "bi-color-picker-editor bi-simple-hex-color-picker-editor",
height: 36,
};
@ -112,6 +113,7 @@ export class SimpleHexColorPickerEditor extends Widget {
errorText: i18nText("BI-Color_Picker_Error_Text_Hex"),
width: HEX_WIDTH,
height: 24,
value: DEFAULT_HEX,
listeners: [
{
eventName: "EVENT_CHANGE",

8
packages/fineui/src/case/list/list.select.js

@ -71,10 +71,12 @@ export class SelectList extends Widget {
itemsCreator: (op, callback) => {
op.times === 1 && this.toolbar.setVisible(false);
o.itemsCreator(op, (items, keywords, context, ...args) => {
callback(items, keywords, context, ...args);
const tipText = get(context, "tipText", "");
const isEmptyTipText = isEmptyString(tipText);
// tipText 和 items 本身就是互斥的
callback(isEmptyTipText ? items : [], keywords, context, ...args);
if (op.times === 1) {
const tipText = get(context, "tipText", "");
const visible = isEmptyString(tipText) && items && items.length > 0;
const visible = isEmptyTipText && items && items.length > 0;
this.toolbar.setVisible(visible);
this.toolbar.setEnable(this.isEnabled() && visible);
}

22
packages/fineui/src/core/func/date.js

@ -56,7 +56,7 @@ export function getMonthDays(date, month = date.getMonth()) {
if (((0 === (year % 4)) && ((0 !== (year % 100)) || (0 === (year % 400)))) && month === 1) {
return 29;
}
return _MD[month];
}
@ -85,7 +85,7 @@ export function getDayOfYear(date) {
const now = getDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0);
const then = getDate(date.getFullYear(), 0, 0, 0, 0, 0);
const time = now - then;
return Math.floor(time / DAY);
}
@ -108,7 +108,7 @@ export function getWeekNumber(date) {
const ms = d.valueOf();
d.setMonth(0);
d.setDate(1);
return Math.floor((ms - d.valueOf()) / (7 * 864e5)) + 1;
}
@ -135,7 +135,7 @@ export function getOffsetQuarter(date, n) {
}
dt.setDate(day);
dt.setMonth(dt.getMonth() + parseInt(n, 10) * 3);
return dt;
}
@ -159,7 +159,7 @@ export function getQuarterStartMonth(date) {
if (nowMonth > 8) {
quarterStartMonth = 9;
}
return quarterStartMonth;
}
@ -179,8 +179,8 @@ export function getQuarterStartDate(date) {
*/
export function getQuarterEndDate(date) {
const quarterEndMonth = getQuarterStartMonth(date) + 2;
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date));
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date, quarterEndMonth));
}
/**
@ -198,7 +198,7 @@ export function getOffsetMonth(date, n) {
}
dt.setDate(day);
dt.setMonth(dt.getMonth() + parseInt(n, 10));
return dt;
}
@ -210,7 +210,7 @@ export function getOffsetMonth(date, n) {
export function getWeekStartDate(date) {
const w = date.getDay();
const startOfWeek = StartOfWeek % 7;
return getOffsetDate(date, _OFFSET[w < startOfWeek ? (7 + w - startOfWeek) : (w - startOfWeek)]);
}
@ -222,7 +222,7 @@ export function getWeekStartDate(date) {
export function getWeekEndDate(date) {
const w = date.getDay();
const startOfWeek = StartOfWeek % 7;
return getOffsetDate(date, _OFFSET[w < startOfWeek ? (7 + w - startOfWeek) : (w - startOfWeek)] + 6);
}
@ -349,7 +349,7 @@ export function print(date, str) {
if (!_global.navigator) {
return false;
}
return /Konqueror|Safari|KHTML/i.test(navigator.userAgent);
};

Loading…
Cancel
Save