btt-ui 1.0.25 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/es/index.mjs +80 -72
  2. package/es/src/countUp/index.mjs +7 -0
  3. package/es/src/countUp/src/countUp.mjs +48 -0
  4. package/es/src/countUp/src/index.mjs +103 -0
  5. package/es/src/countUp/src/style/index.css +6 -0
  6. package/es/src/directives/bubble.mjs +12 -7
  7. package/es/src/gradientText/index.mjs +7 -0
  8. package/es/src/gradientText/src/style/index.css +9 -0
  9. package/es/src/gradientText/src/text.mjs +24 -0
  10. package/es/src/icon/src/svg/approval.mjs +3 -3
  11. package/es/src/icon/src/svg/console.mjs +20 -20
  12. package/es/src/icon/src/svg/delete.mjs +3 -3
  13. package/es/src/icon/src/svg/dictionary.mjs +11 -11
  14. package/es/src/icon/src/svg/download.mjs +3 -3
  15. package/es/src/icon/src/svg/edit.mjs +3 -3
  16. package/es/src/icon/src/svg/export.mjs +5 -5
  17. package/es/src/icon/src/svg/info.mjs +3 -3
  18. package/es/src/icon/src/svg/module.mjs +11 -11
  19. package/es/src/icon/src/svg/msg.mjs +10 -10
  20. package/es/src/icon/src/svg/notice.mjs +9 -9
  21. package/es/src/icon/src/svg/plus.mjs +3 -3
  22. package/es/src/icon/src/svg/print.mjs +5 -5
  23. package/es/src/icon/src/svg/publish.mjs +5 -5
  24. package/es/src/icon/src/svg/regenerate.mjs +9 -9
  25. package/es/src/icon/src/svg/reset.mjs +10 -10
  26. package/es/src/icon/src/svg/upload.mjs +11 -11
  27. package/es/src/icon/src/svg/xiajia.mjs +6 -6
  28. package/es/src/icon/src/svg/xmbb.mjs +10 -10
  29. package/es/src/index.mjs +78 -69
  30. package/es/src/numberScroll/index.mjs +7 -0
  31. package/es/src/numberScroll/src/index.mjs +59 -0
  32. package/es/src/numberScroll/src/number.mjs +42 -0
  33. package/es/src/numberScroll/src/style/index.css +32 -0
  34. package/es/src/utils/DragTool.mjs +55 -0
  35. package/es/src/utils/DrawLinePolygonPolygonUtils.mjs +203 -0
  36. package/es/src/utils/Tooltip.mjs +22 -0
  37. package/es/src/utils/index.mjs +9 -0
  38. package/es/src/utils/initCesium.mjs +152 -0
  39. package/es/src/wheel/wheel.mjs +10 -10
  40. package/es/src/xgplay/src/style/index.css +0 -2
  41. package/lib/index.js +1 -1
  42. package/lib/src/countUp/index.js +1 -0
  43. package/lib/src/countUp/src/countUp.js +1 -0
  44. package/lib/src/countUp/src/index.js +1 -0
  45. package/lib/src/countUp/src/style/index.css +6 -0
  46. package/lib/src/directives/bubble.js +1 -1
  47. package/lib/src/gradientText/index.js +1 -0
  48. package/lib/src/gradientText/src/style/index.css +9 -0
  49. package/lib/src/gradientText/src/text.js +1 -0
  50. package/lib/src/icon/src/svg/approval.js +3 -3
  51. package/lib/src/icon/src/svg/console.js +20 -20
  52. package/lib/src/icon/src/svg/delete.js +3 -3
  53. package/lib/src/icon/src/svg/dictionary.js +11 -11
  54. package/lib/src/icon/src/svg/download.js +3 -3
  55. package/lib/src/icon/src/svg/edit.js +3 -3
  56. package/lib/src/icon/src/svg/export.js +5 -5
  57. package/lib/src/icon/src/svg/info.js +3 -3
  58. package/lib/src/icon/src/svg/module.js +10 -10
  59. package/lib/src/icon/src/svg/msg.js +10 -10
  60. package/lib/src/icon/src/svg/notice.js +9 -9
  61. package/lib/src/icon/src/svg/plus.js +3 -3
  62. package/lib/src/icon/src/svg/print.js +5 -5
  63. package/lib/src/icon/src/svg/publish.js +5 -5
  64. package/lib/src/icon/src/svg/regenerate.js +9 -9
  65. package/lib/src/icon/src/svg/reset.js +10 -10
  66. package/lib/src/icon/src/svg/upload.js +10 -10
  67. package/lib/src/icon/src/svg/xiajia.js +6 -6
  68. package/lib/src/icon/src/svg/xmbb.js +10 -10
  69. package/lib/src/index.js +1 -1
  70. package/lib/src/numberScroll/index.js +1 -0
  71. package/lib/src/numberScroll/src/index.js +14 -0
  72. package/lib/src/numberScroll/src/number.js +1 -0
  73. package/lib/src/numberScroll/src/style/index.css +32 -0
  74. package/lib/src/utils/DragTool.js +1 -0
  75. package/lib/src/utils/DrawLinePolygonPolygonUtils.js +1 -0
  76. package/lib/src/utils/Tooltip.js +1 -0
  77. package/lib/src/utils/index.js +1 -0
  78. package/lib/src/utils/initCesium.js +1 -0
  79. package/lib/src/wheel/wheel.js +1 -1
  80. package/lib/src/xgplay/src/style/index.css +0 -2
  81. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
- const t = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame" clip-path="url(#clip0_64_4279)">
3
- <path id="Vector" d="M19.3195 15.0875L19.5444 15.2114C19.8284 15.3648 20 15.648 20 15.9549C20 16.2558 19.8284 16.539 19.5444 16.6984L11.9822 20.8761C11.6864 21.0413 11.3136 21.0413 11.0178 20.8761L3.45562 16.6925C3.1716 16.539 3 16.2558 3 15.949C3 15.648 3.1716 15.3648 3.45562 15.2055L3.68047 15.0816L11.497 19.4127L19.3195 15.0875ZM19.3195 11.6355L19.5444 11.7595C19.8284 11.9129 20 12.1961 20 12.503C20 12.8039 19.8284 13.0871 19.5444 13.2464L11.9822 17.4242C11.6864 17.5894 11.3136 17.5894 11.0178 17.4242L3.45562 13.2346C3.1716 13.0812 3 12.798 3 12.4911C3 12.1902 3.1716 11.907 3.45562 11.7477L3.68047 11.6237L11.497 15.9549L19.3195 11.6355ZM11.9763 4.12392L19.5385 8.30163C19.8225 8.45505 19.9941 8.73829 19.9941 9.04512C19.9941 9.34606 19.8225 9.6293 19.5385 9.78862L11.9763 13.9663C11.6805 14.1316 11.3077 14.1316 11.0118 13.9663L3.45562 9.78271C3.1716 9.6293 3 9.34606 3 9.03922C3 8.73829 3.1716 8.45505 3.45562 8.29573L11.0118 4.12392C11.3136 3.95869 11.6805 3.95869 11.9763 4.12392Z"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_64_4279">
7
- <rect width="24" height="24"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
1
+ const r = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame" clip-path="url(#clip0_64_4279)">\r
3
+ <path id="Vector" d="M19.3195 15.0875L19.5444 15.2114C19.8284 15.3648 20 15.648 20 15.9549C20 16.2558 19.8284 16.539 19.5444 16.6984L11.9822 20.8761C11.6864 21.0413 11.3136 21.0413 11.0178 20.8761L3.45562 16.6925C3.1716 16.539 3 16.2558 3 15.949C3 15.648 3.1716 15.3648 3.45562 15.2055L3.68047 15.0816L11.497 19.4127L19.3195 15.0875ZM19.3195 11.6355L19.5444 11.7595C19.8284 11.9129 20 12.1961 20 12.503C20 12.8039 19.8284 13.0871 19.5444 13.2464L11.9822 17.4242C11.6864 17.5894 11.3136 17.5894 11.0178 17.4242L3.45562 13.2346C3.1716 13.0812 3 12.798 3 12.4911C3 12.1902 3.1716 11.907 3.45562 11.7477L3.68047 11.6237L11.497 15.9549L19.3195 11.6355ZM11.9763 4.12392L19.5385 8.30163C19.8225 8.45505 19.9941 8.73829 19.9941 9.04512C19.9941 9.34606 19.8225 9.6293 19.5385 9.78862L11.9763 13.9663C11.6805 14.1316 11.3077 14.1316 11.0118 13.9663L3.45562 9.78271C3.1716 9.6293 3 9.34606 3 9.03922C3 8.73829 3.1716 8.45505 3.45562 8.29573L11.0118 4.12392C11.3136 3.95869 11.6805 3.95869 11.9763 4.12392Z"/>\r
4
+ </g>\r
5
+ <defs>\r
6
+ <clipPath id="clip0_64_4279">\r
7
+ <rect width="24" height="24"/>\r
8
+ </clipPath>\r
9
+ </defs>\r
10
+ </svg>\r
11
11
  `;
12
12
  export {
13
- t as default
13
+ r as default
14
14
  };
@@ -1,13 +1,13 @@
1
- const C = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame" clip-path="url(#clip0_94_116)">
3
- <path id="Vector" d="M19.25 19.75H12.834L10.8075 22.0018C10.7416 22.075 10.6619 22.1345 10.5731 22.1769C10.4842 22.2193 10.3878 22.2438 10.2894 22.249C10.1911 22.2542 10.0926 22.2399 9.99979 22.2071C9.90693 22.1742 9.82146 22.1234 9.74825 22.0575C9.67504 21.9916 9.61552 21.9119 9.5731 21.8231C9.53067 21.7342 9.50617 21.6378 9.501 21.5394C9.49582 21.4411 9.51007 21.3426 9.54292 21.2498C9.57578 21.1569 9.62661 21.0715 9.6925 20.9983L11.9425 18.4983C12.0128 18.4201 12.0988 18.3576 12.1949 18.3149C12.2909 18.2721 12.3949 18.25 12.5 18.25H19.25C19.4142 18.25 19.5767 18.2177 19.7284 18.1549C19.88 18.092 20.0178 18 20.1339 17.8839C20.25 17.7678 20.342 17.63 20.4048 17.4784C20.4677 17.3267 20.5 17.1642 20.5 17V6.5C20.5 6.33585 20.4677 6.1733 20.4048 6.02165C20.342 5.86999 20.25 5.73219 20.1339 5.61612C20.0178 5.50004 19.88 5.40797 19.7284 5.34515C19.5767 5.28233 19.4142 5.25 19.25 5.25H4.75C4.58585 5.25 4.4233 5.28233 4.27165 5.34515C4.11999 5.40797 3.98219 5.50004 3.86612 5.61612C3.75004 5.73219 3.65797 5.86999 3.59515 6.02165C3.53233 6.1733 3.5 6.33585 3.5 6.5V17C3.5 17.1642 3.53233 17.3267 3.59515 17.4784C3.65797 17.63 3.75004 17.7678 3.86612 17.8839C3.98219 18 4.11999 18.092 4.27165 18.1549C4.4233 18.2177 4.58585 18.25 4.75 18.25H8C8.19891 18.25 8.38968 18.329 8.53033 18.4697C8.67098 18.6103 8.75 18.8011 8.75 19C8.75 19.1989 8.67098 19.3897 8.53033 19.5303C8.38968 19.671 8.19891 19.75 8 19.75H4.75C3.23125 19.75 2 18.5188 2 17V6.5C2 4.98125 3.23125 3.75 4.75 3.75H19.25C20.7687 3.75 22 4.98125 22 6.5V17C22 18.5188 20.7687 19.75 19.25 19.75ZM16.5 9C16.6989 9 16.8897 9.07902 17.0303 9.21967C17.171 9.36032 17.25 9.55109 17.25 9.75C17.25 9.94891 17.171 10.1397 17.0303 10.2803C16.8897 10.421 16.6989 10.5 16.5 10.5H7.5C7.30109 10.5 7.11032 10.421 6.96967 10.2803C6.82902 10.1397 6.75 9.94891 6.75 9.75C6.75 9.55109 6.82902 9.36032 6.96967 9.21967C7.11032 9.07902 7.30109 9 7.5 9H16.5ZM12 13C12.1989 13 12.3897 13.079 12.5303 13.2197C12.671 13.3603 12.75 13.5511 12.75 13.75C12.75 13.9489 12.671 14.1397 12.5303 14.2803C12.3897 14.421 12.1989 14.5 12 14.5H7.5C7.30109 14.5 7.11032 14.421 6.96967 14.2803C6.82902 14.1397 6.75 13.9489 6.75 13.75C6.75 13.5511 6.82902 13.3603 6.96967 13.2197C7.11032 13.079 7.30109 13 7.5 13H12Z" stroke="white" stroke-width="0.4"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_94_116">
7
- <rect width="24" height="24"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
1
+ const C = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame" clip-path="url(#clip0_94_116)">\r
3
+ <path id="Vector" d="M19.25 19.75H12.834L10.8075 22.0018C10.7416 22.075 10.6619 22.1345 10.5731 22.1769C10.4842 22.2193 10.3878 22.2438 10.2894 22.249C10.1911 22.2542 10.0926 22.2399 9.99979 22.2071C9.90693 22.1742 9.82146 22.1234 9.74825 22.0575C9.67504 21.9916 9.61552 21.9119 9.5731 21.8231C9.53067 21.7342 9.50617 21.6378 9.501 21.5394C9.49582 21.4411 9.51007 21.3426 9.54292 21.2498C9.57578 21.1569 9.62661 21.0715 9.6925 20.9983L11.9425 18.4983C12.0128 18.4201 12.0988 18.3576 12.1949 18.3149C12.2909 18.2721 12.3949 18.25 12.5 18.25H19.25C19.4142 18.25 19.5767 18.2177 19.7284 18.1549C19.88 18.092 20.0178 18 20.1339 17.8839C20.25 17.7678 20.342 17.63 20.4048 17.4784C20.4677 17.3267 20.5 17.1642 20.5 17V6.5C20.5 6.33585 20.4677 6.1733 20.4048 6.02165C20.342 5.86999 20.25 5.73219 20.1339 5.61612C20.0178 5.50004 19.88 5.40797 19.7284 5.34515C19.5767 5.28233 19.4142 5.25 19.25 5.25H4.75C4.58585 5.25 4.4233 5.28233 4.27165 5.34515C4.11999 5.40797 3.98219 5.50004 3.86612 5.61612C3.75004 5.73219 3.65797 5.86999 3.59515 6.02165C3.53233 6.1733 3.5 6.33585 3.5 6.5V17C3.5 17.1642 3.53233 17.3267 3.59515 17.4784C3.65797 17.63 3.75004 17.7678 3.86612 17.8839C3.98219 18 4.11999 18.092 4.27165 18.1549C4.4233 18.2177 4.58585 18.25 4.75 18.25H8C8.19891 18.25 8.38968 18.329 8.53033 18.4697C8.67098 18.6103 8.75 18.8011 8.75 19C8.75 19.1989 8.67098 19.3897 8.53033 19.5303C8.38968 19.671 8.19891 19.75 8 19.75H4.75C3.23125 19.75 2 18.5188 2 17V6.5C2 4.98125 3.23125 3.75 4.75 3.75H19.25C20.7687 3.75 22 4.98125 22 6.5V17C22 18.5188 20.7687 19.75 19.25 19.75ZM16.5 9C16.6989 9 16.8897 9.07902 17.0303 9.21967C17.171 9.36032 17.25 9.55109 17.25 9.75C17.25 9.94891 17.171 10.1397 17.0303 10.2803C16.8897 10.421 16.6989 10.5 16.5 10.5H7.5C7.30109 10.5 7.11032 10.421 6.96967 10.2803C6.82902 10.1397 6.75 9.94891 6.75 9.75C6.75 9.55109 6.82902 9.36032 6.96967 9.21967C7.11032 9.07902 7.30109 9 7.5 9H16.5ZM12 13C12.1989 13 12.3897 13.079 12.5303 13.2197C12.671 13.3603 12.75 13.5511 12.75 13.75C12.75 13.9489 12.671 14.1397 12.5303 14.2803C12.3897 14.421 12.1989 14.5 12 14.5H7.5C7.30109 14.5 7.11032 14.421 6.96967 14.2803C6.82902 14.1397 6.75 13.9489 6.75 13.75C6.75 13.5511 6.82902 13.3603 6.96967 13.2197C7.11032 13.079 7.30109 13 7.5 13H12Z" stroke="white" stroke-width="0.4"/>\r
4
+ </g>\r
5
+ <defs>\r
6
+ <clipPath id="clip0_94_116">\r
7
+ <rect width="24" height="24"/>\r
8
+ </clipPath>\r
9
+ </defs>\r
10
+ </svg>\r
11
11
  `;
12
12
  export {
13
13
  C as default
@@ -1,12 +1,12 @@
1
- const n = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
- <g id="&#233;&#128;&#154;&#231;&#159;&#165;">
3
- <g id="&#233;&#128;&#154;&#231;&#159;&#165;_2">
4
- <g id="icn/general/notifications">
5
- <path id="notifications" d="M13.5566 19.1035C14.3273 19.1035 14.8084 19.9378 14.4219 20.6045C13.921 21.4681 12.9983 22 12 22C11.0017 22 10.079 21.4681 9.57812 20.6045C9.2109 19.9712 9.62686 19.1863 10.3301 19.1094L10.4434 19.1035H13.5566ZM12 2C15.9511 2.00002 19.1688 5.13986 19.2959 9.06055L19.2998 9.30078V13.8018C19.2998 14.6915 19.9833 15.4217 20.8535 15.4961L21.1328 15.5098C22.244 15.629 22.2873 17.2404 21.2617 17.4746L21.1328 17.4951L21 17.502H3L2.86719 17.4951C1.71142 17.3711 1.71142 15.6338 2.86719 15.5098L3.14648 15.4961C3.96832 15.4258 4.62312 14.7704 4.69336 13.9482L4.7002 13.8018V9.30078C4.70038 5.26868 7.96839 2 12 2ZM12 4C9.14611 4 6.81867 6.25657 6.7041 9.08301L6.7002 9.30078V13.8018C6.7002 14.3103 6.59771 14.7952 6.41211 15.2363L6.3125 15.4531L6.28516 15.502H17.7139L17.6875 15.4531C17.5037 15.085 17.3792 14.6813 17.3271 14.2559L17.3047 13.998L17.2998 13.8018V9.30078C17.2996 6.37318 14.9269 4.00002 12 4Z"/>
6
- </g>
7
- </g>
8
- </g>
9
- </svg>
1
+ const n = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="&#233;&#128;&#154;&#231;&#159;&#165;">\r
3
+ <g id="&#233;&#128;&#154;&#231;&#159;&#165;_2">\r
4
+ <g id="icn/general/notifications">\r
5
+ <path id="notifications" d="M13.5566 19.1035C14.3273 19.1035 14.8084 19.9378 14.4219 20.6045C13.921 21.4681 12.9983 22 12 22C11.0017 22 10.079 21.4681 9.57812 20.6045C9.2109 19.9712 9.62686 19.1863 10.3301 19.1094L10.4434 19.1035H13.5566ZM12 2C15.9511 2.00002 19.1688 5.13986 19.2959 9.06055L19.2998 9.30078V13.8018C19.2998 14.6915 19.9833 15.4217 20.8535 15.4961L21.1328 15.5098C22.244 15.629 22.2873 17.2404 21.2617 17.4746L21.1328 17.4951L21 17.502H3L2.86719 17.4951C1.71142 17.3711 1.71142 15.6338 2.86719 15.5098L3.14648 15.4961C3.96832 15.4258 4.62312 14.7704 4.69336 13.9482L4.7002 13.8018V9.30078C4.70038 5.26868 7.96839 2 12 2ZM12 4C9.14611 4 6.81867 6.25657 6.7041 9.08301L6.7002 9.30078V13.8018C6.7002 14.3103 6.59771 14.7952 6.41211 15.2363L6.3125 15.4531L6.28516 15.502H17.7139L17.6875 15.4531C17.5037 15.085 17.3792 14.6813 17.3271 14.2559L17.3047 13.998L17.2998 13.8018V9.30078C17.2996 6.37318 14.9269 4.00002 12 4Z"/>\r
6
+ </g>\r
7
+ </g>\r
8
+ </g>\r
9
+ </svg>\r
10
10
  `;
11
11
  export {
12
12
  n as default
@@ -1,6 +1,6 @@
1
- const t = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8 1C8.51284 1 8.9354 1.38645 8.99316 1.88379L9 2V7H14C14.5523 7 15 7.44772 15 8C15 8.51284 14.6135 8.9354 14.1162 8.99316L14 9H9V14C9 14.5523 8.55228 15 8 15C7.48716 15 7.0646 14.6135 7.00684 14.1162L7 14V9H2C1.44772 9 1 8.55228 1 8C1 7.48716 1.38645 7.0646 1.88379 7.00684L2 7H7V2C7 1.44772 7.44772 1 8 1Z" />
3
- </svg>
1
+ const t = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\r
2
+ <path d="M8 1C8.51284 1 8.9354 1.38645 8.99316 1.88379L9 2V7H14C14.5523 7 15 7.44772 15 8C15 8.51284 14.6135 8.9354 14.1162 8.99316L14 9H9V14C9 14.5523 8.55228 15 8 15C7.48716 15 7.0646 14.6135 7.00684 14.1162L7 14V9H2C1.44772 9 1 8.55228 1 8C1 7.48716 1.38645 7.0646 1.88379 7.00684L2 7H7V2C7 1.44772 7.44772 1 8 1Z" />\r
3
+ </svg>\r
4
4
  `;
5
5
  export {
6
6
  t as default
@@ -1,8 +1,8 @@
1
- const C = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame 48097328">
3
- <path id="Vector" d="M14.8526 5.78857H12.5685V2.03404C12.5348 1.74964 12.3998 1.48785 12.1891 1.2986C11.9785 1.10935 11.707 1.00589 11.4264 1.00796H4.5742C4.43153 0.989813 4.2867 1.00278 4.1493 1.046C4.01189 1.08923 3.88504 1.16172 3.7771 1.2587C3.66916 1.35567 3.58261 1.47493 3.52315 1.60858C3.46369 1.74223 3.43268 1.88725 3.43216 2.03404V5.78857H1.14808C0.987996 5.78775 0.829528 5.82131 0.682962 5.88705C0.536395 5.9528 0.405006 6.04928 0.297318 6.17022C0.18963 6.29116 0.108049 6.43387 0.05787 6.58908C0.00769079 6.7443 -0.00996609 6.90855 0.00604491 7.07118L-0.12776 15.5H15.8608L15.9946 7.07118C16.0106 6.90855 15.9929 6.7443 15.9428 6.58908C15.8926 6.43387 15.811 6.29116 15.7033 6.17022C15.5956 6.04928 15.4642 5.9528 15.3177 5.88705C15.1711 5.82131 15.0126 5.78775 14.8526 5.78857ZM4.5742 2.03404H11.4264V5.78857H4.5742V2.03404ZM11.9975 13.834H4.00318C3.85174 13.834 3.7065 13.7726 3.59941 13.6632C3.49232 13.5539 3.43216 13.4056 3.43216 13.251C3.43216 13.0964 3.49232 12.9481 3.59941 12.8387C3.7065 12.7294 3.85174 12.668 4.00318 12.668H11.9975C12.1489 12.668 12.2941 12.7294 12.4012 12.8387C12.5083 12.9481 12.5685 13.0964 12.5685 13.251C12.5685 13.4056 12.5083 13.5539 12.4012 13.6632C12.2941 13.7726 12.1489 13.834 11.9975 13.834ZM12.5685 9.28658C12.3426 9.28658 12.1218 9.2182 11.934 9.09008C11.7462 8.96195 11.5998 8.77985 11.5134 8.56679C11.4269 8.35373 11.4043 8.11929 11.4484 7.8931C11.4924 7.66692 11.6012 7.45916 11.7609 7.29609C11.9206 7.13302 12.1241 7.02197 12.3457 6.97698C12.5672 6.93199 12.7968 6.95508 13.0055 7.04333C13.2142 7.13158 13.3926 7.28103 13.518 7.47278C13.6435 7.66453 13.7105 7.88997 13.7105 8.12058C13.7105 8.42982 13.5902 8.7264 13.376 8.94507C13.1618 9.16374 12.8714 9.28658 12.5685 9.28658Z"/>
4
- </g>
5
- </svg>
1
+ const C = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame 48097328">\r
3
+ <path id="Vector" d="M14.8526 5.78857H12.5685V2.03404C12.5348 1.74964 12.3998 1.48785 12.1891 1.2986C11.9785 1.10935 11.707 1.00589 11.4264 1.00796H4.5742C4.43153 0.989813 4.2867 1.00278 4.1493 1.046C4.01189 1.08923 3.88504 1.16172 3.7771 1.2587C3.66916 1.35567 3.58261 1.47493 3.52315 1.60858C3.46369 1.74223 3.43268 1.88725 3.43216 2.03404V5.78857H1.14808C0.987996 5.78775 0.829528 5.82131 0.682962 5.88705C0.536395 5.9528 0.405006 6.04928 0.297318 6.17022C0.18963 6.29116 0.108049 6.43387 0.05787 6.58908C0.00769079 6.7443 -0.00996609 6.90855 0.00604491 7.07118L-0.12776 15.5H15.8608L15.9946 7.07118C16.0106 6.90855 15.9929 6.7443 15.9428 6.58908C15.8926 6.43387 15.811 6.29116 15.7033 6.17022C15.5956 6.04928 15.4642 5.9528 15.3177 5.88705C15.1711 5.82131 15.0126 5.78775 14.8526 5.78857ZM4.5742 2.03404H11.4264V5.78857H4.5742V2.03404ZM11.9975 13.834H4.00318C3.85174 13.834 3.7065 13.7726 3.59941 13.6632C3.49232 13.5539 3.43216 13.4056 3.43216 13.251C3.43216 13.0964 3.49232 12.9481 3.59941 12.8387C3.7065 12.7294 3.85174 12.668 4.00318 12.668H11.9975C12.1489 12.668 12.2941 12.7294 12.4012 12.8387C12.5083 12.9481 12.5685 13.0964 12.5685 13.251C12.5685 13.4056 12.5083 13.5539 12.4012 13.6632C12.2941 13.7726 12.1489 13.834 11.9975 13.834ZM12.5685 9.28658C12.3426 9.28658 12.1218 9.2182 11.934 9.09008C11.7462 8.96195 11.5998 8.77985 11.5134 8.56679C11.4269 8.35373 11.4043 8.11929 11.4484 7.8931C11.4924 7.66692 11.6012 7.45916 11.7609 7.29609C11.9206 7.13302 12.1241 7.02197 12.3457 6.97698C12.5672 6.93199 12.7968 6.95508 13.0055 7.04333C13.2142 7.13158 13.3926 7.28103 13.518 7.47278C13.6435 7.66453 13.7105 7.88997 13.7105 8.12058C13.7105 8.42982 13.5902 8.7264 13.376 8.94507C13.1618 9.16374 12.8714 9.28658 12.5685 9.28658Z"/>\r
4
+ </g>\r
5
+ </svg>\r
6
6
  `;
7
7
  export {
8
8
  C as default
@@ -1,8 +1,8 @@
1
- const C = `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame 48097341">
3
- <path id="Vector" d="M18.6172 2.17816C18.3301 1.97451 17.948 1.94317 17.6285 2.0959L2.5225 9.32956C2.22155 9.47411 2.023 9.76022 2.00189 10.0815C1.99143 10.2393 2.02448 10.397 2.09775 10.5389C2.17102 10.6807 2.28194 10.8018 2.41946 10.8899L7.45347 14.1163C7.43696 14.1837 7.41752 14.2508 7.41752 14.3211V18.0952C7.41752 18.5949 7.84157 19 8.36467 19C8.88778 19 9.31183 18.5949 9.31183 18.0952V14.6344L16.5674 5.82125L14.7335 16.0088L11.4339 14.403C10.9656 14.175 10.3971 14.3535 10.1599 14.7983C9.92271 15.2435 10.1081 15.7888 10.5737 16.0154L15.0186 18.1782C15.1536 18.2441 15.3011 18.2767 15.4487 18.2767C15.5939 18.2767 15.7396 18.2449 15.8732 18.1808C16.0058 18.1173 16.121 18.0248 16.2093 17.9109C16.2977 17.797 16.3568 17.6649 16.3818 17.5252L18.9863 3.05804C19.0467 2.72182 18.9044 2.38121 18.6172 2.17816ZM8.54587 12.6372L4.82371 10.252L14.21 5.75736L8.54587 12.6372Z" />
4
- </g>
5
- </svg>
1
+ const C = `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame 48097341">\r
3
+ <path id="Vector" d="M18.6172 2.17816C18.3301 1.97451 17.948 1.94317 17.6285 2.0959L2.5225 9.32956C2.22155 9.47411 2.023 9.76022 2.00189 10.0815C1.99143 10.2393 2.02448 10.397 2.09775 10.5389C2.17102 10.6807 2.28194 10.8018 2.41946 10.8899L7.45347 14.1163C7.43696 14.1837 7.41752 14.2508 7.41752 14.3211V18.0952C7.41752 18.5949 7.84157 19 8.36467 19C8.88778 19 9.31183 18.5949 9.31183 18.0952V14.6344L16.5674 5.82125L14.7335 16.0088L11.4339 14.403C10.9656 14.175 10.3971 14.3535 10.1599 14.7983C9.92271 15.2435 10.1081 15.7888 10.5737 16.0154L15.0186 18.1782C15.1536 18.2441 15.3011 18.2767 15.4487 18.2767C15.5939 18.2767 15.7396 18.2449 15.8732 18.1808C16.0058 18.1173 16.121 18.0248 16.2093 17.9109C16.2977 17.797 16.3568 17.6649 16.3818 17.5252L18.9863 3.05804C19.0467 2.72182 18.9044 2.38121 18.6172 2.17816ZM8.54587 12.6372L4.82371 10.252L14.21 5.75736L8.54587 12.6372Z" />\r
4
+ </g>\r
5
+ </svg>\r
6
6
  `;
7
7
  export {
8
8
  C as default
@@ -1,12 +1,12 @@
1
- const C = `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame 48097343">
3
- <g id="Vector">
4
- <path d="M6.25145 8.61118H11.3671V10.402H6.25145V8.61118Z"/>
5
- <path d="M10.1098 18.9087H3V1H18V9.36334H16.2659V2.79087H4.7341V17.1178H10.1098V18.9087Z"/>
6
- <path d="M6.25145 4.80559H14.7486V6.59646H6.25145V4.80559ZM15.3624 17.0282C15.122 17.1459 14.8594 17.207 14.5934 17.2073C14.1105 17.2073 13.6474 17.0092 13.306 16.6565C12.9645 16.3039 12.7727 15.8256 12.7727 15.3269C12.7727 14.8282 12.9645 14.35 13.306 13.9973C13.6474 13.6447 14.1105 13.4466 14.5934 13.4465C14.6341 13.4465 14.6757 13.4465 14.7165 13.451L14.4954 14.7646L18 13.1528L15.2254 10.4119L15.0113 11.6834C14.8714 11.6663 14.7307 11.6576 14.5899 11.6574C13.6471 11.6574 12.7429 12.0442 12.0762 12.7327C11.4095 13.4212 11.035 14.355 11.035 15.3287C11.035 16.3024 11.4095 17.2362 12.0762 17.9247C12.7429 18.6132 13.6471 19 14.5899 19C15.1095 19.0013 15.6229 18.8839 16.0934 18.6561C16.3979 18.5091 16.6808 18.3183 16.9335 18.0893L15.7899 16.7462C15.6609 16.8605 15.517 16.9554 15.3624 17.0282Z"/>
7
- </g>
8
- </g>
9
- </svg>
1
+ const C = `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame 48097343">\r
3
+ <g id="Vector">\r
4
+ <path d="M6.25145 8.61118H11.3671V10.402H6.25145V8.61118Z"/>\r
5
+ <path d="M10.1098 18.9087H3V1H18V9.36334H16.2659V2.79087H4.7341V17.1178H10.1098V18.9087Z"/>\r
6
+ <path d="M6.25145 4.80559H14.7486V6.59646H6.25145V4.80559ZM15.3624 17.0282C15.122 17.1459 14.8594 17.207 14.5934 17.2073C14.1105 17.2073 13.6474 17.0092 13.306 16.6565C12.9645 16.3039 12.7727 15.8256 12.7727 15.3269C12.7727 14.8282 12.9645 14.35 13.306 13.9973C13.6474 13.6447 14.1105 13.4466 14.5934 13.4465C14.6341 13.4465 14.6757 13.4465 14.7165 13.451L14.4954 14.7646L18 13.1528L15.2254 10.4119L15.0113 11.6834C14.8714 11.6663 14.7307 11.6576 14.5899 11.6574C13.6471 11.6574 12.7429 12.0442 12.0762 12.7327C11.4095 13.4212 11.035 14.355 11.035 15.3287C11.035 16.3024 11.4095 17.2362 12.0762 17.9247C12.7429 18.6132 13.6471 19 14.5899 19C15.1095 19.0013 15.6229 18.8839 16.0934 18.6561C16.3979 18.5091 16.6808 18.3183 16.9335 18.0893L15.7899 16.7462C15.6609 16.8605 15.517 16.9554 15.3624 17.0282Z"/>\r
7
+ </g>\r
8
+ </g>\r
9
+ </svg>\r
10
10
  `;
11
11
  export {
12
12
  C as default
@@ -1,13 +1,13 @@
1
- const C = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame" clip-path="url(#clip0_69_2692)">
3
- <path id="Union" d="M1.8291 7.76953C2.20799 7.80824 2.50391 8.12846 2.50391 8.51758C2.5041 11.8334 5.20174 14.5312 8.51758 14.5312C10.0836 14.5312 11.5666 13.9321 12.6934 12.8447C12.9921 12.5574 13.4688 12.5641 13.7568 12.8633C14.0449 13.1621 14.0361 13.6383 13.7373 13.9268C12.3285 15.2858 10.4748 16.0341 8.51758 16.0342C6.06122 16.0342 3.87649 14.8499 2.50391 13.0225V14.5312C2.50378 14.9463 2.16703 15.2831 1.75195 15.2832C1.33681 15.2832 1.00012 14.9464 1 14.5312V8.51758C1 8.10236 1.33673 7.76562 1.75195 7.76562L1.8291 7.76953ZM8.51758 1C10.9739 1 13.1587 2.18427 14.5312 4.01172V2.50293C14.5315 2.08792 14.8681 1.75195 15.2832 1.75195C15.6982 1.75206 16.0349 2.08799 16.0352 2.50293V8.51758L16.0312 8.59375C16.003 8.87173 15.8233 9.10519 15.5762 9.20996C15.5087 9.23853 15.4361 9.25691 15.3604 9.26465C15.335 9.26725 15.3093 9.26855 15.2832 9.26855C14.8938 9.26855 14.5735 8.97301 14.5352 8.59375L14.5312 8.51758C14.5312 5.20162 11.8335 2.50293 8.51758 2.50293C6.87113 2.50293 5.33436 3.15612 4.19043 4.34082C3.90312 4.64066 3.42637 4.64842 3.12793 4.35938C2.82919 4.07135 2.82011 3.59531 3.1084 3.29688C4.53788 1.81545 6.45945 1 8.51758 1Z" />
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_69_2692">
7
- <rect width="16" height="16"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
1
+ const C = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame" clip-path="url(#clip0_69_2692)">\r
3
+ <path id="Union" d="M1.8291 7.76953C2.20799 7.80824 2.50391 8.12846 2.50391 8.51758C2.5041 11.8334 5.20174 14.5312 8.51758 14.5312C10.0836 14.5312 11.5666 13.9321 12.6934 12.8447C12.9921 12.5574 13.4688 12.5641 13.7568 12.8633C14.0449 13.1621 14.0361 13.6383 13.7373 13.9268C12.3285 15.2858 10.4748 16.0341 8.51758 16.0342C6.06122 16.0342 3.87649 14.8499 2.50391 13.0225V14.5312C2.50378 14.9463 2.16703 15.2831 1.75195 15.2832C1.33681 15.2832 1.00012 14.9464 1 14.5312V8.51758C1 8.10236 1.33673 7.76562 1.75195 7.76562L1.8291 7.76953ZM8.51758 1C10.9739 1 13.1587 2.18427 14.5312 4.01172V2.50293C14.5315 2.08792 14.8681 1.75195 15.2832 1.75195C15.6982 1.75206 16.0349 2.08799 16.0352 2.50293V8.51758L16.0312 8.59375C16.003 8.87173 15.8233 9.10519 15.5762 9.20996C15.5087 9.23853 15.4361 9.25691 15.3604 9.26465C15.335 9.26725 15.3093 9.26855 15.2832 9.26855C14.8938 9.26855 14.5735 8.97301 14.5352 8.59375L14.5312 8.51758C14.5312 5.20162 11.8335 2.50293 8.51758 2.50293C6.87113 2.50293 5.33436 3.15612 4.19043 4.34082C3.90312 4.64066 3.42637 4.64842 3.12793 4.35938C2.82919 4.07135 2.82011 3.59531 3.1084 3.29688C4.53788 1.81545 6.45945 1 8.51758 1Z" />\r
4
+ </g>\r
5
+ <defs>\r
6
+ <clipPath id="clip0_69_2692">\r
7
+ <rect width="16" height="16"/>\r
8
+ </clipPath>\r
9
+ </defs>\r
10
+ </svg>\r
11
11
  `;
12
12
  export {
13
13
  C as default
@@ -1,14 +1,14 @@
1
- const t = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame 48097328">
3
- <g id="Vector">
4
- <path d="M10.7597 2H15V3.5H10.7597V2Z" />
5
- <path d="M13.5 3.40571H15V15H13.5V3.40571ZM0.272704 13.5H13.4998L13.5 15H0.272704V13.5ZM0.272704 8.98563L2 8.98563V13.5L0.272704 13.5V8.98563Z" />
6
- <path d="M6.60637 11.716L11.2214 6.701H1.9913L6.60637 11.716Z" />
7
- <path d="M4.84091 6.72556H9.05908C8.24277 4.00519 5.44075 2 2.1081 2C1.37452 2 0.666891 2.09773 0 2.27824C2.36188 2.91784 4.20412 4.60443 4.84091 6.72556Z" />
8
- </g>
9
- </g>
10
- </svg>
1
+ const r = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame 48097328">\r
3
+ <g id="Vector">\r
4
+ <path d="M10.7597 2H15V3.5H10.7597V2Z" />\r
5
+ <path d="M13.5 3.40571H15V15H13.5V3.40571ZM0.272704 13.5H13.4998L13.5 15H0.272704V13.5ZM0.272704 8.98563L2 8.98563V13.5L0.272704 13.5V8.98563Z" />\r
6
+ <path d="M6.60637 11.716L11.2214 6.701H1.9913L6.60637 11.716Z" />\r
7
+ <path d="M4.84091 6.72556H9.05908C8.24277 4.00519 5.44075 2 2.1081 2C1.37452 2 0.666891 2.09773 0 2.27824C2.36188 2.91784 4.20412 4.60443 4.84091 6.72556Z" />\r
8
+ </g>\r
9
+ </g>\r
10
+ </svg>\r
11
11
  `;
12
12
  export {
13
- t as default
13
+ r as default
14
14
  };
@@ -1,9 +1,9 @@
1
- const t = `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame 11127">
3
- <path id="Vector" d="M3.96873 13V4.8592H16.0843V13H18V3.00002L2 3V13H3.9687H3.96873Z"/>
4
- <path id="Vector_2" d="M11.3845 9H8.49461V13.6546H5L10 18L15 13.6546H11.3845V9H11.3845Z"/>
5
- </g>
6
- </svg>
1
+ const t = `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame 11127">\r
3
+ <path id="Vector" d="M3.96873 13V4.8592H16.0843V13H18V3.00002L2 3V13H3.9687H3.96873Z"/>\r
4
+ <path id="Vector_2" d="M11.3845 9H8.49461V13.6546H5L10 18L15 13.6546H11.3845V9H11.3845Z"/>\r
5
+ </g>\r
6
+ </svg>\r
7
7
  `;
8
8
  export {
9
9
  t as default
@@ -1,13 +1,13 @@
1
- const C = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
2
- <g id="Frame 48097328" clip-path="url(#clip0_177_503)">
3
- <path id="Vector" d="M2.49856 7.87533L3.11381 8.52408C2.78299 8.71952 2.50356 8.99105 2.29872 9.31611C2.09388 9.64118 1.96954 10.0104 1.93601 10.3932L1.94193 10.5264C2.07812 12.0777 4.57269 13.3387 7.56685 13.6124V12.2664L9.67631 14.1311L7.56685 16V14.547C3.9677 14.2322 1 12.4936 1 10.3916C1 9.45724 1.56255 8.57697 2.49856 7.87513V7.87533ZM14.2582 7.69079C15.3451 8.42164 16.0043 9.36645 16 10.3916C16 12.2607 13.8362 13.838 10.8393 14.3903V13.4514C13.3076 12.9769 15.064 11.7905 15.064 10.3916C15.064 9.61237 14.5204 8.90066 13.6092 8.33382L14.2584 7.69079H14.2582ZM11.0093 3.10632C11.3681 3.10632 11.5467 3.28493 11.5467 3.64375V10.8193C11.5467 11.1783 11.3681 11.3569 11.0093 11.3569H3.82262C3.46358 11.3569 3.28494 11.1783 3.28494 10.8193V3.64375C3.28494 3.28493 3.46358 3.10632 3.82262 3.10632H11.0091H11.0093ZM12.5035 1C12.7944 0.999787 13.0736 1.11478 13.28 1.31982C13.4864 1.52487 13.6032 1.80329 13.6049 2.09421V8.155C13.6032 8.44592 13.4864 8.72434 13.28 8.92939C13.0736 9.13444 12.7944 9.24942 12.5035 9.24921H12.178V3.88987C12.2702 2.39441 11.1832 2.48066 10.7321 2.46171H5.33559V2.09421C5.33716 1.80343 5.45379 1.5251 5.66 1.32006C5.8662 1.11501 6.14521 0.999944 6.43602 1H12.5033H12.5035Z"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_177_503">
7
- <rect width="16.0002" height="15.9997"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
1
+ const C = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\r
2
+ <g id="Frame 48097328" clip-path="url(#clip0_177_503)">\r
3
+ <path id="Vector" d="M2.49856 7.87533L3.11381 8.52408C2.78299 8.71952 2.50356 8.99105 2.29872 9.31611C2.09388 9.64118 1.96954 10.0104 1.93601 10.3932L1.94193 10.5264C2.07812 12.0777 4.57269 13.3387 7.56685 13.6124V12.2664L9.67631 14.1311L7.56685 16V14.547C3.9677 14.2322 1 12.4936 1 10.3916C1 9.45724 1.56255 8.57697 2.49856 7.87513V7.87533ZM14.2582 7.69079C15.3451 8.42164 16.0043 9.36645 16 10.3916C16 12.2607 13.8362 13.838 10.8393 14.3903V13.4514C13.3076 12.9769 15.064 11.7905 15.064 10.3916C15.064 9.61237 14.5204 8.90066 13.6092 8.33382L14.2584 7.69079H14.2582ZM11.0093 3.10632C11.3681 3.10632 11.5467 3.28493 11.5467 3.64375V10.8193C11.5467 11.1783 11.3681 11.3569 11.0093 11.3569H3.82262C3.46358 11.3569 3.28494 11.1783 3.28494 10.8193V3.64375C3.28494 3.28493 3.46358 3.10632 3.82262 3.10632H11.0091H11.0093ZM12.5035 1C12.7944 0.999787 13.0736 1.11478 13.28 1.31982C13.4864 1.52487 13.6032 1.80329 13.6049 2.09421V8.155C13.6032 8.44592 13.4864 8.72434 13.28 8.92939C13.0736 9.13444 12.7944 9.24942 12.5035 9.24921H12.178V3.88987C12.2702 2.39441 11.1832 2.48066 10.7321 2.46171H5.33559V2.09421C5.33716 1.80343 5.45379 1.5251 5.66 1.32006C5.8662 1.11501 6.14521 0.999944 6.43602 1H12.5033H12.5035Z"/>\r
4
+ </g>\r
5
+ <defs>\r
6
+ <clipPath id="clip0_177_503">\r
7
+ <rect width="16.0002" height="15.9997"/>\r
8
+ </clipPath>\r
9
+ </defs>\r
10
+ </svg>\r
11
11
  `;
12
12
  export {
13
13
  C as default
package/es/src/index.mjs CHANGED
@@ -1,86 +1,95 @@
1
1
  import "./style/common.css";
2
2
  import { Button as o } from "./button/index.mjs";
3
- import { Button as po } from "./button/index.mjs";
3
+ import { Button as Ko } from "./button/index.mjs";
4
4
  import { TextButton as r } from "./textButton/index.mjs";
5
- import { TextButton as io } from "./textButton/index.mjs";
5
+ import { TextButton as uo } from "./textButton/index.mjs";
6
6
  import { Tooltip as t } from "./tooltip/index.mjs";
7
- import { Tooltip as lo } from "./tooltip/index.mjs";
7
+ import { Tooltip as co } from "./tooltip/index.mjs";
8
8
  import { Icon as m } from "./icon/index.mjs";
9
- import { Icon as so } from "./icon/index.mjs";
9
+ import { Icon as Co } from "./icon/index.mjs";
10
10
  import { KInput as e } from "./input/index.mjs";
11
- import { KInput as uo } from "./input/index.mjs";
11
+ import { KInput as ho } from "./input/index.mjs";
12
12
  import p from "./link/index.mjs";
13
- import { default as co } from "./link/index.mjs";
13
+ import { default as ko } from "./link/index.mjs";
14
14
  import f from "./upload/index.mjs";
15
- import { default as ho } from "./upload/index.mjs";
15
+ import { default as Io } from "./upload/index.mjs";
16
16
  import i from "./shake/index.mjs";
17
- import { default as So } from "./shake/index.mjs";
18
- import a from "./dialog/index.mjs";
19
- import { default as bo } from "./dialog/index.mjs";
20
- import l from "./scroll/index.mjs";
21
- import { default as Io } from "./scroll/index.mjs";
17
+ import { default as Bo } from "./shake/index.mjs";
18
+ import l from "./dialog/index.mjs";
19
+ import { default as Go } from "./dialog/index.mjs";
20
+ import a from "./scroll/index.mjs";
21
+ import { default as Eo } from "./scroll/index.mjs";
22
22
  import x from "./toast/index.mjs";
23
- import { default as Do } from "./toast/index.mjs";
24
- import s from "./wheel/index.mjs";
25
- import { default as wo } from "./wheel/index.mjs";
23
+ import { default as Ho } from "./toast/index.mjs";
24
+ import K from "./wheel/index.mjs";
25
+ import { default as Mo } from "./wheel/index.mjs";
26
26
  import n from "./uploadFile/index.mjs";
27
- import { default as Fo } from "./uploadFile/index.mjs";
27
+ import { default as Oo } from "./uploadFile/index.mjs";
28
28
  import { Card as u } from "./card/index.mjs";
29
- import { Card as Ho } from "./card/index.mjs";
30
- import d from "./xgplay/index.mjs";
31
- import { default as Mo } from "./xgplay/index.mjs";
32
- import { ECharts as K } from "./echarts/index.mjs";
33
- import { ECharts as Vo } from "./echarts/index.mjs";
29
+ import { Card as Wo } from "./card/index.mjs";
30
+ import s from "./xgplay/index.mjs";
31
+ import { default as jo } from "./xgplay/index.mjs";
32
+ import { ECharts as d } from "./echarts/index.mjs";
33
+ import { ECharts as vo } from "./echarts/index.mjs";
34
34
  import { HotMap as c } from "./hotmap/index.mjs";
35
- import { HotMap as Po } from "./hotmap/index.mjs";
35
+ import { HotMap as zo } from "./hotmap/index.mjs";
36
36
  import { KTree as T } from "./tree/index.mjs";
37
- import { KTree as qo } from "./tree/index.mjs";
38
- import { TableScroll as h } from "./tableScroll/index.mjs";
39
- import { TableScroll as yo } from "./tableScroll/index.mjs";
40
- import { KSelect as C, KOption as S } from "./select/index.mjs";
41
- import { KOption as Ao, KSelect as Jo } from "./select/index.mjs";
42
- import { KCheckbox as k, KCheckboxGroup as b } from "./checkbox/index.mjs";
43
- import { KCheckbox as Qo, KCheckboxGroup as Ro } from "./checkbox/index.mjs";
37
+ import { KTree as Jo } from "./tree/index.mjs";
38
+ import { TableScroll as C } from "./tableScroll/index.mjs";
39
+ import { TableScroll as Ro } from "./tableScroll/index.mjs";
40
+ import { KSelect as S, KOption as h } from "./select/index.mjs";
41
+ import { KOption as Yo, KSelect as Zo } from "./select/index.mjs";
42
+ import { KCheckbox as b, KCheckboxGroup as k } from "./checkbox/index.mjs";
43
+ import { KCheckbox as $o, KCheckboxGroup as or } from "./checkbox/index.mjs";
44
44
  import { KCollapse as g, KCollapseItem as I } from "./collapse/index.mjs";
45
- import { KCollapse as Yo, KCollapseItem as Zo } from "./collapse/index.mjs";
46
- import { Switch as B } from "./switch/index.mjs";
47
- import { Switch as $o } from "./switch/index.mjs";
48
- import { Timeline as D } from "./timeline/index.mjs";
49
- import { Timeline as rr } from "./timeline/index.mjs";
50
- import { Drag as U } from "./drag/index.mjs";
51
- import { Drag as mr } from "./drag/index.mjs";
52
- import { Sign as w } from "./sign/index.mjs";
53
- import { Sign as pr } from "./sign/index.mjs";
54
- const to = [o, r, m, p, f, i, a, l, x, s, t, e, B, D, U, n, u, c, T, k, b, g, I, w, K, C, S, h, d];
45
+ import { KCollapse as tr, KCollapseItem as mr } from "./collapse/index.mjs";
46
+ import { Switch as U } from "./switch/index.mjs";
47
+ import { Switch as pr } from "./switch/index.mjs";
48
+ import { Timeline as B } from "./timeline/index.mjs";
49
+ import { Timeline as ir } from "./timeline/index.mjs";
50
+ import { Drag as D } from "./drag/index.mjs";
51
+ import { Drag as ar } from "./drag/index.mjs";
52
+ import { Sign as G } from "./sign/index.mjs";
53
+ import { Sign as Kr } from "./sign/index.mjs";
54
+ import { KNumberScroll as w } from "./numberScroll/index.mjs";
55
+ import { KNumberScroll as ur } from "./numberScroll/index.mjs";
56
+ import { KCountUp as E } from "./countUp/index.mjs";
57
+ import { KCountUp as dr } from "./countUp/index.mjs";
58
+ import { KGradientText as F } from "./gradientText/index.mjs";
59
+ import { KGradientText as Tr } from "./gradientText/index.mjs";
60
+ const lo = [o, r, m, p, f, i, l, a, x, K, t, e, U, B, D, n, u, c, T, b, k, g, I, G, d, S, h, C, s, w, E, F];
55
61
  export {
56
- po as Button,
57
- Ho as Card,
58
- bo as Dialog,
59
- mr as Drag,
60
- Vo as ECharts,
61
- Po as HotMap,
62
- so as Icon,
63
- Qo as KCheckbox,
64
- Ro as KCheckboxGroup,
65
- Yo as KCollapse,
66
- Zo as KCollapseItem,
67
- uo as KInput,
68
- Ao as KOption,
69
- Jo as KSelect,
70
- Mo as KVideo,
71
- co as Link,
72
- Io as Scroll,
73
- So as Shake,
74
- pr as Sign,
75
- $o as Switch,
76
- yo as TableScroll,
77
- io as TextButton,
78
- rr as Timeline,
79
- Do as Toast,
80
- lo as Tooltip,
81
- qo as Tree,
82
- ho as Upload,
83
- Fo as UploadFile,
84
- wo as Wheel,
85
- to as default
62
+ Ko as Button,
63
+ Wo as Card,
64
+ Go as Dialog,
65
+ ar as Drag,
66
+ vo as ECharts,
67
+ zo as HotMap,
68
+ Co as Icon,
69
+ $o as KCheckbox,
70
+ or as KCheckboxGroup,
71
+ tr as KCollapse,
72
+ mr as KCollapseItem,
73
+ dr as KCountUp,
74
+ Tr as KGradientText,
75
+ ho as KInput,
76
+ ur as KNumberScroll,
77
+ Yo as KOption,
78
+ Zo as KSelect,
79
+ jo as KVideo,
80
+ ko as Link,
81
+ Eo as Scroll,
82
+ Bo as Shake,
83
+ Kr as Sign,
84
+ pr as Switch,
85
+ Ro as TableScroll,
86
+ uo as TextButton,
87
+ ir as Timeline,
88
+ Ho as Toast,
89
+ co as Tooltip,
90
+ Jo as Tree,
91
+ Io as Upload,
92
+ Oo as UploadFile,
93
+ Mo as Wheel,
94
+ lo as default
86
95
  };
@@ -0,0 +1,7 @@
1
+ import o from "./src/number.mjs";
2
+ import { withInstall as r } from "../../assets/ts/utils.mjs";
3
+ const l = r(o);
4
+ export {
5
+ l as KNumberScroll,
6
+ l as default
7
+ };
@@ -0,0 +1,59 @@
1
+ class m {
2
+ constructor(t, s) {
3
+ this.setting = {
4
+ len: 0,
5
+ speed: 1e3,
6
+ num: "",
7
+ symbol: "",
8
+ dot: 0,
9
+ zero: !0
10
+ }, this.html = `<div class="number-animate-dom" data-num="{{num}}">
11
+ <span class="number-animate-span">0</span>
12
+ <span class="number-animate-span">1</span>
13
+ <span class="number-animate-span">2</span>
14
+ <span class="number-animate-span">3</span>
15
+ <span class="number-animate-span">4</span>
16
+ <span class="number-animate-span">5</span>
17
+ <span class="number-animate-span">6</span>
18
+ <span class="number-animate-span">7</span>
19
+ <span class="number-animate-span">8</span>
20
+ <span class="number-animate-span">9</span>
21
+ <span class="number-animate-span">0</span>
22
+ <span class="number-animate-span">.</span>
23
+ </div>`, this._height = 0, this.extend(this.setting, s), this._el = t, t.innerHTML = this.setNumDom(this.numToArr(this.setting.num)), this.animate(t);
24
+ }
25
+ animate(t) {
26
+ let s = t.querySelectorAll(".number-animate-dom");
27
+ for (let e of s) {
28
+ let n = e.getAttribute("data-num");
29
+ this.setting.zero && (n = n == 0 ? 10 : n), this._height = e.offsetHeight / 12, e.style.transform = e.style["-webkit-transform"] = "translateY(" + (n == "." ? -11 * this._height : -n * this._height) + "px)", e.style.transition = e.style["-webkit-transition"] = (n == "." ? 0 : this.setting.speed / 1e3) + "s";
30
+ }
31
+ }
32
+ setNumDom(t) {
33
+ let s = '<div class="number-animate">';
34
+ return t.forEach((e, n) => {
35
+ n != 0 && (t.length - n) % 3 == 0 && this.setting.symbol != "" && e != "." ? s += '<div class="number-animate-dot"><span>' + this.setting.symbol + "</span></div>" + this.html.replace("{{num}}", e) : s += this.html.replace("{{num}}", e);
36
+ }), s += "</div>", s;
37
+ }
38
+ update(t) {
39
+ let s = this.numToArr(t), e = this._el.querySelectorAll(".number-animate-dom");
40
+ e.length != s.length ? this._el.innerHTML = this.setNumDom(this.numToArr(t)) : [].forEach.call(e, (n, a) => {
41
+ n.setAttribute("data-num", s[a]);
42
+ }), this.animate(this._el);
43
+ }
44
+ numToArr(t) {
45
+ t = parseFloat(t).toFixed(this.setting.dot);
46
+ let s = typeof t == "number" ? t.toString().split("") : t.split(""), e = s.length;
47
+ if (s.length <= this.setting.len)
48
+ for (let n = 0; n < this.setting.len - e; n++)
49
+ s.unshift(0);
50
+ return s;
51
+ }
52
+ extend(t, s) {
53
+ for (let e in s)
54
+ t[e] = s[e];
55
+ }
56
+ }
57
+ export {
58
+ m as default
59
+ };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as u, ref as m, watch as d, onMounted as s, openBlock as c, createElementBlock as f, normalizeClass as a, unref as n, createElementVNode as i, normalizeStyle as p } from "vue";
2
+ import { createNamespace as b } from "../../../assets/ts/utils.mjs";
3
+ import "./style/index.css";
4
+ import C from "./index.mjs";
5
+ const v = u({
6
+ name: "k-number-scroll"
7
+ }), N = u({
8
+ ...v,
9
+ props: {
10
+ value: { default: 0 },
11
+ speed: { default: 1e3 },
12
+ symbol: { default: "" },
13
+ dot: { default: 0 },
14
+ gradientColor: { default: () => [] }
15
+ },
16
+ setup(l) {
17
+ const t = m(), { n: r } = b("number-scroll");
18
+ let o, e = l;
19
+ return d(() => e.value, () => {
20
+ o.update(e.value);
21
+ }), s(() => {
22
+ o = new C(t.value, {
23
+ num: e.value + "",
24
+ speed: e.speed,
25
+ symbol: e.symbol,
26
+ dot: e.dot
27
+ });
28
+ }), (g, y) => (c(), f("div", {
29
+ class: a([n(r)()])
30
+ }, [
31
+ i("div", {
32
+ class: a([n(r)("wrapper"), l.gradientColor.length > 0 ? "number-gradient-text" : ""]),
33
+ ref_key: "numberRef",
34
+ ref: t,
35
+ style: p({ "--firstColor": l.gradientColor[0], "--lastColor": l.gradientColor[1] })
36
+ }, null, 6)
37
+ ], 2));
38
+ }
39
+ });
40
+ export {
41
+ N as default
42
+ };
@@ -0,0 +1,32 @@
1
+ .k-number-scroll .number-gradient-text span.number-animate-span {
2
+ background-image: -webkit-linear-gradient(-90deg, var(--firstColor), var(--lastColor));
3
+ -webkit-background-clip: text;
4
+ background-clip: text;
5
+ -webkit-text-fill-color: transparent;
6
+ }
7
+ .k-number-scroll .number-animate {
8
+ line-height: 45px;
9
+ height: 45px;
10
+ font-size: 40px;
11
+ overflow: hidden;
12
+ display: inline-block;
13
+ position: relative;
14
+ }
15
+ .k-number-scroll .number-animate .number-animate-dot {
16
+ width: 21px;
17
+ float: left;
18
+ text-align: center;
19
+ }
20
+ .k-number-scroll .number-animate .number-animate-dom {
21
+ width: 27px;
22
+ text-align: center;
23
+ float: left;
24
+ position: relative;
25
+ top: 0;
26
+ }
27
+ .k-number-scroll .number-animate .number-animate-dom span, .k-number-scroll .number-animate .number-animate-dot span {
28
+ float: left;
29
+ width: 100%;
30
+ height: 45px;
31
+ line-height: 1.1;
32
+ }