@kyfe/ks-query-table 0.0.21 → 0.0.22

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 (310) hide show
  1. package/.bitmap +38 -0
  2. package/.editorconfig +5 -0
  3. package/.env.dev +2 -0
  4. package/.env.gray +2 -0
  5. package/.env.prod +2 -0
  6. package/.env.stg +3 -0
  7. package/.env.uat +2 -0
  8. package/.eslintignore +1 -0
  9. package/.eslintrc.js +25 -0
  10. package/.gitmodules +4 -0
  11. package/.prettierrc +11 -0
  12. package/README.md +15 -0
  13. package/babel.config.js +10 -0
  14. package/build-apm.sh +9 -0
  15. package/build.sh +16 -0
  16. package/config/index.js +20 -0
  17. package/jsconfig.json +7 -0
  18. package/kuasheng-sdk/index.js +80 -0
  19. package/kuasheng-sdk/lib/assets.js +304 -0
  20. package/kuasheng-sdk/lib/context.js +199 -0
  21. package/kuasheng-sdk/lib/layout.js +346 -0
  22. package/kuasheng-sdk/lib/location.js +46 -0
  23. package/kuasheng-sdk/lib/media.js +342 -0
  24. package/kuasheng-sdk/lib/navigation.js +30 -0
  25. package/kuasheng-sdk/lib/request.js +76 -0
  26. package/kuasheng-sdk/lib/system.js +190 -0
  27. package/kuasheng-sdk/lib/userinfo.js +98 -0
  28. package/kuasheng-sdk/util/check.js +102 -0
  29. package/kuasheng-sdk/util/config.js +47 -0
  30. package/kuasheng-sdk/util/device.js +25 -0
  31. package/kuasheng-sdk/util/error.js +19 -0
  32. package/kuasheng-sdk/util/funtional.js +153 -0
  33. package/kuasheng-sdk/util/mixin.js +36 -0
  34. package/kuasheng-sdk/util/requestUtil.js +41 -0
  35. package/kuasheng-sdk/util/response.js +33 -0
  36. package/kuasheng-sdk/util/warn.js +35 -0
  37. package/kuasheng-ui/CHANGELOG.md +9 -0
  38. package/kuasheng-ui/components/card.vue +57 -0
  39. package/kuasheng-ui/components/ks-area-select/README.md +43 -0
  40. package/kuasheng-ui/components/ks-area-select/area-picker.vue +554 -0
  41. package/kuasheng-ui/components/ks-area-select/area-search.vue +363 -0
  42. package/kuasheng-ui/components/ks-area-select/areas-pop.vue +56 -0
  43. package/kuasheng-ui/components/ks-area-select/common.js +183 -0
  44. package/kuasheng-ui/components/ks-area-select/index.vue +355 -0
  45. package/kuasheng-ui/components/ks-area-select/mixins.js +216 -0
  46. package/kuasheng-ui/components/ks-area-single-select/README.md +50 -0
  47. package/kuasheng-ui/components/ks-area-single-select/hot-city.js +45 -0
  48. package/kuasheng-ui/components/ks-area-single-select/index.vue +324 -0
  49. package/kuasheng-ui/components/ks-calendar/index.vue +269 -0
  50. package/kuasheng-ui/components/ks-call-phone/call-tips.vue +70 -0
  51. package/kuasheng-ui/components/ks-call-phone/call.vue +178 -0
  52. package/kuasheng-ui/components/ks-call-phone/index.js +48 -0
  53. package/kuasheng-ui/components/ks-call-phone/index.vue +131 -0
  54. package/kuasheng-ui/components/ks-call-phone//345/221/274/345/217/253/347/273/204/344/273/266.md +0 -0
  55. package/kuasheng-ui/components/ks-date-picker/README.md +23 -0
  56. package/kuasheng-ui/components/ks-date-picker/date-picker-bottom.vue +123 -0
  57. package/kuasheng-ui/components/ks-date-picker/date-picker-dropdown.vue +80 -0
  58. package/kuasheng-ui/components/ks-date-picker/date-picker-right.vue +87 -0
  59. package/kuasheng-ui/components/ks-date-picker/date-picker-top.vue +88 -0
  60. package/kuasheng-ui/components/ks-date-picker/date-picker.js +15 -0
  61. package/kuasheng-ui/components/ks-date-picker/date-range-select.vue +92 -0
  62. package/kuasheng-ui/components/ks-date-picker/date-select.vue +65 -0
  63. package/kuasheng-ui/components/ks-date-picker/date-week-month.vue +131 -0
  64. package/kuasheng-ui/components/ks-date-picker/index.js +12 -0
  65. package/kuasheng-ui/components/ks-date-picker/mixin.js +92 -0
  66. package/kuasheng-ui/components/ks-date-picker/month-range-select.vue +129 -0
  67. package/kuasheng-ui/components/ks-date-picker/month-select.vue +85 -0
  68. package/kuasheng-ui/components/ks-date-picker/quarter-select.vue +94 -0
  69. package/kuasheng-ui/components/ks-date-picker/style.less +121 -0
  70. package/kuasheng-ui/components/ks-date-picker/utils.js +109 -0
  71. package/kuasheng-ui/components/ks-date-picker/week-select.vue +99 -0
  72. package/kuasheng-ui/components/ks-decrypt/index.vue +159 -0
  73. package/kuasheng-ui/components/ks-employee/README.md +78 -0
  74. package/kuasheng-ui/components/ks-employee/employee-input.vue +173 -0
  75. package/kuasheng-ui/components/ks-employee/employee-list.vue +662 -0
  76. package/kuasheng-ui/components/ks-employee/employee-popup.vue +197 -0
  77. package/kuasheng-ui/components/ks-employee/employee-search.vue +250 -0
  78. package/kuasheng-ui/components/ks-employee/employee-selected.vue +173 -0
  79. package/kuasheng-ui/components/ks-employee/index.js +17 -0
  80. package/kuasheng-ui/components/ks-employee/package-lock.json +5 -0
  81. package/kuasheng-ui/components/ks-employee/package.json +15 -0
  82. package/kuasheng-ui/components/ks-employee/yarn.lock +4 -0
  83. package/kuasheng-ui/components/ks-field-money/index.js +8 -0
  84. package/kuasheng-ui/components/ks-field-money/index.vue +212 -0
  85. package/kuasheng-ui/components/ks-field-money/package.json +11 -0
  86. package/kuasheng-ui/components/ks-field-money/utils.js +65 -0
  87. package/kuasheng-ui/components/ks-field-money//351/207/221/351/242/235/350/275/254/346/215/242/345/231/250.md +0 -0
  88. package/kuasheng-ui/components/ks-history-search/history-input.vue +131 -0
  89. package/kuasheng-ui/components/ks-history-search/history-list.vue +188 -0
  90. package/kuasheng-ui/components/ks-history-search/img/delete.png +0 -0
  91. package/kuasheng-ui/components/ks-history-search/index.js +9 -0
  92. package/kuasheng-ui/components/ks-history-search/index.vue +125 -0
  93. package/kuasheng-ui/components/ks-history-search/package-lock.json +5 -0
  94. package/kuasheng-ui/components/ks-history-search/package.json +15 -0
  95. package/kuasheng-ui/components/ks-history-search/utils.js +35 -0
  96. package/kuasheng-ui/components/ks-input-search/index.vue +106 -0
  97. package/kuasheng-ui/components/ks-list/index.vue +75 -0
  98. package/kuasheng-ui/components/ks-loading/index.js +16 -0
  99. package/kuasheng-ui/components/ks-month/index.vue +47 -0
  100. package/kuasheng-ui/components/ks-month/package.json +3 -0
  101. package/kuasheng-ui/components/ks-month/range.vue +172 -0
  102. package/kuasheng-ui/components/ks-month/single.vue +136 -0
  103. package/kuasheng-ui/components/ks-month/style.less +125 -0
  104. package/kuasheng-ui/components/ks-month/utils.js +35 -0
  105. package/kuasheng-ui/components/ks-nav/index.vue +264 -0
  106. package/kuasheng-ui/components/ks-nav-bar.js +35 -0
  107. package/kuasheng-ui/components/ks-org/ks-org-tree.vue +247 -0
  108. package/kuasheng-ui/components/ks-org/ks-popup-tree.vue +154 -0
  109. package/kuasheng-ui/components/ks-org/ks-tree-input.vue +240 -0
  110. package/kuasheng-ui/components/ks-org/ks-tree-node.vue +94 -0
  111. package/kuasheng-ui/components/ks-org/ks-tree.vue +229 -0
  112. package/kuasheng-ui/components/ks-org/utils.js +54 -0
  113. package/kuasheng-ui/components/ks-popover/index.vue +457 -0
  114. package/kuasheng-ui/components/ks-popover/mixin.js +28 -0
  115. package/kuasheng-ui/components/ks-popover/utils.js +60 -0
  116. package/kuasheng-ui/components/ks-pull-refresh/index.vue +43 -0
  117. package/kuasheng-ui/components/ks-quarter/index.vue +256 -0
  118. package/kuasheng-ui/components/ks-table/README.md +103 -0
  119. package/kuasheng-ui/components/ks-table/cell.vue +31 -0
  120. package/kuasheng-ui/components/ks-table/index.js +8 -0
  121. package/kuasheng-ui/components/ks-table/index.less +486 -0
  122. package/kuasheng-ui/components/ks-table/index.vue +1088 -0
  123. package/kuasheng-ui/components/ks-table/package.json +12 -0
  124. package/kuasheng-ui/components/ks-table/release.md +7 -0
  125. package/kuasheng-ui/components/ks-toast.js +35 -0
  126. package/kuasheng-ui/components/ks-upload/index.vue +174 -0
  127. package/kuasheng-ui/components/ks-user-access.vue +229 -0
  128. package/kuasheng-ui/components/no-data/README.md +45 -0
  129. package/kuasheng-ui/components/no-data/image.js +1 -0
  130. package/kuasheng-ui/components/no-data/index.vue +83 -0
  131. package/kuasheng-ui/components/notice-bar.vue +16 -0
  132. package/kuasheng-ui/components/steps.js +11 -0
  133. package/kuasheng-ui/components/tabs.vue +40 -0
  134. package/kuasheng-ui/index.js +239 -0
  135. package/kuasheng-ui/patch/datetime-picker/datetimePicker.md +0 -0
  136. package/kuasheng-ui/patch/datetime-picker/index.js +46 -0
  137. package/kuasheng-ui/patch/datetime-picker/utils.js +78 -0
  138. package/kuasheng-ui/patch/field/field.md +1 -0
  139. package/kuasheng-ui/patch/field/index.js +122 -0
  140. package/kuasheng-ui/patch/field/utils.js +36 -0
  141. package/kuasheng-ui/patch/form/form.md +7 -0
  142. package/kuasheng-ui/patch/form/index.js +106 -0
  143. package/kuasheng-ui/patch/index.js +12 -0
  144. package/kuasheng-ui/patch/pagination/index.js +78 -0
  145. package/kuasheng-ui/style/animation-ui.less +31 -0
  146. package/kuasheng-ui/style/font/number/font-number1.otf +0 -0
  147. package/kuasheng-ui/style/font/number/font-number2.ttf +0 -0
  148. package/kuasheng-ui/style/images/checked.svg +1 -0
  149. package/kuasheng-ui/style/images/success.svg +1 -0
  150. package/kuasheng-ui/style/index.less +6 -0
  151. package/kuasheng-ui/style/kuasheng-ui.less +207 -0
  152. package/kuasheng-ui/style/reset-vant.less +307 -0
  153. package/kuasheng-ui/style/vant-var.less +138 -0
  154. package/kuasheng-ui/utils/apis.js +17 -0
  155. package/kuasheng-ui/utils/axios-adapter.js +47 -0
  156. package/kuasheng-ui/utils/bem.js +39 -0
  157. package/kuasheng-ui/utils/bus.js +97 -0
  158. package/kuasheng-ui/utils/common.js +88 -0
  159. package/kuasheng-ui/utils/decrypt/config.js +12 -0
  160. package/kuasheng-ui/utils/decrypt/decrypt-api.js +139 -0
  161. package/kuasheng-ui/utils/decrypt/index.js +6 -0
  162. package/kuasheng-ui/utils/decrypt/mask.js +36 -0
  163. package/kuasheng-ui/utils/decrypt/virtual.js +44 -0
  164. package/kuasheng-ui/utils/directive.js +57 -0
  165. package/kuasheng-ui/utils/directive.md +23 -0
  166. package/kuasheng-ui/utils/drcheck-plugin.js +219 -0
  167. package/kuasheng-ui/utils/error-plugin.js +88 -0
  168. package/kuasheng-ui/utils/filter.js +149 -0
  169. package/kuasheng-ui/utils/http-interceptors.js +18 -0
  170. package/kuasheng-ui/utils/http.js +140 -0
  171. package/kuasheng-ui/utils/index.js +5 -0
  172. package/kuasheng-ui/utils/init-event.js +20 -0
  173. package/kuasheng-ui/utils/log.js +309 -0
  174. package/kuasheng-ui/utils/token.js +9 -0
  175. package/kuasheng-ui/utils/type.js +45 -0
  176. package/kuasheng-ui/utils/validate.js +20 -0
  177. package/kuasheng-ui/utils/watermark.js +67 -0
  178. package/kuasheng-ui/version.js +1 -0
  179. package/ky-apm/client.js +37 -0
  180. package/ky-apm/customHttp.js +38 -0
  181. package/ky-apm/index.js +68 -0
  182. package/ky-apm/plugins/performance.js +84 -0
  183. package/ky-apm/plugins/self-error.js +26 -0
  184. package/ky-apm/warn-log.js +3 -0
  185. package/package.json +81 -10
  186. package/plugin/ks-chii-webpack-html/index.js +53 -0
  187. package/plugin/ks-chii-webpack-html/package.json +16 -0
  188. package/postcss.config.js +15 -0
  189. package/public/capsule-positon.js +50 -0
  190. package/public/fonts/DingTalkJinBuTi.ttf +0 -0
  191. package/public/framework/axios@0.19.0.min.js +9 -0
  192. package/public/framework/fastclick@1.0.6.min.js +1 -0
  193. package/public/framework/iconfont/iconfont.css +91 -0
  194. package/public/framework/iconfont/iconfont.js +1 -0
  195. package/public/framework/iconfont/iconfont.json +142 -0
  196. package/public/framework/iconfont/iconfont.ttf +0 -0
  197. package/public/framework/iconfont/iconfont.woff +0 -0
  198. package/public/framework/iconfont/iconfont.woff2 +0 -0
  199. package/public/framework/vant@2.5.6.min.js +7 -0
  200. package/public/framework/vue-router@3.1.3.min.js +6 -0
  201. package/public/framework/vue@2.6.10.runtime.min.js +6 -0
  202. package/public/framework/vuex@3.1.1.min.js +6 -0
  203. package/public/index.html +260 -0
  204. package/public/ks@3.0.8.umd.min.js +1 -0
  205. package/public/ksui@4.0.27.umd.min.js +10 -0
  206. package/public/status-bar-preset.js +39 -0
  207. package/{index.js → qt-npm/index.js} +3 -3
  208. package/qt-npm/package.json +13 -0
  209. package/src/App.vue +204 -0
  210. package/src/README.md +15 -0
  211. package/src/common/README.md +94 -0
  212. package/src/common/http/axios-adapter.js +47 -0
  213. package/src/common/http/common.js +88 -0
  214. package/src/common/http/http-interceptors.js +18 -0
  215. package/src/common/http/http-lock.js +45 -0
  216. package/src/common/http/index.js +163 -0
  217. package/src/common/http/token.js +9 -0
  218. package/src/common/styles/font/AlibabaSans102Ver2-Md.ttf +0 -0
  219. package/src/common/styles/font.less +12 -0
  220. package/src/common/styles/variables.less +43 -0
  221. package/src/common/utils/index.js +1 -0
  222. package/src/common/utils/platform/README.md +1 -0
  223. package/src/common/utils/platform/android/.gitkeep +0 -0
  224. package/src/common/utils/platform/core/index.js +24 -0
  225. package/src/common/utils/platform/index.js +164 -0
  226. package/src/common/utils/platform/ios/.gitkeep +0 -0
  227. package/src/common/utils/platform/subscribe/helper.js +38 -0
  228. package/src/common/utils/platform/subscribe/index.js +204 -0
  229. package/src/common/utils/platform/subscribe/table-animation.js +75 -0
  230. package/src/config/index.js +31 -0
  231. package/src/config.js +1 -0
  232. package/src/main.js +73 -0
  233. package/src/router.js +52 -0
  234. package/src/view/home/config.js +101 -0
  235. package/src/view/home/demo1.vue +223 -0
  236. package/src/view/home/demo2.vue +124 -0
  237. package/src/view/home/demo3.vue +51 -0
  238. package/src/view/home/demo4.vue +140 -0
  239. package/src/view/home/index.vue +97 -0
  240. package/src/view/home/query-table/README.md +45 -0
  241. package/src/view/home/query-table/api/index.js +12 -0
  242. package/src/view/home/query-table/assets/horizontal-back.svg +1 -0
  243. package/src/view/home/query-table/components/pe-table/cell.js +181 -0
  244. package/src/view/home/query-table/components/pe-table/collapse.js +334 -0
  245. package/src/view/home/query-table/components/pe-table/empty.vue +48 -0
  246. package/src/view/home/query-table/components/pe-table/header.js +328 -0
  247. package/src/view/home/query-table/components/pe-table/images/abnormal.png +0 -0
  248. package/src/view/home/query-table/components/pe-table/images/empty.png +0 -0
  249. package/src/view/home/query-table/components/pe-table/images/fold.svg +1 -0
  250. package/src/view/home/query-table/components/pe-table/images/sort.svg +1 -0
  251. package/src/view/home/query-table/components/pe-table/images/sorting.svg +1 -0
  252. package/src/view/home/query-table/components/pe-table/images/unfold.svg +1 -0
  253. package/src/view/home/query-table/components/pe-table/index.vue +847 -0
  254. package/src/view/home/query-table/components/pe-table/load-more.js +46 -0
  255. package/src/view/home/query-table/components/pe-table/props/index.js +193 -0
  256. package/src/view/home/query-table/components/pe-table/row.vue +118 -0
  257. package/src/view/home/query-table/components/pe-table/scrollbar.js +424 -0
  258. package/src/view/home/query-table/components/pe-table/stretch-damping.js +112 -0
  259. package/src/view/home/query-table/components/pe-table/style/cell.less +89 -0
  260. package/src/view/home/query-table/components/pe-table/style/empty.less +48 -0
  261. package/src/view/home/query-table/components/pe-table/style/header.less +141 -0
  262. package/src/view/home/query-table/components/pe-table/style/index.less +88 -0
  263. package/src/view/home/query-table/components/pe-table/style/load-more.less +61 -0
  264. package/src/view/home/query-table/components/pe-table/style/row.less +6 -0
  265. package/src/view/home/query-table/components/pe-table/table-loading.vue +120 -0
  266. package/src/view/home/query-table/components/pe-table/table-total.vue +57 -0
  267. package/src/view/home/query-table/components/pe-table/utils/animate.js +80 -0
  268. package/src/view/home/query-table/components/pe-table/utils/columns.js +290 -0
  269. package/src/view/home/query-table/components/pe-table/utils/data.js +12 -0
  270. package/src/view/home/query-table/components/pe-table/utils/fixed.js +69 -0
  271. package/src/view/home/query-table/components/pe-table/utils/formatter.js +327 -0
  272. package/src/view/home/query-table/components/pe-table/utils/render-cells.js +424 -0
  273. package/src/view/home/query-table/components/pe-table/utils/slot.js +28 -0
  274. package/src/view/home/query-table/components/pe-table/utils/tools.js +84 -0
  275. package/src/view/home/query-table/components/pe-table/utils/touch-scroll.js +417 -0
  276. package/src/view/home/query-table/components/query-table/index.vue +497 -0
  277. package/src/view/home/query-table/components/query-table/mixins/column-mixin.js +102 -0
  278. package/src/view/home/query-table/components/query-table/mixins/column-setting.js +143 -0
  279. package/src/view/home/query-table/components/query-table/mixins/data-mixin.js +519 -0
  280. package/src/view/home/query-table/components/query-table/mixins/pagination-mixin.js +26 -0
  281. package/src/view/home/query-table/components/query-table/mixins/table-fixed.js +130 -0
  282. package/src/view/home/query-table/components/query-table/mixins/table-horizontal.js +119 -0
  283. package/src/view/home/query-table/components/table-horizontal.vue +99 -0
  284. package/src/view/home/query-table/components/table-pagination.vue +32 -0
  285. package/src/view/home/query-table/components/table-settings/assets/arrpw-up.svg +1 -0
  286. package/src/view/home/query-table/components/table-settings/assets/disabled-down.svg +1 -0
  287. package/src/view/home/query-table/components/table-settings/assets/disabled-up.svg +1 -0
  288. package/src/view/home/query-table/components/table-settings/assets/down.svg +1 -0
  289. package/src/view/home/query-table/components/table-settings/assets/up.svg +1 -0
  290. package/src/view/home/query-table/components/table-settings/index.less +294 -0
  291. package/src/view/home/query-table/components/table-settings/index.vue +260 -0
  292. package/src/view/home/query-table/components/table-settings/settings.vue +479 -0
  293. package/src/view/home/query-table/components/table-settings/test.js +626 -0
  294. package/src/view/home/query-table/components/table-settings//344/270/252/346/200/247/350/256/276/347/275/256.md +0 -0
  295. package/src/view/home/query-table/components/tooltip.js +124 -0
  296. package/src/view/home/query-table/hooks/use-cache-promise.js +27 -0
  297. package/src/view/home/query-table/hooks/use-column-config.js +190 -0
  298. package/src/view/home/query-table/hooks/use-encryption.js +0 -0
  299. package/src/view/home/query-table/hooks/use-generic-search.js +95 -0
  300. package/src/view/home/query-table/index.js +7 -0
  301. package/src/view/home/query-table/store/column-store.js +0 -0
  302. package/src/view/home/query-table/styles/table.less +24 -0
  303. package/src/view/home/query-table/utils/column.js +36 -0
  304. package/src/view/home/query-table/utils/config.js +12 -0
  305. package/src/view/home/query-table/utils/encryption.js +32 -0
  306. package/src/view/home/query-table/utils/http.js +1 -0
  307. package/src/view/home/query-table/utils/localStorage.js +35 -0
  308. package/src/view/home//351/246/226/351/241/265.md +0 -0
  309. package/src/web.js +99 -0
  310. package/vue.config.js +131 -0
@@ -0,0 +1,48 @@
1
+ <script>
2
+ import './style/empty.less'
3
+ export default {
4
+ props: {
5
+ isAbnormal: {
6
+ type: Boolean,
7
+ default: false,
8
+ },
9
+ emptyText: {
10
+ type: String,
11
+ default: '暂无数据',
12
+ },
13
+ headerTotalHeight: {
14
+ type: [Number, String],
15
+ default: 0,
16
+ },
17
+ },
18
+ methods: {
19
+ tableAbnormal() {
20
+ this.$emit('abnormal')
21
+ },
22
+ },
23
+ render() {
24
+ const { isAbnormal, emptyText } = this.$props
25
+ // 无数据
26
+ const createEmptyNode = () => {
27
+ return [<div class="pe-table-empty_bg"></div>, <span class="pe-table-empty_label">{emptyText}</span>]
28
+ }
29
+ // 断网
30
+ const createAbnormal = () => {
31
+ return (
32
+ <div class="abnormal">
33
+ <div class="abnormal-img"></div>
34
+ <div class="abnormal-desc">加载超时,请检查网络</div>
35
+ <ks-button onClick={() => this.tableAbnormal()} plain hairline type="primary" color="#F2412F">
36
+ 重新加载
37
+ </ks-button>
38
+ </div>
39
+ )
40
+ }
41
+ return (
42
+ <div class="pe-table-empty" style={{ top: this.headerTotalHeight + 40 + 'PX' }}>
43
+ {isAbnormal ? createAbnormal() : createEmptyNode()}
44
+ </div>
45
+ )
46
+ },
47
+ }
48
+ </script>
@@ -0,0 +1,328 @@
1
+ /** @format */
2
+ import isFunction from 'lodash/isFunction'
3
+ import './style/header.less'
4
+
5
+ export default {
6
+ name: 'headerComponent',
7
+ computed: {
8
+ style() {
9
+ const obj = this.fixed
10
+ ? {
11
+ zIndex: '10',
12
+ }
13
+ : {}
14
+ return {
15
+ width: this.width + 'px',
16
+ height: this.height + 'px',
17
+ top: this.top + 'px',
18
+ transform: `translateX(${this.offset}px)`,
19
+ ...obj,
20
+ borderBottom: this.isTwoHeader ? '0.5px solid #DEDEDE' : 'none',
21
+ backgroundColor: this.isTwoHeaderBgColor ? this.column.bg : '',
22
+ }
23
+ },
24
+ isTwoHeader() {
25
+ return Array.isArray(this.column.children) && this.column.children.length
26
+ },
27
+ lastFixedClassName() {
28
+ return this.lastFixedCell ? 'pe-table-header_cell__last-fixed' : ''
29
+ },
30
+ fixedClassName() {
31
+ return this.fixed ? 'pe-table-header_cell__fixed' : ''
32
+ },
33
+ parentColClassName() {
34
+ // 后续如果要添加的boder模式的时候需要
35
+ return this.isParentCol ? 'pe-table-header_cell-parent-col' : ''
36
+ },
37
+ isTwoHeaderBgColor() {
38
+ return this.isTwoHeader && this.isOpenTwoHeaderBg
39
+ },
40
+ },
41
+ data() {
42
+ return {
43
+ offset: 0,
44
+ id: '',
45
+ text: '',
46
+ width: 0,
47
+ sortOrder: '', // ascending descending
48
+ column: {},
49
+ columns: [],
50
+ collapsed: false,
51
+ fixed: false,
52
+ columnIndex: -1,
53
+ handleEvent: null,
54
+ headerCellClassName: undefined,
55
+ globalHeaderCellClassName: undefined,
56
+ height: 32,
57
+ top: 0,
58
+ sortable: false,
59
+ collapseKeys: undefined,
60
+ cellResizable: true,
61
+ placeholderSign: false,
62
+ lastFixedCell: false,
63
+ isParentCol: false,
64
+ isOpenTwoHeaderBg: false,
65
+ }
66
+ },
67
+ render(h) {
68
+ if (typeof this.column !== 'object') return
69
+ const params = {
70
+ columnIndex: this.columnIndex,
71
+ column: this.column,
72
+ }
73
+ let classNames = [
74
+ Object.keys(this.column).length ? 'pe-table-header_cell' : '',
75
+ this.globalHeaderCellClassName,
76
+ this.headerCellClassName,
77
+ this.lastFixedClassName,
78
+ this.fixedClassName,
79
+ this.parentColClassName,
80
+ ]
81
+ const { headerCellRender, key } = this.column || {}
82
+ const useHeaderFeatures = () => {
83
+ if (this.placeholderSign) {
84
+ return null
85
+ }
86
+ let labelNode = null
87
+
88
+ const defaultHeaderLable = () => <span class="pe-table-header_cell-label">{this.text}</span>
89
+ if (isFunction(headerCellRender)) {
90
+ labelNode = headerCellRender(h, params)
91
+ if (labelNode === null) {
92
+ labelNode = defaultHeaderLable()
93
+ }
94
+ } else {
95
+ labelNode = defaultHeaderLable()
96
+ }
97
+
98
+ let sortable = this.sortable ? (
99
+ <span
100
+ class={['pe-table-header_cell-sort', this.sortOrder]}
101
+ on-click={(event) => {
102
+ event.stopPropagation()
103
+ this.handleClickSort()
104
+ }}
105
+ >
106
+ <i class="sort-caret ascending"></i>
107
+ <i class="sort-caret descending"></i>
108
+ </span>
109
+ ) : null
110
+
111
+ const isShowCollapse = this.collapseKeys && this.collapseKeys.length && !!this.column.isShowCollapseIcon
112
+
113
+ let collapse = isShowCollapse ? (
114
+ <span
115
+ on-click={(event) => {
116
+ event.stopPropagation()
117
+ this.handleClickCollapse()
118
+ }}
119
+ class={[
120
+ 'pe-table-header_cell-collapse',
121
+ this.collapsed ? 'unfold' : 'fold',
122
+ ]}
123
+ ></span>
124
+ ) : null
125
+
126
+ return [
127
+ labelNode,
128
+ sortable,
129
+ collapse,
130
+ ]
131
+ }
132
+ const features = useHeaderFeatures()
133
+ return (
134
+ <div
135
+ class={classNames}
136
+ style={this.style}
137
+ on-click={this.handleClickHeaderCell}
138
+ on-touchstart={this.handleResizeStart}
139
+ on-touchmove={this.handleResizeMove}
140
+ on-touchend={this.handleResizeEnd}
141
+ on-touchcancel={this.handleResizeEnd}
142
+ data-cellkey={key}
143
+ data-head-cellkey={key}
144
+ >
145
+ {features}
146
+ </div>
147
+ )
148
+ },
149
+ methods: {
150
+ setContent(text) {
151
+ this.text = text
152
+ },
153
+ setOffset(offset) {
154
+ this.offset = offset
155
+ },
156
+ setSortOrder(sortOrder) {
157
+ this.sortOrder = sortOrder
158
+ },
159
+ reuse({
160
+ id,
161
+ offset,
162
+ text,
163
+ width,
164
+ column,
165
+ columns,
166
+ fixed,
167
+ lastFixedCell,
168
+ isParentCol,
169
+ columnIndex,
170
+ headerCellClassName,
171
+ globalHeaderCellClassName,
172
+ height,
173
+ top,
174
+ sortable,
175
+ collapseKeys,
176
+ sortChange,
177
+ sortOrder,
178
+ changeCollapseKeys,
179
+ collapsed,
180
+ placeholderSign,
181
+ isOpenTwoHeaderBg,
182
+ cellResizable,
183
+ cellResize,
184
+ }) {
185
+ this.id = id
186
+ this.width = width
187
+ this.fixed = fixed
188
+ this.lastFixedCell = lastFixedCell
189
+ this.isParentCol = isParentCol
190
+ this.column = column
191
+ this.columns = columns
192
+ this.columnIndex = columnIndex
193
+ this.headerCellClassName = headerCellClassName
194
+ this.globalHeaderCellClassName = globalHeaderCellClassName
195
+ this.height = height
196
+ this.top = top
197
+ this.sortable = sortable
198
+ this.collapseKeys = collapseKeys
199
+ this.collapsed = collapsed
200
+ this.sortChange = sortChange
201
+ this.changeCollapseKeys = changeCollapseKeys
202
+ this.placeholderSign = placeholderSign
203
+ this.isOpenTwoHeaderBg = isOpenTwoHeaderBg
204
+ this.cellResizable = cellResizable
205
+ this.cellResize = cellResize
206
+ this.setSortOrder(sortOrder)
207
+ this.setOffset(offset)
208
+ this.setContent(text)
209
+ },
210
+ handleClickSort() {
211
+ if (this.sortable) {
212
+ this.sortChange(this.column)
213
+ }
214
+ },
215
+ handleClickHeaderCell(event) {
216
+ if (this.sortable) {
217
+ this.handleClickSort()
218
+ }
219
+ if (this.collapseKeys && this.collapseKeys.length && !this.sortable) {
220
+ this.handleClickCollapse()
221
+ }
222
+ const params = {
223
+ column: this.column,
224
+ name: 'header-cell-click',
225
+ columnIndex: this.columnIndex,
226
+ }
227
+ this.handleEvent && this.handleEvent(event, params)
228
+ },
229
+ handleClickCollapse() {
230
+ this.changeCollapseKeys(this.column)
231
+ },
232
+ handleResizeStart(event) {
233
+ if (!this.cellResizable) return
234
+ if (event.changedTouches.length !== 1) return
235
+ const touch = event.changedTouches[0]
236
+
237
+ // 即将拖动列宽的列
238
+ let columnKey = this.column.key
239
+
240
+ // header 单元格
241
+ let el = event.currentTarget
242
+ let rect = el.getBoundingClientRect()
243
+
244
+ // 触发热区
245
+ const hotarea = 30
246
+ if (touch.clientX <= rect.left + hotarea) {
247
+ // 单元格左侧热区,视为触发前一列;如果前面没有列,直接跳过
248
+ const index = this.columns.findIndex(col => col.key === columnKey)
249
+ if (index === 0) return
250
+
251
+ // 切换到前一列(通过数据 columns 来查找前一列,确保找到的列是对的)
252
+ columnKey = this.columns[index - 1].key
253
+ el = el.parentElement.querySelector(`[data-head-cellkey='${columnKey}']`)
254
+ rect = el.getBoundingClientRect()
255
+ } else if (touch.clientX < rect.right - hotarea) {
256
+ // 不在触发热区内的,直接跳过
257
+ return
258
+ }
259
+
260
+ // 索引列禁止拖动
261
+ if (columnKey === '$index') return
262
+
263
+ // table 容器
264
+ const path = event.composedPath?.() || event.path
265
+ const container = path.find(el => Array.from(el.classList).includes('pe-table-container'))
266
+
267
+ // resize 标记线
268
+ const line = container.querySelector('.pe-table-resize_line')
269
+ const thumb = line.querySelector('.pe-table-resize_line-thumb')
270
+ thumb.style.height = `${this.height}px`
271
+
272
+ // 没有在 vm.data 中定义,因为不需要数据响应
273
+ this.resizeState = {
274
+ columnKey,
275
+ line,
276
+ startX: touch.clientX,
277
+ width: rect.width,
278
+ minWidth: 38, // 拖动的最小宽度
279
+ timeout: null,
280
+ resizing: false, // 是否在调整大小
281
+ }
282
+
283
+ // 长按触发(避免冲突单元格的点击事件,同时保持表头拖动表格的功能)
284
+ this.resizeState.timeout = setTimeout(() => {
285
+ this.resizeState.resizing = true
286
+ const containerRect = container.getBoundingClientRect()
287
+ Object.assign(line.style, {
288
+ display: 'block',
289
+ left: `${rect.right - containerRect.left}px`,
290
+ transform: 'translateZ(0)',
291
+ })
292
+ }, 120)
293
+ },
294
+ handleResizeMove(event) {
295
+ if (!this.cellResizable) return
296
+ if (!this.resizeState?.resizing) {
297
+ clearTimeout(this.resizeState?.timeout)
298
+ return
299
+ }
300
+
301
+ event.preventDefault()
302
+ event.stopPropagation()
303
+ const touch = event.changedTouches[0]
304
+ const { width, minWidth, startX, line } = this.resizeState
305
+ const diff = Math.max(touch.clientX - startX, minWidth - width)
306
+ line.style.transform = `translateX(${diff}px) translateZ(0)`
307
+ },
308
+ handleResizeEnd(event) {
309
+ if (!this.cellResizable) return
310
+ if (!this.resizeState?.resizing) {
311
+ clearTimeout(this.resizeState?.timeout)
312
+ return
313
+ }
314
+
315
+ const touch = event.changedTouches[0]
316
+ const { width, minWidth, startX, line, columnKey } = this.resizeState
317
+ const diff = Math.max(touch.clientX - startX, minWidth - width)
318
+
319
+ line.style.display = 'none'
320
+ this.resizeState = null
321
+
322
+ this.cellResize({
323
+ columnKey,
324
+ width: width + diff,
325
+ })
326
+ },
327
+ },
328
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"><defs><clipPath id="master_svg0_13_123671"><rect x="0" y="0" width="12" height="12" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_13_123671)"><g><g><g><g><path d="M0.5,10.125L0.5,1.875Q0.5,1.80745,0.506621,1.74023Q0.513242,1.673,0.5264202,1.60675Q0.5395985,1.5405,0.559207,1.475859Q0.5788156,1.4112179999999999,0.604666,1.3488099999999998Q0.630516,1.286403,0.662358,1.226829Q0.6942010000000001,1.167256,0.731729,1.111091Q0.769258,1.054926,0.812111,1.0027089999999999Q0.8549640000000001,0.950493,0.902728,0.902728Q0.950493,0.8549640000000001,1.0027089999999999,0.812111Q1.054926,0.769258,1.111091,0.731729Q1.167256,0.6942010000000001,1.226829,0.662358Q1.286403,0.630516,1.3488099999999998,0.604666Q1.4112179999999999,0.5788156,1.475859,0.559207Q1.5405,0.5395985,1.60675,0.5264202Q1.673,0.513242,1.74023,0.506621Q1.80745,0.5,1.875,0.5L10.125,0.5Q10.19255,0.5,10.25977,0.506621Q10.327,0.513242,10.39325,0.5264202Q10.4595,0.5395985,10.5241,0.559207Q10.5888,0.5788156,10.6512,0.604666Q10.7136,0.630516,10.7732,0.662358Q10.8327,0.6942010000000001,10.8889,0.731729Q10.9451,0.769258,10.9973,0.812111Q11.0495,0.8549640000000001,11.0973,0.902728Q11.145,0.950493,11.1879,1.0027089999999999Q11.2307,1.054926,11.2683,1.111091Q11.3058,1.167256,11.3376,1.226829Q11.3695,1.286403,11.3953,1.3488099999999998Q11.4212,1.4112179999999999,11.4408,1.475859Q11.4604,1.5405,11.4736,1.60675Q11.4868,1.673,11.4934,1.74023Q11.5,1.80745,11.5,1.875L11.5,10.125Q11.5,10.19255,11.4934,10.25977Q11.4868,10.327,11.4736,10.39325Q11.4604,10.4595,11.4408,10.5241Q11.4212,10.5888,11.3953,10.6512Q11.3695,10.7136,11.3376,10.7732Q11.3058,10.8327,11.2683,10.8889Q11.2307,10.9451,11.1879,10.9973Q11.145,11.0495,11.0973,11.0973Q11.0495,11.145,10.9973,11.1879Q10.9451,11.2307,10.8889,11.2683Q10.8327,11.3058,10.7732,11.3376Q10.7136,11.3695,10.6512,11.3953Q10.5888,11.4212,10.5241,11.4408Q10.4595,11.4604,10.39325,11.4736Q10.327,11.4868,10.25977,11.4934Q10.19255,11.5,10.125,11.5L1.875,11.5Q1.80745,11.5,1.74023,11.4934Q1.673,11.4868,1.60675,11.4736Q1.5405,11.4604,1.475859,11.4408Q1.4112179999999999,11.4212,1.3488099999999998,11.3953Q1.286403,11.3695,1.226829,11.3376Q1.167256,11.3058,1.111091,11.2683Q1.054926,11.2307,1.0027089999999999,11.1879Q0.950493,11.145,0.902728,11.0973Q0.8549640000000001,11.0495,0.812111,10.9973Q0.769258,10.9451,0.731729,10.8889Q0.6942010000000001,10.8327,0.662358,10.7732Q0.630516,10.7136,0.604666,10.6512Q0.5788156,10.5888,0.559207,10.5241Q0.5395985,10.4595,0.5264202,10.39325Q0.513242,10.327,0.506621,10.25977Q0.5,10.19255,0.5,10.125ZM1.92048,2.74587Q1.89781,2.74837,1.875,2.74837Q1.83413,2.74837,1.79404,2.7404Q1.75395,2.73243,1.71619,2.71678Q1.67842,2.70114,1.64444,2.67843Q1.61045,2.65573,1.58155,2.62682Q1.55265,2.59792,1.52994,2.56394Q1.50723,2.52995,1.49159,2.49219Q1.475948,2.45442,1.467974,2.41434Q1.46,2.37425,1.46,2.33337Q1.46,2.2925,1.467974,2.2524100000000002Q1.475948,2.21232,1.49159,2.17456Q1.50723,2.1368,1.52994,2.10281Q1.55265,2.06883,1.58155,2.03992Q1.61045,2.0110200000000003,1.64444,1.98831Q1.67842,1.96561,1.71619,1.94996Q1.75395,1.93432,1.79404,1.92635Q1.83413,1.91837,1.875,1.91837Q1.89781,1.91837,1.92048,1.92087L10.07952,1.92087Q10.10219,1.91837,10.125,1.91837Q10.16587,1.91837,10.20596,1.92635Q10.24605,1.93432,10.28381,1.94996Q10.32158,1.96561,10.35556,1.98831Q10.38955,2.0110200000000003,10.41845,2.03992Q10.44735,2.06883,10.47006,2.10281Q10.49277,2.1368,10.5084,2.17456Q10.5241,2.21232,10.532,2.2524100000000002Q10.54,2.2925,10.54,2.33337Q10.54,2.37425,10.532,2.41434Q10.5241,2.45442,10.5084,2.49219Q10.49277,2.52995,10.47006,2.56394Q10.44735,2.59792,10.41845,2.62682Q10.38955,2.65573,10.35556,2.67843Q10.32158,2.70114,10.28381,2.71678Q10.24605,2.73243,10.20596,2.7404Q10.16587,2.74837,10.125,2.74837Q10.10219,2.74837,10.07952,2.74587L1.92048,2.74587ZM4.00188,4.34997Q3.98575,4.366099999999999,3.96796,4.38036L2.34725,6.00106L3.96795,7.62176Q3.98575,7.63603,4.00188,7.65216Q4.03079,7.68106,4.05349,7.71504Q4.0762,7.74903,4.0918399999999995,7.78679Q4.10749,7.82455,4.115460000000001,7.86464Q4.12343,7.90473,4.12344,7.94561Q4.12343,7.98648,4.115460000000001,8.02657Q4.10749,8.066659999999999,4.0918399999999995,8.104420000000001Q4.0762,8.14218,4.05349,8.176169999999999Q4.03079,8.210149999999999,4.00188,8.23906Q3.94351,8.29743,3.86725,8.32902Q3.79098,8.360610000000001,3.70844,8.360610000000001Q3.62589,8.360610000000001,3.54962,8.32902Q3.47336,8.29743,3.41499,8.23906Q3.39886,8.22293,3.38459,8.20513L1.47221,6.29274Q1.443482,6.26402,1.4209100000000001,6.23023Q1.398339,6.19645,1.382791,6.15892Q1.367243,6.12138,1.3593169999999999,6.08154Q1.351391,6.04169,1.351391,6.00106Q1.351391,5.96043,1.3593169999999999,5.92059Q1.367243,5.88074,1.382791,5.8432Q1.398339,5.80567,1.4209100000000001,5.77189Q1.443482,5.73811,1.47221,5.70938L3.38459,3.797Q3.39886,3.7792,3.41499,3.76307Q3.44389,3.73417,3.47787,3.71146Q3.51186,3.68875,3.54962,3.67311Q3.58738,3.65747,3.62747,3.64949Q3.66756,3.64152,3.70844,3.64152Q3.74931,3.64152,3.7894,3.64949Q3.82949,3.65747,3.86725,3.67311Q3.90501,3.68875,3.939,3.71146Q3.97298,3.73417,4.00188,3.76307Q4.03079,3.79197,4.05349,3.82596Q4.0762,3.85994,4.0918399999999995,3.8977Q4.10749,3.93547,4.115460000000001,3.97556Q4.12343,4.015639999999999,4.12344,4.05652Q4.12343,4.09739,4.115460000000001,4.13748Q4.10749,4.177569999999999,4.0918399999999995,4.21533Q4.0762,4.25309,4.05349,4.28708Q4.03079,4.321070000000001,4.00188,4.34997ZM4.67048,6.4125Q4.64781,6.415,4.625,6.415Q4.58413,6.415,4.54404,6.40703Q4.50395,6.39905,4.46619,6.38341Q4.42842,6.36777,4.3944399999999995,6.34506Q4.36045,6.32235,4.33155,6.29345Q4.30265,6.26455,4.27994,6.23056Q4.25723,6.19658,4.24159,6.15881Q4.22595,6.12105,4.21797,6.08096Q4.21,6.04087,4.21,6Q4.21,5.95913,4.21797,5.91904Q4.22595,5.87895,4.24159,5.84119Q4.25723,5.80342,4.27994,5.76944Q4.30265,5.73545,4.33155,5.70655Q4.36045,5.67765,4.3944399999999995,5.65494Q4.42842,5.63223,4.46619,5.61659Q4.50395,5.60095,4.54404,5.59297Q4.58413,5.585,4.625,5.585Q4.64781,5.585,4.67048,5.5875L10.07952,5.5875Q10.10219,5.585,10.125,5.585Q10.16587,5.585,10.20596,5.59297Q10.24605,5.60095,10.28381,5.61659Q10.32158,5.63223,10.35556,5.65494Q10.38955,5.67765,10.41845,5.70655Q10.44735,5.73545,10.47006,5.76944Q10.49277,5.80342,10.5084,5.84119Q10.5241,5.87895,10.532,5.91904Q10.54,5.95913,10.54,6Q10.54,6.04087,10.532,6.08096Q10.5241,6.12105,10.5084,6.15881Q10.49277,6.19658,10.47006,6.23056Q10.44735,6.26455,10.41845,6.29345Q10.38955,6.32235,10.35556,6.34506Q10.32158,6.36777,10.28381,6.38341Q10.24605,6.39905,10.20596,6.40702Q10.16587,6.415,10.125,6.415Q10.10219,6.415,10.07952,6.4125L4.67048,6.4125ZM1.875,10.08163Q1.89781,10.08163,1.92048,10.07913L10.07952,10.07913Q10.10219,10.08163,10.125,10.08163Q10.16587,10.08163,10.20596,10.07365Q10.24605,10.06568,10.28381,10.05004Q10.32158,10.03439,10.35556,10.01169Q10.38955,9.98898,10.41845,9.96007Q10.44735,9.93117,10.47006,9.89719Q10.49277,9.8632,10.5084,9.82544Q10.5241,9.78768,10.532,9.74759Q10.54,9.7075,10.54,9.66663Q10.54,9.62575,10.532,9.58566Q10.5241,9.54557,10.5084,9.50781Q10.49277,9.47005,10.47006,9.43606Q10.44735,9.40208,10.41845,9.37318Q10.38955,9.34427,10.35556,9.32157Q10.32158,9.29886,10.28381,9.28321Q10.24605,9.26757,10.20596,9.2596Q10.16587,9.25163,10.125,9.25163Q10.10219,9.25163,10.07952,9.25413L1.92048,9.25413Q1.89781,9.25163,1.875,9.25163Q1.83413,9.25163,1.79404,9.2596Q1.75395,9.26757,1.71619,9.28322Q1.67842,9.29886,1.64444,9.32157Q1.61045,9.34427,1.58155,9.37318Q1.55265,9.40208,1.52994,9.43606Q1.50723,9.47005,1.49159,9.50781Q1.475948,9.54557,1.467974,9.58566Q1.46,9.62575,1.46,9.66663Q1.46,9.7075,1.467974,9.74759Q1.475948,9.78768,1.49159,9.82544Q1.50723,9.8632,1.52994,9.89719Q1.55265,9.93117,1.58155,9.96007Q1.61045,9.98898,1.64444,10.01169Q1.67842,10.03439,1.71619,10.05004Q1.75395,10.06568,1.79404,10.07365Q1.83413,10.08163,1.875,10.08163Z" fill-rule="evenodd" fill="#0089FF" fill-opacity="1"/></g></g></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="6" height="3" viewBox="0 0 6 3"><defs><clipPath id="master_svg0_13_123678"><rect x="0" y="0" width="6" height="3" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_13_123678)"><g><g><path d="M3.3535546957969666,0.3535525008640289L5.146454695796966,2.146446500864029C5.461434695796966,2.461426500864029,5.238354695796967,2.999996500864029,4.792894695796966,2.999996500864029L1.2071096957969667,2.999996500864029C0.7616539957969666,2.999996500864029,0.5385706957969666,2.461426500864029,0.8535536957969665,2.146446500864029L2.6464546957969666,0.3535525008640289C2.8417146957969663,0.15829100086402892,3.1582946957969664,0.15829100086402892,3.3535546957969666,0.3535525008640289Z" fill-rule="evenodd" fill="#C2C0C0" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="6" height="3" viewBox="0 0 6 3"><defs><clipPath id="master_svg0_13_123683"><rect x="0" y="0" width="6" height="3" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_13_123683)"><g><g><path d="M3.3535546957969666,0.3535525008640289L5.146454695796966,2.146446500864029C5.461434695796966,2.461426500864029,5.238354695796967,2.999996500864029,4.792894695796966,2.999996500864029L1.2071096957969667,2.999996500864029C0.7616539957969666,2.999996500864029,0.5385706957969666,2.461426500864029,0.8535536957969665,2.146446500864029L2.6464546957969666,0.3535525008640289C2.8417146957969663,0.15829100086402892,3.1582946957969664,0.15829100086402892,3.3535546957969666,0.3535525008640289Z" fill-rule="evenodd" fill="#0089FF" fill-opacity="1"/></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="12" viewBox="0 0 12 12"><defs><clipPath id="master_svg0_13_123688"><rect x="0" y="0" width="12" height="12" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_13_123688)"><g><g><g><g><path d="M1.4999999523162841,2.450122022628784L10.499999952316283,2.450122022628784Q10.544319952316284,2.450122022628784,10.587789952316284,2.4414750226287842Q10.631259952316285,2.432829022628784,10.672209952316285,2.4158680226287843Q10.713149952316284,2.398907022628784,10.750009952316285,2.3742830226287843Q10.786859952316284,2.3496600226287843,10.818199952316284,2.318320022628784Q10.849539952316285,2.286980022628784,10.874159952316283,2.2501290226287844Q10.898779952316284,2.2132770226287843,10.915739952316285,2.1723300226287843Q10.932709952316284,2.131382022628784,10.941349952316283,2.087913022628784Q10.949999952316285,2.0444430226287844,10.949999952316285,2.0001220226287844Q10.949999952316285,1.9558010226287843,10.941349952316283,1.9123310226287842Q10.932699952316284,1.8688620226287842,10.915739952316285,1.8279140226287842Q10.898779952316284,1.7869670226287842,10.874159952316283,1.7501150226287843Q10.849539952316285,1.7132640226287843,10.818199952316284,1.6819240226287842Q10.786859952316284,1.6505840226287842,10.750009952316285,1.6259610226287842Q10.713149952316284,1.6013371226287842,10.672209952316285,1.5843761226287842Q10.631259952316285,1.5674151226287842,10.587789952316284,1.5587691026287842Q10.544319952316284,1.5501220226287842,10.499999952316283,1.5501220226287842L1.4999999523162841,1.5501220226287842Q1.4556789523162843,1.5501220226287842,1.4122089523162842,1.5587691026287842Q1.3687399523162842,1.5674151226287842,1.3277919523162842,1.5843761226287842Q1.2868449523162842,1.6013371226287842,1.2499929523162843,1.6259610226287842Q1.2131419523162843,1.6505840226287842,1.1818019523162842,1.6819240226287842Q1.1504619523162842,1.7132640226287843,1.1258389523162842,1.7501150226287843Q1.1012150523162842,1.7869670226287842,1.0842540523162842,1.8279140226287842Q1.0672930523162842,1.8688620226287842,1.0586470323162842,1.9123310226287842Q1.0499999523162842,1.9558010226287843,1.0499999523162842,2.0001220226287844Q1.0499999523162842,2.0444430226287844,1.0586470323162842,2.087913022628784Q1.0672930523162842,2.131382022628784,1.0842540523162842,2.1723300226287843Q1.1012150523162842,2.2132770226287843,1.1258389523162842,2.2501290226287844Q1.1504619523162842,2.286980022628784,1.1818019523162842,2.318320022628784Q1.2131419523162843,2.3496600226287843,1.2499929523162843,2.3742830226287843Q1.2868449523162842,2.398907022628784,1.3277919523162842,2.4158680226287843Q1.3687399523162842,2.432829022628784,1.4122089523162842,2.4414750226287842Q1.4556789523162843,2.450122022628784,1.4999999523162841,2.450122022628784Z" fill-rule="evenodd" fill="#0089FF" fill-opacity="1"/></g></g><g><g><path d="M1.4999999523162841,6.450000190734864L7.499999952316284,6.450000190734864Q7.544319952316284,6.450000190734864,7.587789952316284,6.441353190734863Q7.6312599523162845,6.432707190734863,7.672209952316284,6.415746190734863Q7.713149952316284,6.398785190734864,7.750009952316284,6.374161190734863Q7.786859952316284,6.349538190734863,7.818199952316284,6.318198190734863Q7.8495399523162845,6.286858190734863,7.874159952316284,6.2500071907348635Q7.898779952316284,6.213155190734863,7.915739952316284,6.172208190734863Q7.9327099523162845,6.131260190734864,7.941349952316284,6.0877901907348635Q7.9499999523162845,6.0443211907348635,7.9499999523162845,6.0000001907348635Q7.9499999523162845,5.955679190734863,7.941349952316284,5.912209190734863Q7.9327099523162845,5.868740190734863,7.915739952316284,5.827792190734863Q7.898779952316284,5.786845190734863,7.874159952316284,5.749993190734863Q7.8495399523162845,5.713142190734863,7.818199952316284,5.681802190734864Q7.786859952316284,5.6504621907348636,7.750009952316284,5.6258391907348635Q7.713149952316284,5.601214890734863,7.672209952316284,5.584253790734864Q7.6312599523162845,5.567293190734863,7.587789952316284,5.558647160734863Q7.544319952316284,5.550000190734863,7.499999952316284,5.550000190734863L1.4999999523162841,5.550000190734863Q1.4556789523162843,5.550000190734863,1.4122089523162842,5.558647160734863Q1.3687399523162842,5.567293190734863,1.3277919523162842,5.584253790734864Q1.2868449523162842,5.601214890734863,1.2499929523162843,5.6258391907348635Q1.2131419523162843,5.6504621907348636,1.1818019523162842,5.681802190734864Q1.1504619523162842,5.713142190734863,1.1258389523162842,5.749993190734863Q1.1012150523162842,5.786845190734863,1.0842540523162842,5.827792190734863Q1.0672930523162842,5.868740190734863,1.0586470323162842,5.912209190734863Q1.0499999523162842,5.955679190734863,1.0499999523162842,6.0000001907348635Q1.0499999523162842,6.0443211907348635,1.0586470323162842,6.0877901907348635Q1.0672930523162842,6.131260190734864,1.0842540523162842,6.172208190734863Q1.1012150523162842,6.213155190734863,1.1258389523162842,6.2500071907348635Q1.1504619523162842,6.286858190734863,1.1818019523162842,6.318198190734863Q1.2131419523162843,6.349538190734863,1.2499929523162843,6.374161190734863Q1.2868449523162842,6.398785190734864,1.3277919523162842,6.415746190734863Q1.3687399523162842,6.432707190734863,1.4122089523162842,6.441353190734863Q1.4556789523162843,6.450000190734864,1.4999999523162841,6.450000190734864Z" fill-rule="evenodd" fill="#0089FF" fill-opacity="1"/></g></g><g><g><path d="M1.4999999523162841,10.449877882003785L10.499999952316283,10.449877882003785Q10.544319952316284,10.449877882003785,10.587789952316284,10.441230882003785Q10.631259952316285,10.432584882003784,10.672209952316285,10.415623882003784Q10.713149952316284,10.398661882003784,10.750009952316285,10.374038882003784Q10.786859952316284,10.349415882003784,10.818199952316284,10.318075882003784Q10.849539952316285,10.286734882003785,10.874159952316283,10.249883882003784Q10.898779952316284,10.213032882003784,10.915739952316285,10.172085882003785Q10.932709952316284,10.131137882003785,10.941349952316283,10.087667882003784Q10.949999952316285,10.044198882003784,10.949999952316285,9.999877882003783Q10.949999952316285,9.955556882003783,10.941349952316283,9.912086882003784Q10.932699952316284,9.868617882003784,10.915739952316285,9.827669882003784Q10.898779952316284,9.786722882003785,10.874159952316283,9.749870882003783Q10.849539952316285,9.713019882003785,10.818199952316284,9.681679882003785Q10.786859952316284,9.650339882003784,10.750009952316285,9.625716882003784Q10.713149952316284,9.601093082003784,10.672209952316285,9.584131982003784Q10.631259952316285,9.567170882003785,10.587789952316284,9.558524852003783Q10.544319952316284,9.549877882003784,10.499999952316283,9.549877882003784L1.4999999523162841,9.549877882003784Q1.4556789523162843,9.549877882003784,1.4122089523162842,9.558524852003783Q1.3687399523162842,9.567170882003785,1.3277919523162842,9.584131982003784Q1.2868449523162842,9.601093082003784,1.2499929523162843,9.625716882003784Q1.2131419523162843,9.650339882003784,1.1818019523162842,9.681679882003785Q1.1504619523162842,9.713019882003785,1.1258389523162842,9.749870882003783Q1.1012150523162842,9.786722882003785,1.0842540523162842,9.827669882003784Q1.0672930523162842,9.868617882003784,1.0586470323162842,9.912086882003784Q1.0499999523162842,9.955556882003783,1.0499999523162842,9.999877882003783Q1.0499999523162842,10.044198882003784,1.0586470323162842,10.087667882003784Q1.0672930523162842,10.131137882003785,1.0842540523162842,10.172085882003785Q1.1012150523162842,10.213032882003784,1.1258389523162842,10.249883882003784Q1.1504619523162842,10.286734882003785,1.1818019523162842,10.318075882003784Q1.2131419523162843,10.349415882003784,1.2499929523162843,10.374038882003784Q1.2868449523162842,10.398661882003784,1.3277919523162842,10.415623882003784Q1.3687399523162842,10.432584882003784,1.4122089523162842,10.441230882003785Q1.4556789523162843,10.449877882003785,1.4999999523162841,10.449877882003785Z" fill-rule="evenodd" fill="#0089FF" fill-opacity="1"/></g></g><g transform="matrix(0.7071067690849304,0.7071067690849304,-0.7071067690849304,0.7071067690849304,4.783033358945218,-5.060534086865275)"><g><path d="M11.500121831893921,6.692904810943603L11.500121831893921,6.692904810943603Q11.500121831893921,6.737684810943604,11.50877183189392,6.781154810943604Q11.51741183189392,6.824624810943604,11.534371831893921,6.8655748109436034Q11.551341831893922,6.906514810943603,11.57596183189392,6.943374810943603Q11.600581831893921,6.980224810943604,11.631921831893921,7.011564810943604Q11.663261831893921,7.042904810943604,11.70011183189392,7.0675248109436035Q11.736961831893922,7.092144810943603,11.77791183189392,7.109114810943604Q11.818861831893921,7.126074810943603,11.862331831893922,7.134714810943604Q11.905801831893921,7.143364810943604,11.95012183189392,7.143364810943604Q11.994441831893921,7.143364810943604,12.037911831893922,7.134714810943604Q12.081381831893921,7.126074810943603,12.12233183189392,7.109114810943604Q12.16327183189392,7.092144810943603,12.20013183189392,7.0675248109436035Q12.236981831893921,7.042904810943604,12.268321831893921,7.011564810943604Q12.299661831893921,6.980224810943604,12.32428183189392,6.943374810943603Q12.34890183189392,6.906514810943603,12.365871831893921,6.8655748109436034Q12.38283183189392,6.824624810943604,12.39147183189392,6.781154810943604Q12.400121831893921,6.737684810943604,12.400121831893921,6.693364810943604L12.400121831893921,6.693364810943604L12.400121831893921,3.6933648109436037Q12.400121831893921,3.6490438109436036,12.39147183189392,3.6055748109436037Q12.38283183189392,3.5621048109436035,12.365871831893921,3.5211568109436033Q12.34890183189392,3.4802098109436037,12.32428183189392,3.4433578109436036Q12.299661831893921,3.4065068109436036,12.268321831893921,3.3751668109436035Q12.236981831893921,3.3438268109436033,12.20013183189392,3.3192038109436037Q12.16327183189392,3.2945797109436037,12.12233183189392,3.2776189109436036Q12.081381831893921,3.2606578109436035,12.037911831893922,3.2520117809436035Q11.994441831893921,3.2433648109436035,11.95012183189392,3.2433648109436035L8.95012183189392,3.2433648109436035Q8.90580083189392,3.2433648109436035,8.862330831893921,3.2520117809436035Q8.818861831893921,3.2606578109436035,8.77791383189392,3.2776189109436036Q8.736966831893922,3.2945797109436037,8.70011483189392,3.3192038109436037Q8.663263831893921,3.3438268109436033,8.631923831893921,3.3751668109436035Q8.600583831893921,3.4065068109436036,8.575960831893921,3.4433578109436036Q8.55133703189392,3.4802098109436037,8.534375931893921,3.5211568109436033Q8.517414831893921,3.5621048109436035,8.50876880189392,3.6055748109436037Q8.500121831893921,3.6490438109436036,8.500121831893921,3.6933648109436037Q8.500121831893921,3.7376858109436037,8.50876880189392,3.7811558109436034Q8.517414831893921,3.8246248109436034,8.534375931893921,3.8655728109436036Q8.55133703189392,3.9065198109436037,8.575960831893921,3.943371810943604Q8.600583831893921,3.9802228109436033,8.631923831893921,4.0115628109436035Q8.663263831893921,4.042902810943604,8.70011483189392,4.067525810943604Q8.736966831893922,4.092149810943604,8.77791383189392,4.109110810943603Q8.818861831893921,4.126071810943603,8.862330831893921,4.134717810943603Q8.90580083189392,4.143364810943604,8.95012183189392,4.143364810943604L11.500121831893921,4.143364810943604L11.500121831893921,6.692904810943603Z" fill-rule="evenodd" fill="#0089FF" fill-opacity="1"/></g></g></g></g></g></svg>