Browse Source

Merge pull request #257386 in DEC/fineui from master to feature/x

* commit '3621aa034c314fc9cd484e73d7b431a741298053':
  无JIRA任务 更新图标
  BI-138908 fix:nextTick
  无jira chore: console.log
  BI-137647 fix:单选颜色
  无jira fix:bind
  BI-139664 fix:滑块组件
  BI-139664 fix:滑块组件
  BI-139664 fix:滑块组件
research/test
superman 1 year ago
parent
commit
9a393470ee
  1. BIN
      packages/fineui/dist/font/iconfont.eot
  2. 14
      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. 2
      packages/fineui/package.json
  7. 9
      packages/fineui/src/core/2.base.js
  8. 115
      packages/fineui/src/core/constant/writable.var.js
  9. 132
      packages/fineui/src/core/element/element.js
  10. 2
      packages/fineui/src/fix/fix.js
  11. 3
      packages/fineui/src/less/base/single/input/radio.less
  12. 8
      packages/fineui/src/widget/intervalslider/intervalslider.js
  13. 4
      packages/fineui/src/widget/singleslider/button/editor.sign.text.js

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

Binary file not shown.

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

@ -14,6 +14,14 @@
/>
<missing-glyph />
<glyph glyph-name="fenqujianshezhi" unicode="&#60072;" d="M120 168a8 8 0 0 1-8-8v-160a16 16 0 0 1 16-16h268a8 8 0 0 1 8 8v56a8 8 0 0 1-8 8H184v104a8 8 0 0 1-8 8H120zM544 720a8 8 0 0 1 8-8h208v-192a8 8 0 0 1 8-8h56a8 8 0 0 1 8 8V768a16 16 0 0 1-16 16h-264a8 8 0 0 1-8-8v-56zM112 778.544c0 3.016 2.44 5.456 5.456 5.456H292c99.412 0 180-80.588 180-180s-80.588-180-180-180H184v-176a8 8 0 0 0-8-8H120a8 8 0 0 0-8 8V778.544z m72-69.816v-209.456c0-1.808 1.464-3.272 3.272-3.272H292c59.648 0 108 48.352 108 108S351.648 712 292 712H187.272a3.272 3.272 0 0 1-3.272-3.272z m313.964-628.708a240.964 240.964 0 0 0-21.644 49.84c-1.06 3.464 0.6 7.12 3.672 9.04a71.932 71.932 0 0 1 23.212 23.452 72.216 72.216 0 0 1 0.028 75.248 71.904 71.904 0 0 1-23.212 23.48c-3.06 1.916-4.72 5.564-3.668 9.02a239.864 239.864 0 0 0 53.768 93.584c2.472 2.664 6.484 3.056 9.692 1.344a71.504 71.504 0 0 1 69.596 1.196 71.848 71.848 0 0 1 27.184 28.012 72.16 72.16 0 0 1 8.644 31.916c0.12 3.62 2.456 6.888 5.984 7.708a238.056 238.056 0 0 0 107.652-0.048c3.524-0.82 5.856-4.084 5.98-7.7a72.204 72.204 0 0 1 8.656-31.92 71.844 71.844 0 0 1 27.196-28 71.544 71.544 0 0 1 69.592-1.168c3.204 1.712 7.22 1.324 9.692-1.344a239.72 239.72 0 0 0 32.156-43.7 240.116 240.116 0 0 0 21.652-49.848c1.052-3.46-0.604-7.112-3.676-9.032a71.868 71.868 0 0 1-23.216-23.452 72.176 72.176 0 0 1-0.028-75.248 71.892 71.892 0 0 1 23.208-23.48c3.064-1.916 4.72-5.564 3.672-9.02a239.864 239.864 0 0 0-53.768-93.584c-2.472-2.664-6.484-3.056-9.692-1.344a71.556 71.556 0 0 1-31.828 8.428 71.552 71.552 0 0 1-37.768-9.624 71.848 71.848 0 0 1-27.184-28.012 72.16 72.16 0 0 1-8.644-31.916c-0.12-3.62-2.456-6.888-5.984-7.708a238.056 238.056 0 0 0-107.652 0.048c-3.524 0.82-5.856 4.084-5.98 7.7a72.204 72.204 0 0 1-8.656 31.92 71.844 71.844 0 0 1-27.196 28 71.544 71.544 0 0 1-69.588 1.172c-3.208-1.716-7.224-1.324-9.7 1.344a240.28 240.28 0 0 0-32.152 43.696z m190.396-62.06c11.108-1.076 22.26-1.096 33.368-0.024 8.536 26.72 26.38 49.26 50.108 63.3 23.716 14.084 51.66 18.684 78.472 12.912a182.592 182.592 0 0 1 16.652 29.664c-18.268 20.944-28.36 48.076-28.34 76.188 0 28.792 10.464 55.692 28.34 76.188a187.052 187.052 0 0 1-16.696 29.664c-26.796-5.768-54.724-1.176-78.428 12.888-23.72 14.044-41.556 36.588-50.088 63.3a173.188 173.188 0 0 1-33.368 0.024c-8.536-26.72-26.38-49.26-50.108-63.3-23.712-14.084-51.66-18.684-78.472-12.912a184.136 184.136 0 0 1-16.652-29.664c18.268-20.944 28.36-48.076 28.34-76.188 0-28.792-10.464-55.692-28.34-76.188a187.052 187.052 0 0 1 16.696-29.664c26.796 5.768 54.724 1.176 78.428-12.888 23.72-14.044 41.556-36.588 50.088-63.3z m18.6 105.848a76.192 76.192 0 1 1-0.008 152.38 76.192 76.192 0 0 1 0.008-152.38z m0 45.716a30.48 30.48 0 1 0 0 60.96 30.48 30.48 0 0 0 0-60.96z" horiz-adv-x="1024" />
<glyph glyph-name="quxiaoyingshe" unicode="&#60071;" d="M180 52V716h224v-52a8 8 0 0 1 8-8h52a8 8 0 0 1 8 8V768a16 16 0 0 1-16 16H128a16 16 0 0 1-16-16v-768a16 16 0 0 1 16-16h328a16 16 0 0 1 16 16v104a8 8 0 0 1-8 8h-52a8 8 0 0 1-8-8v-52H180z m372-52v104a8 8 0 0 0 8 8h52a8 8 0 0 0 8-8v-52h224V716h-224v-52a8 8 0 0 0-8-8h-52a8 8 0 0 0-8 8V768a16 16 0 0 0 16 16h328a16 16 0 0 0 16-16v-768a16 16 0 0 0-16-16h-328a16 16 0 0 0-16 16zM362.808 577.568a8 8 0 0 0 11.316 0l139.12-139.124 139.124 139.12a8 8 0 0 0 11.312 0L708.052 533.2a8 8 0 0 0 0-11.316l-139.124-139.12 139.124-139.124a8 8 0 0 0 0-11.316l-44.368-44.368a8 8 0 0 0-11.316 0l-139.124 139.124-139.12-139.124a8 8 0 0 0-11.32 0L318.44 232.32a8 8 0 0 0 0 11.316l139.124 139.124-139.12 139.12a8 8 0 0 0 0 11.316l44.368 44.372z" horiz-adv-x="1024" />
<glyph glyph-name="a-yibiaobancaozuoyibiaoban_shengcheng" unicode="&#60070;" d="M384 768v-304a16 16 0 0 0-16-16H128a16 16 0 0 0-16 16V768a16 16 0 0 0 16 16h240a16 16 0 0 0 16-16zM176 720v-208h144V720H176zM472 368a16 16 0 0 1-16 16H128a16 16 0 0 1-16-16v-368a16 16 0 0 1 16-16h328a16 16 0 0 1 16 16v368z m-296-48h232v-272H176v272zM912 768a16 16 0 0 1-16 16H464a16 16 0 0 1-16-16v-256a16 16 0 0 1 16-16h432a16 16 0 0 1 16 16V768z m-64-48v-160h-336V720h336zM512 32a16 16 0 0 0 16 16h368a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-368a16 16 0 0 0-16 16v32zM672 368a16 16 0 0 0 16 16h208a16 16 0 0 0 16-16v-208a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v115.416l-157.54-157.54a16 16 0 0 0-22.628 0l-22.624 22.628a15.996 15.996 0 0 0 0 22.628L802.076 320H688a16 16 0 0 0-16 16v32z" horiz-adv-x="1024" />
<glyph glyph-name="cunchuguocheng" unicode="&#60069;" d="M128 784a16 16 0 0 1-16-16v-768a16 16 0 0 1 16-16h504a8 8 0 0 1 8 8v56a8 8 0 0 1-8 8H184V712h474.744L840 526.744V392a8 8 0 0 1 8-8h56a8 8 0 0 1 8 8V550.628c0 4.24-1.684 8.312-4.688 11.312l-217.372 217.372A15.992 15.992 0 0 1 678.628 784H128z m638.352-821.96a7.992 7.992 0 0 1 11.312 0l192.336 192.332a8 8 0 0 1 0 11.312l-33.944 33.94-0.08 0.08-158.312 158.316a8 8 0 0 1-11.316 0l-33.94-33.944a8 8 0 0 1 0-11.312l120.452-120.452h-273.544a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h274.116l-121.02-121.02a8 8 0 0 1 0-11.312l33.94-33.94zM285.456 648C282.44 648 280 645.56 280 642.544V112a8 8 0 0 1 8-8h56a8 8 0 0 1 8 8v176h108c99.412 0 180 80.588 180 180s-80.588 180-180 180H285.456z m69.816-72H460c59.648 0 108-48.352 108-108s-48.352-108-108-108H355.272a3.272 3.272 0 0 0-3.272 3.272V572.728c0 1.808 1.464 3.272 3.272 3.272z" horiz-adv-x="1024" />
<glyph glyph-name="Variant3" unicode="&#60068;" d="M80 768a16 16 0 0 0 16 16h566.628c4.244 0 8.312-1.684 11.312-4.688l217.372-217.372A15.988 15.988 0 0 0 896 550.628V456h-72V526.744L642.744 712H152v-656h104v396a16 16 0 0 0 16 16h216v-72H328v-340h112v-72H96a16 16 0 0 0-16 16V768zM474.16 47.024a287.66 287.66 0 0 0-25.804 59.752c-1.188 3.924 0.692 8.064 4.188 10.24a85.532 85.532 0 0 1 27.836 28.12 86.252 86.252 0 0 1 12.572 44.832 86.252 86.252 0 0 1-12.54 44.84 85.464 85.464 0 0 1-27.832 28.152c-3.484 2.172-5.364 6.304-4.184 10.224a286.22 286.22 0 0 0 64.104 112.06c2.836 3.056 7.456 3.508 11.128 1.524a84.736 84.736 0 0 1 37.992-10.152 84.72 84.72 0 0 1 44.836 11.464 85.544 85.544 0 0 1 32.272 33.384 86.224 86.224 0 0 1 10.268 38.388c0.12 4.112 2.784 7.82 6.804 8.76a281.6 281.6 0 0 0 128.376-0.052c4.016-0.944 6.676-4.648 6.796-8.756a86.28 86.28 0 0 1 10.288-38.392 85.496 85.496 0 0 1 32.284-33.364 84.64 84.64 0 0 1 82.82-1.284c3.672 1.984 8.296 1.536 11.128-1.524a285.98 285.98 0 0 0 38.344-52.264 286.668 286.668 0 0 0 25.808-59.756c1.188-3.924-0.696-8.06-4.188-10.232a85.48 85.48 0 0 1-27.84-28.124 86.252 86.252 0 0 1-12.572-44.832 86.224 86.224 0 0 1 12.54-44.84 85.424 85.424 0 0 1 27.832-28.152c3.484-2.172 5.364-6.304 4.184-10.224a286.18 286.18 0 0 0-64.108-112.06c-2.832-3.056-7.452-3.508-11.124-1.524a84.736 84.736 0 0 1-37.996 10.152 84.72 84.72 0 0 1-44.832-11.464 85.488 85.488 0 0 1-32.272-33.384 86.28 86.28 0 0 1-10.272-38.388c-0.12-4.112-2.78-7.82-6.8-8.76a281.62 281.62 0 0 0-128.38 0.052c-4.016 0.944-6.672 4.648-6.792 8.756a86.316 86.316 0 0 1-10.288 38.392 85.496 85.496 0 0 1-32.284 33.364 84.652 84.652 0 0 1-82.816 1.288c-3.676-1.988-8.304-1.536-11.136 1.528a286.504 286.504 0 0 0-38.34 52.256z m224.372-72.72a209.28 209.28 0 0 1 39.92-0.028c10.212 31.66 31.56 58.368 59.952 75.004a131.096 131.096 0 0 0 93.876 15.3 215.772 215.772 0 0 1 19.924 35.148c-21.856 24.816-33.928 56.964-33.904 90.276 0 34.116 12.516 65.988 33.904 90.276a221.108 221.108 0 0 1-19.976 35.144 131.096 131.096 0 0 0-93.824 15.272c-28.38 16.644-49.72 43.352-59.924 75.004a209.28 209.28 0 0 1-39.92 0.028c-10.212-31.656-31.56-58.368-59.952-75.004a131.096 131.096 0 0 0-93.876-15.3 217.396 217.396 0 0 1-19.924-35.144c21.856-24.82 33.928-56.968 33.904-90.276 0-34.12-12.516-65.988-33.904-90.276a221.148 221.148 0 0 1 19.976-35.148 131.096 131.096 0 0 0 93.824-15.272c28.38-16.644 49.72-43.352 59.924-75.004zM653.58 125.256a89.296 89.296 0 0 1 63.004-25.98 89.312 89.312 0 0 1 63.008 25.98 88.504 88.504 0 0 1 26.1 62.728 88.496 88.496 0 0 1-26.1 62.724 89.316 89.316 0 0 1-63.008 25.984 89.3 89.3 0 0 1-63.004-25.984 88.496 88.496 0 0 1-26.1-62.724 88.504 88.504 0 0 1 26.1-62.728z m88.78 37.068a36.524 36.524 0 0 0-25.776-10.628 36.516 36.516 0 0 0-25.772 10.628 36.208 36.208 0 0 0-10.68 25.66c0 9.624 3.844 18.856 10.68 25.66a36.532 36.532 0 0 0 25.772 10.628c9.668 0 18.94-3.824 25.776-10.628a36.204 36.204 0 0 0 10.676-25.66c0-9.624-3.84-18.856-10.676-25.66z" horiz-adv-x="1024" />
<glyph glyph-name="weidu" unicode="&#60067;" d="M184 48h-8V776a8 8 0 0 1-8 8H120a8 8 0 0 1-8-8v-776a16 16 0 0 1 16-16h776a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H184zM840 720h8v-568a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8V768a16 16 0 0 1-16 16H280a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h560zM640 520h8v-368a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8V568a16 16 0 0 1-16 16H280a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h360zM440 320h8v-168a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v216a16 16 0 0 1-16 16H280a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h160z" horiz-adv-x="1024" />
@ -50,7 +58,7 @@
<glyph glyph-name="a-fangxiangzhijiaosanjiaochicunzhengchang" unicode="&#60051;" d="M230.628 64c-14.256 0-21.392 17.236-11.312 27.316L804.684 676.688c10.08 10.08 27.312 2.94 27.312-11.312V80a16 16 0 0 0-16-16H230.628z" horiz-adv-x="1024" />
<glyph glyph-name="yiguolv3" unicode="&#60008;" d="M828 784a8 8 0 0 1-8 8H48a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h112l171.048-324.448c0.624-1.164 0.952-2.464 0.952-3.784v-440.02a8 8 0 0 1 8.416-7.992c1.056 0.056 2.012 0.572 2.856 1.208l110.16 83.156C419.688 54.39599999999996 400 114.89999999999998 400 180c0 124.976 72.552 233.008 177.836 284.276L700 696h120a8 8 0 0 1 8 8V784zM984 180c0-148.012-119.988-268-268-268s-268 119.988-268 268 119.988 268 268 268 268-119.988 268-268z m-114.204 141.392l-204.564-204.572-105.82 105.82-52.48-52.476 158.3-158.3 257.044 257.048-52.48 52.48z" horiz-adv-x="1024" />
<glyph glyph-name="yiguolv3" unicode="&#60008;" d="M984 180c0-148.012-119.988-268-268-268s-268 119.988-268 268 119.988 268 268 268 268-119.988 268-268z m-111.968 141.172l-198.456-198.464-102.664 102.66L520 174.46000000000004l153.576-153.576 249.372 249.372-50.916 50.916zM856 784a8 8 0 0 0 8-8v-56a8 8 0 0 0-8-8h-104l-112.3-229.396a310.896 310.896 0 0 1-115.104-56.196L660.796 712H251.204l151.876-321.54c0.604-1.148 0.92-2.428 0.92-3.724v-426.764L341.996-80A8 8 0 0 0 332-72.25199999999995V359.76800000000003c0 1.32-0.328 2.62-0.952 3.784L160 712H56a8 8 0 0 0-8 8V776a8 8 0 0 0 8 8h800z" horiz-adv-x="1024" />
<glyph glyph-name="zichanxiangqing" unicode="&#60050;" d="M914.672 30.24A231.996 231.996 0 0 1 728 400a232 232 0 1 1 135.448-420.36l80.592-80.592a8 8 0 0 1 11.316 0l39.596 39.596a8 8 0 0 1 0 11.316l-80.28 80.28z m-305.464 18.964a168 168 0 1 0 237.588 237.592 168 168 0 0 0-237.588-237.592zM509.268 819.156a8 8 0 0 0 7.156 0l444-213.904c5.896-2.948 5.896-11.36 0-14.312l-444-211.788a8.016 8.016 0 0 0-7.156 0L64.424 590.94c-5.9 2.948-5.9 11.36 0 14.312l444.844 213.904zM216 598.096L512.844 460 808 598.096 512.844 740 216 598.096zM94.04 177.684a8 8 0 0 1-11.508-7.188v-61.824a8 8 0 0 1 4.428-7.156L440-71.544v83.516l-345.96 165.712z m345.96-15.068l-353 170.484a8.008 8.008 0 0 0-4.464 7.18v64.656a8 8 0 0 0 11.5 7.192L440 246.776v-84.16z" horiz-adv-x="1024" />
@ -60,7 +68,7 @@
<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="AIzhuli" unicode="&#60046;" d="M840 776a8 8 0 0 1-8-8v-80a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8V768a8 8 0 0 1-8 8h-64z m0-176a8 8 0 0 1-8-8v-592a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8V592a8 8 0 0 1-8 8h-64zM788.316-8a8 8 0 0 1 7.46 10.892l-297.796 768A8 8 0 0 1 490.52 776h-69.04a8 8 0 0 1-7.46-5.108l-297.8-768A8 8 0 0 1 123.688-8h62.84a8 8 0 0 1 7.456 5.108L456 672.844 577.308 360H395.404a8 8 0 0 1-7.428-5.028l-25.588-64A8 8 0 0 1 369.816 280h238.512l109.692-282.892A8 8 0 0 1 725.48-8h62.836z" 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" />
@ -1590,7 +1598,7 @@
<glyph glyph-name="zhibiaojuhe-hengzhou" unicode="&#58982;" d="M72 736a8 8 0 0 1-8-8v-32a8 8 0 0 1 8-8h88v-608H72a8 8 0 0 1-8-8v-32a8 8 0 0 1 8-8h88v-88a8 8 0 0 1 8-8h32a8 8 0 0 1 8 8v88h696a8 8 0 0 1 8 8v32a8 8 0 0 1-8 8H208V688h696a8 8 0 0 1 8 8v32a8 8 0 0 1-8 8H208V824a8 8 0 0 1-8 8h-32a8 8 0 0 1-8-8v-88H72zM336.328 307.11199999999997a8 8 0 0 0-0.176 10.652l129.592 150.044a8 8 0 0 1-0.18 10.66L347.808 605.832a8 8 0 0 0 0.444 11.304l23.496 21.724a8 8 0 0 0 11.304-0.44l146.876-158.86a8 8 0 0 0 0.18-10.66l-129.628-150.092a8 8 0 0 1 0.172-10.652l123.568-134.004a8 8 0 0 0-0.456-11.304l-23.528-21.696a8 8 0 0 0-11.304 0.46l-152.604 165.5zM604.328 307.11199999999997a8 8 0 0 0-0.176 10.652l129.592 150.044a8 8 0 0 1-0.18 10.66l-117.756 127.364a8 8 0 0 0 0.444 11.304l23.496 21.724a8 8 0 0 0 11.304-0.44l146.876-158.86a8 8 0 0 0 0.18-10.66l-129.628-150.092a8 8 0 0 1 0.172-10.652l123.568-134.004a8 8 0 0 0-0.456-11.304l-23.524-21.696a8.008 8.008 0 0 0-11.308 0.46l-152.604 165.5z" horiz-adv-x="1024" />
<glyph glyph-name="chaolianjie" unicode="&#59448;" d="M565.284 749.912l235.556-136-120-207.844-55.424 32-40-69.284 110.852-64a16 16 0 0 1 21.856 5.856l184 318.7a16 16 0 0 1-5.856 21.856l-346.412 200A16 16 0 0 1 528 845.34l-184-318.7a16 16 0 0 1 5.856-21.856l110.852-64 40 69.28-55.424 32 120 207.848zM436.708 399.216l-110.852 64A16 16 0 0 1 304 457.36L120 138.664a16 16 0 0 1 5.856-21.86l346.412-200a16 16 0 0 1 21.856 5.86l184 318.696a16 16 0 0 1-5.856 21.856l-110.852 64-40-69.284 55.424-32-120-207.844-235.56 136 120 207.844 55.428-32 40 69.284zM579.346 566.277l55.426-32q6.928-4 2.928-10.929l-184-318.697q-4-6.928-10.928-2.928l-55.426 32q-6.928 4-2.928 10.928l184 318.697q4 6.929 10.928 2.929z" horiz-adv-x="1024" />
<glyph glyph-name="chaolianjie" unicode="&#59448;" d="M744.288 263.91200000000003a7.992 7.992 0 0 1-7.988-7.996v-95.972h-95.832a7.992 7.992 0 0 1-7.988-7.996v-55.984c0-4.416 3.576-7.996 7.988-7.996h95.832v-95.972c0-4.416 3.576-7.996 7.988-7.996h55.904a7.992 7.992 0 0 1 7.988 7.996v95.972h95.832a7.992 7.992 0 0 1 7.988 7.996v55.984a7.992 7.992 0 0 1-7.988 7.996h-95.832v95.972a7.992 7.992 0 0 1-7.988 7.996h-55.904zM398.54 310.244a8 8 0 0 0 0 11.308l177.884 178.136c3.12 3.124 8.176 3.124 11.296 0l39.528-39.584c3.12-3.124 3.12-8.188 0-11.312l-177.884-178.136a7.98 7.98 0 0 0-11.296 0l-39.528 39.588zM387.28 79.41200000000003l-180.248 180.5 172.08 172.324-50.824 50.896-211.608-211.908a16.012 16.012 0 0 1 0-22.62l259.304-259.672a15.952 15.952 0 0 1 22.588 0l211.608 211.908-50.824 50.896-172.08-172.324zM643.924 336.424l50.824-50.896 211.192 211.492a16.008 16.008 0 0 1 0 22.624l-259.304 259.672a15.956 15.956 0 0 1-22.588 0l-211.192-211.496 50.824-50.896 171.66 171.908 180.248-180.5-171.664-171.908z" horiz-adv-x="1024" />
<glyph glyph-name="normal36" unicode="&#59114;" d="M112 768a16 16 0 0 0 16 16h200a16 16 0 0 0 16-16v-768a16 16 0 0 0-16-16H128a16 16 0 0 0-16 16V768z m72-56v-656h88V712H184zM628 536a8 8 0 0 1-8-8v-108h-108a8 8 0 0 1-8-8v-56a8 8 0 0 1 8-8h108v-108a8 8 0 0 1 8-8h56a8 8 0 0 1 8 8v108h108a8 8 0 0 1 8 8v56a8 8 0 0 1-8 8h-108V528a8 8 0 0 1-8 8h-56zM416 784a16 16 0 0 1-16-16v-768a16 16 0 0 1 16-16h480a16 16 0 0 1 16 16V768a16 16 0 0 1-16 16H416z m56-728V712h368v-656h-368z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 996 KiB

After

Width:  |  Height:  |  Size: 1001 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.

2
packages/fineui/package.json

@ -1,6 +1,6 @@
{
"name": "@fui/core",
"version": "3.0.20230727164622",
"version": "3.0.20231204103846",
"description": "fineui",
"main": "dist/fineui.min.js",
"module": "dist/lib/index.js",

9
packages/fineui/src/core/2.base.js

@ -912,7 +912,8 @@ export const delay = lodashFns.delay;
export const defer = lodashFns.defer;
export const wrap = lodashFns.wrap;
export const nextTick = (function () {
export let nextTick = /*!PURE*/(function () {
const callbacks = [];
let pending = false;
let timerFunc = void 0;
@ -971,7 +972,7 @@ export const nextTick = (function () {
pending = true;
timerFunc();
}
// $flow-disable-line
if (!cb && typeof Promise !== "undefined") {
return new Promise((resolve, reject) => {
_resolve = resolve;
@ -980,6 +981,10 @@ export const nextTick = (function () {
};
})();
export const setNextTick = (fn) => {
nextTick = fn;
}
// 数字相关方法
_.each(["random"], name => {
lodashFns[name] = _apply(name);

115
packages/fineui/src/core/constant/writable.var.js

@ -1,51 +1,50 @@
/**
* 可写的常量
*/
import { isNumber } from "../2.base";
import { isNumber, nextTick, setNextTick } from "../2.base";
import { _global } from "../0.foundation";
import { Cache } from "../structure";
import { Element, setElement } from "../element/element";
import { setDom, DOM } from "../utils";
const PropertyDescriptors = {};
export function _defineVarProperties(libName) {
Object.defineProperties(libName, PropertyDescriptors);
}
function addDescriptor(key, options) {
options.enumerable = options.enumerable === undefined ? true : options.enumerable;
options.configurable = options.configurable === undefined ? true : options.configurable;
PropertyDescriptors[key] = options;
}
export let EVENT_RESPONSE_TIME = 200;
export const setEventResponseTime = v => {
EVENT_RESPONSE_TIME = v;
};
PropertyDescriptors["EVENT_RESPONSE_TIME"] = {
enumerable: true,
configurable: true,
get: function() {
return EVENT_RESPONSE_TIME;
},
addDescriptor("EVENT_RESPONSE_TIME", {
get: () => EVENT_RESPONSE_TIME,
set: setEventResponseTime,
};
});
export let pixUnit = "px";
export const setPixUnit = v => {
pixUnit = v;
};
PropertyDescriptors["pixUnit"] = {
enumerable: true,
configurable: true,
get: function() {
return pixUnit;
},
addDescriptor("pixUnit", {
get: () => pixUnit,
set: setPixUnit,
};
});
export let pixRatio = 1;
export const setPixRatio = v => {
pixRatio = v;
};
PropertyDescriptors["pixRatio"] = {
enumerable: true,
configurable: true,
get: function() {
return pixRatio;
},
addDescriptor("pixRatio", {
get: () => pixRatio,
set: setPixRatio,
};
});
export let StartOfWeek = 1;
export const setStartOfWeek = v => {
@ -55,27 +54,19 @@ export const setStartOfWeek = v => {
}
StartOfWeek = v;
};
PropertyDescriptors["StartOfWeek"] = {
enumerable: true,
configurable: true,
get: function() {
return StartOfWeek;
},
addDescriptor("StartOfWeek", {
get: () => StartOfWeek,
set: setStartOfWeek,
};
});
export let BlankSplitChar = "\u200b \u200b";
export const setBlankSplitChar = v => {
BlankSplitChar = v;
};
PropertyDescriptors["BlankSplitChar"] = {
enumerable: true,
configurable: true,
get: function() {
return BlankSplitChar;
},
addDescriptor("BlankSplitChar", {
get: () => BlankSplitChar,
set: setBlankSplitChar,
};
});
// 一定返回最终的单位
export let pixFormat = (pix, border) => {
@ -95,14 +86,10 @@ export let pixFormat = (pix, border) => {
export const setPixFormat = v => {
pixFormat = v;
};
PropertyDescriptors["pixFormat"] = {
enumerable: true,
configurable: true,
get: function() {
return pixFormat;
},
addDescriptor("pixFormat", {
get: () => pixFormat,
set: setPixFormat,
};
});
export let toPix = (pix, border) => {
if (!isNumber(pix)) {
@ -120,14 +107,10 @@ export let toPix = (pix, border) => {
export let setToPix = v => {
toPix = v;
};
PropertyDescriptors["toPix"] = {
enumerable: true,
configurable: true,
get: function() {
return toPix;
},
addDescriptor("toPix", {
get: () => toPix,
set: setToPix,
};
});
const getCacheItem = key => {
Cache.getItem(key, { typeConversion: true, defaultValue: true });
@ -137,24 +120,22 @@ export const setEventBlur = v => {
EVENT_BLUR = v;
Cache.setItem("event.blur", v);
};
PropertyDescriptors["EVENT_BLUR"] = {
enumerable: true,
configurable: true,
get: function() {
return EVENT_BLUR;
},
addDescriptor("EVENT_BLUR", {
get: () => EVENT_BLUR,
set: setEventBlur,
};
});
addDescriptor("Element", {
get: () => Element,
set: setElement,
});
PropertyDescriptors["DOM"] = {
enumerable: true,
configurable: true,
get: function() {
return DOM;
},
addDescriptor("DOM", {
get: () => DOM,
set: setDom,
};
});
export function _defineVarProperties(libName) {
Object.defineProperties(libName, PropertyDescriptors);
}
addDescriptor("nextTick", {
get: () => nextTick,
set: setNextTick,
});

132
packages/fineui/src/core/element/element.js

@ -1,76 +1,78 @@
import { registFunction } from "./plugins";
import { isWidget, isString } from "../2.base";
export function Element(widget, attribs) {
this.l = this.r = this.t = this.b = 0; // 边框
this.marginLeft = this.marginRight = this.marginTop = this.marginBottom = 0; // 间距
this.position = {};
this.classMap = {};
this.classList = [];
this.children = [];
this.attribs = attribs || {};
this.styles = {};
// 兼容处理
this["0"] = this;
this.style = {};
if (!widget) {
this.nodeName = "body";
this.position.x = 0;
this.position.y = 0;
this.attribs.id = "body";
} else if (isWidget(widget)) {
this.widget = widget;
this.nodeName = widget.options.tagName;
this.textBaseLine = widget.options.textBaseLine;
} else if (isString(widget)) {
this.nodeName = widget;
export let Element = class {
constructor(widget, attribs) {
this.l = this.r = this.t = this.b = 0; // 边框
this.marginLeft = this.marginRight = this.marginTop = this.marginBottom = 0; // 间距
this.position = {};
this.classMap = {};
this.classList = [];
this.children = [];
this.attribs = attribs || {};
this.styles = {};
// 兼容处理
this["0"] = this;
this.style = {};
if (!widget) {
this.nodeName = "body";
this.position.x = 0;
this.position.y = 0;
this.attribs.id = "body";
} else if (isWidget(widget)) {
this.widget = widget;
this.nodeName = widget.options.tagName;
this.textBaseLine = widget.options.textBaseLine;
} else if (isString(widget)) {
this.nodeName = widget;
}
}
}
initElement(Element);
registFunction(Element);
appendChild(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
}
append(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
}
function initElement(element) {
element.prototype = {
appendChild(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
},
append(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
},
getParent() {
return this.parent;
},
getSiblings() {
const parent = this.getParent();
return parent ? parent.getChildren() : [this];
},
getChildren() {
return this.children;
},
getParent() {
return this.parent;
}
getBounds() {
return {};
},
getSiblings() {
const parent = this.getParent();
width() {
return parent ? parent.getChildren() : [this];
}
},
height() {
getChildren() {
return this.children;
}
getBounds() {
return {};
}
width() {}
height() {}
}
registFunction(Element);
},
};
export function setElement(element) {
Element = element;
}

2
packages/fineui/src/fix/fix.js

@ -205,7 +205,7 @@ const nextTick = (function () {
pending = true;
timerFunc();
}
// $flow-disable-line
if (!cb && typeof Promise !== "undefined") {
return new Promise((resolve, reject) => {
_resolve = resolve;

3
packages/fineui/src/less/base/single/input/radio.less

@ -15,6 +15,9 @@
border-color: @color-bi-border-hover-active-radio;
}
}
.bi-radio-icon {
background-color: @color-bi-background-active-radio-content;
}
&.active {
& .radio-content, &.radio-content {
border-color: @color-bi-border-hover-active-radio;

8
packages/fineui/src/widget/intervalslider/intervalslider.js

@ -59,6 +59,10 @@ export class IntervalSlider extends Single {
this.populate();
}
getConstant() {
return CONSTANTS;
}
render() {
const o = this.options;
this.enable = false;
@ -85,7 +89,7 @@ export class IntervalSlider extends Single {
text: unit,
allowBlank: false,
textAlign: lAlign,
width: BI.isNull(editorWidth) ? BI.toPix(CONSTANTS.EDITOR_WIDTH, 2) : BI.toPix(editorWidth, 2),
width: isNull(editorWidth) ? toPix(CONSTANTS.EDITOR_WIDTH, 2) : toPix(editorWidth, 2),
height: toPix(CONSTANTS.EDITOR_HEIGHT, 2),
validationChecker: v => this._checkValidation(v),
});
@ -115,7 +119,7 @@ export class IntervalSlider extends Single {
text: unit,
allowBlank: false,
textAlign: rAlign,
width: BI.isNull(editorWidth) ? BI.toPix(CONSTANTS.EDITOR_WIDTH, 2) : BI.toPix(editorWidth, 2),
width: isNull(editorWidth) ? toPix(CONSTANTS.EDITOR_WIDTH, 2) : toPix(editorWidth, 2),
height: toPix(CONSTANTS.EDITOR_HEIGHT, 2),
validationChecker: v => this._checkValidation(v),
});

4
packages/fineui/src/widget/singleslider/button/editor.sign.text.js

@ -106,7 +106,7 @@ export class SignTextEditor extends Widget {
_checkText() {
const o = this.options;
nextTick(
bind(() => {
() => {
if (this.editor.getValue() === "") {
this.text.setValue(o.watermark || "");
this.text.element.addClass("bi-water-mark");
@ -116,7 +116,7 @@ export class SignTextEditor extends Widget {
this.text.setValue(v);
this.text.element.removeClass("bi-water-mark");
}
}, this)
}
);
}

Loading…
Cancel
Save