@visactor/vtable 1.13.1 → 1.13.2

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 (45) hide show
  1. package/cjs/core/BaseTable.js +1 -1
  2. package/cjs/core/BaseTable.js.map +1 -1
  3. package/cjs/event/listener/container-dom.js +33 -3
  4. package/cjs/event/listener/container-dom.js.map +1 -1
  5. package/cjs/event/listener/table-group.js +5 -5
  6. package/cjs/event/listener/table-group.js.map +1 -1
  7. package/cjs/icons.js +18 -0
  8. package/cjs/icons.js.map +1 -1
  9. package/cjs/index.d.ts +1 -1
  10. package/cjs/index.js +1 -1
  11. package/cjs/index.js.map +1 -1
  12. package/cjs/scenegraph/scenegraph.d.ts +2 -2
  13. package/cjs/scenegraph/scenegraph.js +5 -3
  14. package/cjs/scenegraph/scenegraph.js.map +1 -1
  15. package/cjs/state/state.js +2 -4
  16. package/cjs/state/state.js.map +1 -1
  17. package/cjs/themes/theme.js +4 -0
  18. package/cjs/themes/theme.js.map +1 -1
  19. package/cjs/ts-types/theme.d.ts +1 -0
  20. package/cjs/ts-types/theme.js.map +1 -1
  21. package/cjs/vrender.js.map +1 -1
  22. package/dist/vtable.js +39 -14
  23. package/dist/vtable.min.js +2 -2
  24. package/es/core/BaseTable.js +1 -1
  25. package/es/core/BaseTable.js.map +1 -1
  26. package/es/event/listener/container-dom.js +33 -3
  27. package/es/event/listener/container-dom.js.map +1 -1
  28. package/es/event/listener/table-group.js +4 -6
  29. package/es/event/listener/table-group.js.map +1 -1
  30. package/es/icons.js +18 -0
  31. package/es/icons.js.map +1 -1
  32. package/es/index.d.ts +1 -1
  33. package/es/index.js +1 -1
  34. package/es/index.js.map +1 -1
  35. package/es/scenegraph/scenegraph.d.ts +2 -2
  36. package/es/scenegraph/scenegraph.js +4 -4
  37. package/es/scenegraph/scenegraph.js.map +1 -1
  38. package/es/state/state.js +2 -4
  39. package/es/state/state.js.map +1 -1
  40. package/es/themes/theme.js +4 -0
  41. package/es/themes/theme.js.map +1 -1
  42. package/es/ts-types/theme.d.ts +1 -0
  43. package/es/ts-types/theme.js.map +1 -1
  44. package/es/vrender.js.map +1 -1
  45. package/package.json +4 -4
package/cjs/icons.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/icons.ts"],"names":[],"mappings":";;;AAIA,yCAA4D;AAC5D,2CAAwC;AACxC,2CAAmD;AACnD,2CAAoD;AACpD,IAAI,UAAkB,CAAC;AACvB,IAAI,kBAA0B,CAAC;AAC/B,IAAI,YAAoB,CAAC;AACzB,IAAI,oBAA4B,CAAC;AACjC,IAAI,SAAiB,CAAC;AACtB,IAAI,WAAmB,CAAC;AACxB,IAAI,YAAoB,CAAC;AACzB,IAAI,oBAA4B,CAAC;AACjC,IAAI,oBAA4B,CAAC;AACjC,IAAI,cAAsB,CAAC;AAC3B,IAAI,sBAA8B,CAAC;AACnC,IAAI,WAAmB,CAAC;AACxB,IAAI,aAAqB,CAAC;AAC1B,IAAI,cAAsB,CAAC;AAC3B,IAAI,sBAA8B,CAAC;AACnC,IAAI,aAAqB,CAAC;AAC1B,IAAI,eAAuB,CAAC;AAC5B,IAAI,YAAoB,CAAC;AACzB,IAAI,oBAA4B,CAAC;AACjC,IAAI,WAAmB,CAAC;AACxB,IAAI,aAAqB,CAAC;AAC1B,IAAI,iBAAyB,CAAC;AAC9B,IAAI,yBAAiC,CAAC;AACtC,IAAI,gBAAwB,CAAC;AAC7B,SAAgB,YAAY,CAAC,eAA0D;;IACrF,UAAU,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU,mCAAI,SAAS,CAAC;IACtD,kBAAkB,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,kBAAkB,mCAAI,MAAM,CAAC;IACnE,YAAY,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,YAAY,mCAAI,SAAS,CAAC;IAC1D,oBAAoB,GAAG,MAAA,eAAe,aAAf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,EAAE;YACT,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IACD,IAAI,OAAO;QACT,OAAO;YACL,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK;YACX,YAAY,EAAE,uBAAY,CAAC,QAAQ;YACnC,QAAQ,EAAE,2BAAgB,CAAC,OAAO;YAClC,GAAG,EAAE,gBAAO;YACZ,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IACD,IAAI,WAAW;QACb,OAAO;YACL,IAAI,EAAE,KAAK;YACX,GAAG,EAAE,gOAAgO,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,6BAA6B;YACrmC,KAAK,EAAE,gBAAgB;YACvB,MAAM,EAAE,gBAAgB;YACxB,QAAQ,EAAE,2BAAgB,CAAC,WAAW;YACtC,YAAY,EAAE,uBAAY,CAAC,IAAI;YAC/B,IAAI,EAAE,aAAa;YACnB,UAAU,EAAE,CAAC,EAAE;YACf,WAAW,EAAE,EAAE;YACf,MAAM,EAAE,MAAM;SACf,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,SAAgB,GAAG;IACjB,OAAO,IAAA,eAAM,EAAC,QAAQ,EAAE,aAAO,CAAC,CAAC;AACnC,CAAC;AAFD,kBAEC","file":"icons.js","sourcesContent":["/* eslint-disable max-len */\n/*eslint-disable camelcase*/\n\nimport type { ColumnIconOption, ImageIcon, ITableThemeDefine, SvgIcon } from './ts-types';\nimport { IconPosition, IconFuncTypeEnum } from './ts-types';\nimport { extend } from './tools/helper';\nimport { icons as plugins } from './plugins/icons';\nimport { DrillDown, DrillUp } from './tools/global';\nlet sort_color: string;\nlet sort_color_opacity: string;\nlet sort_color_2: string;\nlet sort_color_opacity_2: string;\nlet sort_size: number;\nlet sort_size_2: number;\nlet frozen_color: string;\nlet frozen_color_opacity: string;\nlet freeze_color_opacity: string;\nlet frozen_color_2: string;\nlet frozen_color_opacity_2: string;\nlet frozen_size: number;\nlet frozen_size_2: number;\nlet collapse_color: string;\nlet collapse_color_opacity: string;\nlet collapse_size: number;\nlet collapse_size_2: number;\nlet expand_color: string;\nlet expand_color_opacity: string;\nlet expand_size: number;\nlet expand_size_2: number;\nlet dragReorder_color: string;\nlet dragReorder_color_opacity: string;\nlet dragReorder_size: number;\nexport function setIconColor(themeIconsColor: ITableThemeDefine['functionalIconsStyle']) {\n sort_color = themeIconsColor?.sort_color ?? '#282F38';\n sort_color_opacity = themeIconsColor?.sort_color_opacity ?? '0.35';\n sort_color_2 = themeIconsColor?.sort_color_2 ?? '#416EFF';\n sort_color_opacity_2 = themeIconsColor?.sort_color_opacity_2 ?? '1';\n sort_size = themeIconsColor?.sort_size ?? 16;\n sort_size_2 = themeIconsColor?.sort_size_2 ?? 22;\n frozen_color = themeIconsColor?.frozen_color ?? '#282F38';\n frozen_color_opacity = themeIconsColor?.frozen_color_opacity ?? '0.35';\n freeze_color_opacity = themeIconsColor?.frozen_color_opacity ?? '0.2'; //之前是个0.2 为了不让bugServer错误太多\n frozen_color_2 = themeIconsColor?.frozen_color_2 ?? '#416EFF';\n frozen_color_opacity_2 = themeIconsColor?.frozen_color_opacity_2 ?? '1';\n frozen_size = themeIconsColor?.frozen_size ?? 22;\n frozen_size_2 = themeIconsColor?.frozen_size_2 ?? 22;\n collapse_color = themeIconsColor?.collapse_color ?? '#141414';\n collapse_color_opacity = themeIconsColor?.collapse_color_opacity ?? '0.65';\n collapse_size = themeIconsColor?.collapse_size ?? 16;\n collapse_size_2 = themeIconsColor?.frozen_size_2 ?? 22;\n expand_color = themeIconsColor?.expand_color ?? '#141414';\n expand_color_opacity = themeIconsColor?.expand_color_opacity ?? '0.65';\n expand_size = themeIconsColor?.expand_size ?? 16;\n expand_size_2 = themeIconsColor?.expand_size_2 ?? 22;\n dragReorder_color = themeIconsColor?.dragReorder_color ?? '#666666';\n dragReorder_color_opacity = themeIconsColor?.dragReorder_color_opacity ?? '1';\n dragReorder_size = themeIconsColor?.dragReorder_size ?? 20;\n}\nconst builtins = {\n get sort_downward(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n ` <path d=\"M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z\" fill=\"${sort_color_2}\" fill-opacity=\"${sort_color_opacity_2}\"/>` +\n `<path d=\"M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n '</svg> ',\n width: sort_size, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: sort_size,\n funcType: IconFuncTypeEnum.sort,\n name: 'sort_downward',\n // positionType: IconPosition.inlineEnd,\n positionType: IconPosition.contentRight,\n marginLeft: 3, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: sort_size_2,\n height: sort_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get sort_upward(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n `<path d=\"M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z\" fill=\"${sort_color_2}\" fill-opacity=\"${sort_color_opacity_2}\"/>` +\n ' </svg>',\n width: sort_size,\n height: sort_size,\n funcType: IconFuncTypeEnum.sort,\n // positionType: IconPosition.inlineEnd,\n positionType: IconPosition.contentRight,\n name: 'sort_upward',\n marginLeft: 3,\n hover: {\n width: sort_size_2,\n height: sort_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get sort_normal(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n `<path d=\"M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n '</svg> ',\n width: sort_size,\n height: sort_size,\n funcType: IconFuncTypeEnum.sort,\n // positionType: IconPosition.inlineEnd,\n positionType: IconPosition.contentRight,\n name: 'sort_normal',\n marginLeft: 3,\n hover: {\n width: sort_size_2,\n height: sort_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n\n get freeze(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n '<g clip-path=\"url(#clip0)\">' +\n `<path d=\"M17.1313 8.42047C17.1932 8.48238 17.2423 8.55587 17.2759 8.63676C17.3094 8.71764 17.3266 8.80434 17.3266 8.89189C17.3266 8.97944 17.3094 9.06613 17.2759 9.14702C17.2423 9.2279 17.1932 9.3014 17.1313 9.3633L13.3843 13.1103C13.7007 14.3048 13.5305 15.4443 12.8388 16.2395C12.8104 16.2781 12.7778 16.3136 12.7417 16.3451L12.712 16.3755C12.6501 16.4374 12.5766 16.4865 12.4957 16.52C12.4148 16.5535 12.3281 16.5707 12.2406 16.5707C12.153 16.5707 12.0663 16.5535 11.9854 16.52C11.9046 16.4865 11.8311 16.4374 11.7692 16.3755L9.17633 13.7826L6.05316 16.9058L5.11983 17.0925C5.09291 17.0979 5.06508 17.0965 5.03881 17.0886C5.01254 17.0806 4.98863 17.0663 4.96923 17.0469C4.94982 17.0275 4.9355 17.0036 4.92755 16.9773C4.9196 16.951 4.91827 16.9232 4.92366 16.8963L5.11033 15.963L8.23333 12.8396L5.64066 10.2471C5.57875 10.1852 5.52964 10.1117 5.49614 10.0309C5.46263 9.94997 5.44539 9.86327 5.44539 9.77572C5.44539 9.68817 5.46263 9.60148 5.49614 9.52059C5.52964 9.43971 5.57875 9.36621 5.64066 9.3043C5.65066 9.2943 5.66066 9.2843 5.67099 9.27464C5.70266 9.2383 5.73833 9.20547 5.77766 9.17664C6.57283 8.48564 7.71199 8.31564 8.90599 8.63197L12.6528 4.88497C12.7147 4.82306 12.7882 4.77395 12.8691 4.74045C12.95 4.70694 13.0367 4.6897 13.1242 4.6897C13.2118 4.6897 13.2985 4.70694 13.3794 4.74045C13.4603 4.77395 13.5338 4.82306 13.5957 4.88497L17.1312 8.42047H17.1313ZM15.7172 8.8918L13.1243 6.29914L9.56483 9.8588C9.47574 9.94788 9.36323 10.0099 9.24034 10.0376C9.11746 10.0654 8.98922 10.0578 8.87049 10.0156C8.22783 9.78764 7.63899 9.7553 7.17749 9.89814L12.1182 14.8388C12.261 14.3771 12.2287 13.7885 12.0007 13.146C11.9585 13.0272 11.9509 12.899 11.9787 12.7761C12.0064 12.6532 12.0684 12.5407 12.1575 12.4516L15.7172 8.89164V8.8918Z\" fill=\"${frozen_color}\" fill-opacity=\"${freeze_color_opacity}\"/>` +\n '</g>' +\n '<defs>' +\n '<clipPath id=\"clip0\">' +\n '<rect width=\"22\" height=\"22\" fill=\"white\"/>' +\n '</clipPath>' +\n '</defs>' +\n '</svg>',\n width: frozen_size,\n height: frozen_size,\n name: 'freeze',\n funcType: IconFuncTypeEnum.frozen,\n positionType: IconPosition.right,\n marginRight: 0,\n hover: {\n width: frozen_size_2,\n height: frozen_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get frozen(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z\" fill=\"${frozen_color}\" fill-opacity=\"${frozen_color_opacity}\"/>` +\n '</svg>',\n width: frozen_size,\n height: frozen_size,\n name: 'frozen',\n funcType: IconFuncTypeEnum.frozen,\n positionType: IconPosition.right,\n marginRight: 0,\n hover: {\n width: frozen_size_2,\n height: frozen_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get frozenCurrent(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z\" fill=\"${frozen_color_2}\" fill-opacity=\"${frozen_color_opacity_2}\"/>` +\n '</svg>',\n width: frozen_size,\n height: frozen_size,\n funcType: IconFuncTypeEnum.frozen,\n positionType: IconPosition.right,\n name: 'frozenCurrent',\n marginRight: 0,\n // marginLeft: 6,\n hover: {\n width: frozen_size_2,\n height: frozen_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n\n // get dropdownIcon_hover(): SvgIcon {\n // return {\n // type: 'svg',\n // svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g><rect x=\"2\" y=\"1\" width=\"20\" height=\"20\" rx=\"10\" fill=\"#1E54C9\"/><rect x=\"2.5\" y=\"1.5\" width=\"19\" height=\"19\" rx=\"9.5\" stroke=\"#141414\" stroke-opacity=\"0.2\"/></g><path d=\"M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z\" fill=\"white\"/></svg>',\n // width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n // height: 24,\n // funcType: IconFuncTypeEnum.dropDown,\n // positionType: IconPosition.absoluteRight,\n // name: 'dropdownIcon_hover',\n // marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n // hover: {\n // width: 24,\n // height: 24,\n // bgColor: 'rgba(101, 117, 168, 0.1)',\n // },\n // cursor: 'pointer',\n // };\n // },\n\n get dropdownIcon(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g><rect x=\"2\" y=\"1\" width=\"20\" height=\"20\" rx=\"10\" fill=\"white\"/><rect x=\"2.5\" y=\"1.5\" width=\"19\" height=\"19\" rx=\"9.5\" stroke=\"#959DA5\"/></g><path d=\"M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z\" fill=\"#4F5965\"/></svg>',\n width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: 24,\n funcType: IconFuncTypeEnum.dropDown,\n positionType: IconPosition.absoluteRight,\n // positionType: IconPosition.inlineEnd,\n name: 'dropdownIcon',\n marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: 24,\n height: 24,\n bgColor: 'rgba(101, 117, 168, 0.1)',\n image:\n '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g><rect x=\"2\" y=\"1\" width=\"20\" height=\"20\" rx=\"10\" fill=\"#1E54C9\"/><rect x=\"2.5\" y=\"1.5\" width=\"19\" height=\"19\" rx=\"9.5\" stroke=\"#141414\" stroke-opacity=\"0.2\"/></g><path d=\"M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z\" fill=\"white\"/></svg>'\n },\n cursor: 'pointer',\n visibleTime: 'mouseenter_cell'\n };\n },\n\n get play(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"48\" height=\"48\" fill=\"white\" fill-opacity=\"0.01\" /><path d=\"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z\" fill=\"none\" stroke=\"#686a6e\" stroke-width=\"4\" stroke-linejoin=\"round\" stroke-opacity=\"0.7\" /><path d=\"M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z\" fill=\"none\" stroke=\"#686a6e\" stroke-width=\"4\" stroke-linejoin=\"round\" stroke-opacity=\"0.7\" /></svg>',\n width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: 24,\n funcType: IconFuncTypeEnum.play,\n positionType: IconPosition.right,\n name: 'play',\n marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: 24,\n height: 24,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n\n get damage_pic(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5 10V38C5 39.1046 5.89543 40 7 40H14H18L15 29L22 27L21 20L29 16L27 13L30 8H7C5.89543 8 5 8.89543 5 10Z\" fill=\"none\" stroke=\"#333\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M43 38V10C43 8.89543 42.1046 8 41 8H38L34 14L37 19L28 23L29 31L22 33L24 40H41C42.1046 40 43 39.1046 43 38Z\" fill=\"none\" stroke=\"#333\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.5 18C15.3284 18 16 17.3284 16 16.5C16 15.6716 15.3284 15 14.5 15C13.6716 15 13 15.6716 13 16.5C13 17.3284 13.6716 18 14.5 18Z\" fill=\"none\" stroke=\"#333\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>',\n width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: 24,\n funcType: IconFuncTypeEnum.damagePic,\n positionType: IconPosition.left,\n name: 'damage_pic',\n marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: 24,\n height: 24,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get loading_pic(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg viewBox=\"0 0 400 300\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><mask id=\"a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"50\" y=\"65\" width=\"301\" height=\"170\"><path d=\"M350.3 65H50v169.8h300.3V65Z\" fill=\"#fff\"/></mask><g mask=\"url(#a)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M58.3 233.2h32.8v-36.8H58.3v36.8Z\" fill=\"#C7DEFF\"/><path d=\"M91.1 224.5v8.8H58.3M82.4 196.2H58.3\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M305.4 182.5s-2.7 12.6 0 17.4c2.7 4.8 8.3 6.7 12.4 4.4 4.2-2.4 5.3-8.1 2.6-12.9-2.7-4.8-15-8.9-15-8.9ZM336 204.7c4.3 2 9.7-.4 12-5.4 2.3-5-1.5-17.3-1.5-17.3s-11.8 5.1-14.1 10.1c-2.3 5-.7 10.6 3.6 12.6Z\" fill=\"#00E4E5\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M326.7 174s-10 11.8-10 18.6c0 6.7 4.5 12.2 10 12.2s10-5.5 10-12.3c0-6.8-10-18.5-10-18.5Z\" fill=\"#00E4E5\"/><path d=\"M332.3 181.5c2.3 3.6 4.4 7.8 4.4 10.9M316.7 192.5c0-3.1 2.1-7.2 4.3-10.8\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M343.1 227.3v-9.7h-34v9.7c0 3.7 3 6.6 6.6 6.6h20.9c3.6 0 6.5-2.9 6.5-6.6Z\" fill=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M350.4 220.8V198H302v22.8c0 5.9 4.8 10.7 10.7 10.7h26.9c5.9 0 10.7-4.8 10.8-10.7Z\" fill=\"#C7DEFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M331.7 74.2H117.8L87.4 203h213.8l30.5-128.8Z\" fill=\"#fff\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M337 74.2h-6.2l-30.6 129.2h6.2L337 74.2Z\" fill=\"#fff\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M303.8 203.5h2.4l30.7-129.3h-1.8l-31.3 129.3Z\" fill=\"#C7DEFF\"/><path d=\"m337 74.2-30.6 129.2h-5.9\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M229.9 202.1h-47.6l2 9.6h47.3l-1.7-9.6Z\" fill=\"#C7DEFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z\" fill=\"#006EFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z\" fill=\"#006EFF\"/><path d=\"M138.5 74.2h193.2l-23.4 98.6M94.5 172.7l11-46.3M104.8 155.4l-2.3 11.5h6.7M316 112.1l1.1-4.5\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M148.3 138.1h97V119h-97v19.1Z\" fill=\"#00E4E5\"/><path d=\"M303.1 80.6h20.3l-4.6 19.6M228.3 234.3c3.6 0 6.3-3.2 5.7-6.8l-4.1-24.1\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M226.2 229.5h-68.9v1.2c0 2 1.6 3.7 3.7 3.7h60.1c2.8 0 5-2.2 5.1-4.9Z\" fill=\"#C7DEFF\"/><path d=\"M180.699 226.8h-19.9c-2.8 0-4.6 3-3.3 5.5m0 0c.6 1.2 1.9 2 3.3 2h57.8M175.9 203.4l3.6 17.6M241.2 234.3h65.1M104.6 234.3h41.3\" stroke=\"#071F4D\"/><path d=\"M206.2 234.3h14.9c3.1 0 5.5-2.8 5-5.9l-4.3-24.9M160.7 226.8h46M62.2 226.1h-9.5c-1.2 0-2.2-1-2.2-2.2v-18.3c0-1.2 1-2.2 2.2-2.2h9.5\" stroke=\"#071F4D\"/><path d=\"M53.4 171.7H68c2.1 0 3.7 1.7 3.7 3.7v16.1M79.1 192v-21.8c0-2.5 2-4.6 4.6-4.6h2.2c2.5 0 4.5-2 4.5-4.5m0 0c0-2.5-2-4.5-4.5-4.5H56.1c-2.4 0-4.3-1.9-4.3-4.3V148M71.2 165.2h-18M64 181.7v10.1\" stroke=\"#C7DEFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M85.7 120H124c4.3 0 7.7-3.5 7.7-7.7V65.5H94.2c-4.7 0-8.5 4.9-8.5 11V120Z\" fill=\"#C7DEFF\"/><path d=\"M85.7 110.7V73c0-4.1 3.4-7.5 7.5-7.5h38.5M146.2 73.8v-2.5c0-3.2-2-5.8-5.8-5.8-2.8 0-6 1.1-6 5.8v42.4c0 4.7-3.8 8.5-8.5 8.5h-15.6\" stroke=\"#071F4D\"/><path d=\"M119.7 122.3H87c-6.1 0-11.1-5-11.1-11.1m0 0h39M126.1 122.3c-6.1 0-11.1-5-11.1-11.1\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M85.4 122.1h37.2c-6.5-1.8-8-10.5-8-10.5H76.2c.6 8.8 9.2 10.5 9.2 10.5Z\" fill=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M95.8 102.9h4.8V83.6h-4.8v19.3ZM106.6 102.9h4.8V77.6h-4.8v25.3ZM117.3 102.9h4.8V89.1h-4.8v13.8Z\" fill=\"#fff\"/><path d=\"M273.2 195.9h16.9M261.2 195.9h5\" stroke=\"#fff\"/><path d=\"M62.4 201.9v2.9M62.4 224.5v2.9\" stroke=\"#071F4D\"/><path d=\"m153.6 138.1 9.7-19.1M168.8 138.1l9.7-19.1M184.1 138.1l9.7-19.1M199.4 138.1l9.7-19.1M214.6 138.1l9.8-19.1M229.9 138.1l9.7-19.1\" stroke=\"#fff\"/><path d=\"M148.3 138.1h121.6V119H148.3v19.1Z\" stroke=\"#071F4D\"/></g></svg>',\n width: 400,\n height: 300,\n name: 'loading_pic',\n positionType: IconPosition.left\n };\n },\n //展开状态的按钮 向下三角\n get expand(): SvgIcon {\n return {\n type: 'svg',\n svg: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M4.64988 6.81235C4.38797 6.48497 4.62106 6 5.04031 6L10.9597 6C11.3789 6 11.612 6.48497 11.3501 6.81235L8.39043 10.512C8.19027 10.7622 7.80973 10.7622 7.60957 10.512L4.64988 6.81235Z\" fill=\"${expand_color}\" fill-opacity=\"${expand_color_opacity}\"/>\n </svg>`,\n width: expand_size, //其实指定的是svg图片绘制多大,实际占位是box,margin也是相对阴影范围指定的\n height: expand_size,\n funcType: IconFuncTypeEnum.expand,\n name: 'expand',\n positionType: IconPosition.contentLeft,\n marginLeft: 0,\n marginRight: 4,\n hover: {\n width: expand_size_2,\n height: expand_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n //折叠状态的按钮 向右三角\n get collapse(): SvgIcon {\n return {\n type: 'svg',\n svg: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M5.81235 11.3501C5.48497 11.612 5 11.3789 5 10.9597L5 5.04031C5 4.62106 5.48497 4.38797 5.81235 4.64988L9.51196 7.60957C9.76216 7.80973 9.76216 8.19027 9.51196 8.39044L5.81235 11.3501Z\" fill=\"${collapse_color}\" fill-opacity=\"${collapse_color_opacity}\"/>\n </svg>`,\n width: collapse_size, //其实指定的是svg图片绘制多大,实际占位是box,margin也是相对阴影范围指定的\n height: collapse_size,\n funcType: IconFuncTypeEnum.collapse,\n name: 'collapse',\n positionType: IconPosition.contentLeft,\n marginLeft: 0,\n marginRight: 4,\n hover: {\n width: collapse_size_2,\n height: collapse_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n // //loading状态按钮\n // get loading(): ImageIcon {\n // return {\n // type: 'image',\n // src: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/media/loading-circle.gif',\n // width: collapse_size,\n // height: collapse_size,\n // name: 'loading',\n // positionType: IconPosition.contentLeft,\n // marginLeft: 0,\n // marginRight: 4,\n // hover: {\n // width: collapse_size_2,\n // height: collapse_size_2,\n // bgColor: 'rgba(101, 117, 168, 0.1)'\n // },\n // // cursor: 'pointer',\n\n // isGif: true\n // };\n // },\n\n // drill按钮\n get drillDown(): SvgIcon {\n return {\n name: 'drillDown',\n type: 'svg',\n positionType: IconPosition.absolute,\n funcType: IconFuncTypeEnum.drillDown,\n svg: DrillDown,\n width: 13,\n height: 13,\n cursor: 'pointer'\n };\n },\n get drillUp(): SvgIcon {\n return {\n name: 'drillUp',\n type: 'svg',\n positionType: IconPosition.absolute,\n funcType: IconFuncTypeEnum.drillUp,\n svg: DrillUp,\n width: 13,\n height: 13,\n cursor: 'pointer'\n };\n },\n get dragReorder(): SvgIcon {\n return {\n type: 'svg',\n svg: `<svg t=\"1710129136961\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"5166\" width=\"200\" height=\"200\"><path d=\"M362.666667 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5167\"></path><path d=\"M661.333333 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5168\"></path><path d=\"M362.666667 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5169\"></path><path d=\"M661.333333 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5170\"></path><path d=\"M362.666667 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5171\"></path><path d=\"M661.333333 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5172\"></path></svg>`,\n width: dragReorder_size, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: dragReorder_size,\n funcType: IconFuncTypeEnum.dragReorder,\n positionType: IconPosition.left,\n name: 'dragReorder',\n marginLeft: -10,\n marginRight: 10,\n cursor: 'grab'\n };\n }\n};\n\nexport function get(): { [key: string]: ColumnIconOption } {\n return extend(builtins, plugins);\n}\n"]}
1
+ {"version":3,"sources":["../src/icons.ts"],"names":[],"mappings":";;;AAIA,yCAA4D;AAC5D,2CAAwC;AACxC,2CAAmD;AACnD,2CAAoD;AACpD,IAAI,UAAkB,CAAC;AACvB,IAAI,kBAA0B,CAAC;AAC/B,IAAI,YAAoB,CAAC;AACzB,IAAI,oBAA4B,CAAC;AACjC,IAAI,SAAiB,CAAC;AACtB,IAAI,WAAmB,CAAC;AACxB,IAAI,YAAoB,CAAC;AACzB,IAAI,oBAA4B,CAAC;AACjC,IAAI,oBAA4B,CAAC;AACjC,IAAI,cAAsB,CAAC;AAC3B,IAAI,sBAA8B,CAAC;AACnC,IAAI,WAAmB,CAAC;AACxB,IAAI,aAAqB,CAAC;AAC1B,IAAI,cAAsB,CAAC;AAC3B,IAAI,sBAA8B,CAAC;AACnC,IAAI,aAAqB,CAAC;AAC1B,IAAI,eAAuB,CAAC;AAC5B,IAAI,YAAoB,CAAC;AACzB,IAAI,oBAA4B,CAAC;AACjC,IAAI,WAA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O;YACL,IAAI,EAAE,KAAK;YACX,GAAG,EAAE,gOAAgO,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,mGAAmG,iBAAiB,oBAAoB,yBAAyB,6BAA6B;YACrmC,KAAK,EAAE,gBAAgB;YACvB,MAAM,EAAE,gBAAgB;YACxB,QAAQ,EAAE,2BAAgB,CAAC,WAAW;YACtC,YAAY,EAAE,uBAAY,CAAC,IAAI;YAC/B,IAAI,EAAE,aAAa;YACnB,UAAU,EAAE,CAAC,EAAE;YACf,WAAW,EAAE,EAAE;YACf,MAAM,EAAE,MAAM;SACf,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,SAAgB,GAAG;IACjB,OAAO,IAAA,eAAM,EAAC,QAAQ,EAAE,aAAO,CAAC,CAAC;AACnC,CAAC;AAFD,kBAEC","file":"icons.js","sourcesContent":["/* eslint-disable max-len */\n/*eslint-disable camelcase*/\n\nimport type { ColumnIconOption, ImageIcon, ITableThemeDefine, SvgIcon } from './ts-types';\nimport { IconPosition, IconFuncTypeEnum } from './ts-types';\nimport { extend } from './tools/helper';\nimport { icons as plugins } from './plugins/icons';\nimport { DrillDown, DrillUp } from './tools/global';\nlet sort_color: string;\nlet sort_color_opacity: string;\nlet sort_color_2: string;\nlet sort_color_opacity_2: string;\nlet sort_size: number;\nlet sort_size_2: number;\nlet frozen_color: string;\nlet frozen_color_opacity: string;\nlet freeze_color_opacity: string;\nlet frozen_color_2: string;\nlet frozen_color_opacity_2: string;\nlet frozen_size: number;\nlet frozen_size_2: number;\nlet collapse_color: string;\nlet collapse_color_opacity: string;\nlet collapse_size: number;\nlet collapse_size_2: number;\nlet expand_color: string;\nlet expand_color_opacity: string;\nlet expand_size: number;\nlet expand_size_2: number;\nlet dragReorder_color: string;\nlet dragReorder_color_opacity: string;\nlet dragReorder_size: number;\nexport function setIconColor(themeIconsColor: ITableThemeDefine['functionalIconsStyle']) {\n sort_color = themeIconsColor?.sort_color ?? '#282F38';\n sort_color_opacity = themeIconsColor?.sort_color_opacity ?? '0.35';\n sort_color_2 = themeIconsColor?.sort_color_2 ?? '#416EFF';\n sort_color_opacity_2 = themeIconsColor?.sort_color_opacity_2 ?? '1';\n sort_size = themeIconsColor?.sort_size ?? 16;\n sort_size_2 = themeIconsColor?.sort_size_2 ?? 22;\n frozen_color = themeIconsColor?.frozen_color ?? '#282F38';\n frozen_color_opacity = themeIconsColor?.frozen_color_opacity ?? '0.35';\n freeze_color_opacity = themeIconsColor?.frozen_color_opacity ?? '0.2'; //之前是个0.2 为了不让bugServer错误太多\n frozen_color_2 = themeIconsColor?.frozen_color_2 ?? '#416EFF';\n frozen_color_opacity_2 = themeIconsColor?.frozen_color_opacity_2 ?? '1';\n frozen_size = themeIconsColor?.frozen_size ?? 22;\n frozen_size_2 = themeIconsColor?.frozen_size_2 ?? 22;\n collapse_color = themeIconsColor?.collapse_color ?? '#141414';\n collapse_color_opacity = themeIconsColor?.collapse_color_opacity ?? '0.65';\n collapse_size = themeIconsColor?.collapse_size ?? 16;\n collapse_size_2 = themeIconsColor?.frozen_size_2 ?? 22;\n expand_color = themeIconsColor?.expand_color ?? '#141414';\n expand_color_opacity = themeIconsColor?.expand_color_opacity ?? '0.65';\n expand_size = themeIconsColor?.expand_size ?? 16;\n expand_size_2 = themeIconsColor?.expand_size_2 ?? 22;\n dragReorder_color = themeIconsColor?.dragReorder_color ?? '#666666';\n dragReorder_color_opacity = themeIconsColor?.dragReorder_color_opacity ?? '1';\n dragReorder_size = themeIconsColor?.dragReorder_size ?? 20;\n}\nconst builtins = {\n get sort_downward(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n ` <path d=\"M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z\" fill=\"${sort_color_2}\" fill-opacity=\"${sort_color_opacity_2}\"/>` +\n `<path d=\"M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n '</svg> ',\n width: sort_size, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: sort_size,\n funcType: IconFuncTypeEnum.sort,\n name: 'sort_downward',\n // positionType: IconPosition.inlineEnd,\n positionType: IconPosition.contentRight,\n marginLeft: 3, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: sort_size_2,\n height: sort_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get sort_upward(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n `<path d=\"M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z\" fill=\"${sort_color_2}\" fill-opacity=\"${sort_color_opacity_2}\"/>` +\n ' </svg>',\n width: sort_size,\n height: sort_size,\n funcType: IconFuncTypeEnum.sort,\n // positionType: IconPosition.inlineEnd,\n positionType: IconPosition.contentRight,\n name: 'sort_upward',\n marginLeft: 3,\n hover: {\n width: sort_size_2,\n height: sort_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get sort_normal(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n `<path d=\"M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z\" fill=\"${sort_color}\" fill-opacity=\"${sort_color_opacity}\"/>` +\n '</svg> ',\n width: sort_size,\n height: sort_size,\n funcType: IconFuncTypeEnum.sort,\n // positionType: IconPosition.inlineEnd,\n positionType: IconPosition.contentRight,\n name: 'sort_normal',\n marginLeft: 3,\n hover: {\n width: sort_size_2,\n height: sort_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n\n get freeze(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n '<g clip-path=\"url(#clip0)\">' +\n `<path d=\"M17.1313 8.42047C17.1932 8.48238 17.2423 8.55587 17.2759 8.63676C17.3094 8.71764 17.3266 8.80434 17.3266 8.89189C17.3266 8.97944 17.3094 9.06613 17.2759 9.14702C17.2423 9.2279 17.1932 9.3014 17.1313 9.3633L13.3843 13.1103C13.7007 14.3048 13.5305 15.4443 12.8388 16.2395C12.8104 16.2781 12.7778 16.3136 12.7417 16.3451L12.712 16.3755C12.6501 16.4374 12.5766 16.4865 12.4957 16.52C12.4148 16.5535 12.3281 16.5707 12.2406 16.5707C12.153 16.5707 12.0663 16.5535 11.9854 16.52C11.9046 16.4865 11.8311 16.4374 11.7692 16.3755L9.17633 13.7826L6.05316 16.9058L5.11983 17.0925C5.09291 17.0979 5.06508 17.0965 5.03881 17.0886C5.01254 17.0806 4.98863 17.0663 4.96923 17.0469C4.94982 17.0275 4.9355 17.0036 4.92755 16.9773C4.9196 16.951 4.91827 16.9232 4.92366 16.8963L5.11033 15.963L8.23333 12.8396L5.64066 10.2471C5.57875 10.1852 5.52964 10.1117 5.49614 10.0309C5.46263 9.94997 5.44539 9.86327 5.44539 9.77572C5.44539 9.68817 5.46263 9.60148 5.49614 9.52059C5.52964 9.43971 5.57875 9.36621 5.64066 9.3043C5.65066 9.2943 5.66066 9.2843 5.67099 9.27464C5.70266 9.2383 5.73833 9.20547 5.77766 9.17664C6.57283 8.48564 7.71199 8.31564 8.90599 8.63197L12.6528 4.88497C12.7147 4.82306 12.7882 4.77395 12.8691 4.74045C12.95 4.70694 13.0367 4.6897 13.1242 4.6897C13.2118 4.6897 13.2985 4.70694 13.3794 4.74045C13.4603 4.77395 13.5338 4.82306 13.5957 4.88497L17.1312 8.42047H17.1313ZM15.7172 8.8918L13.1243 6.29914L9.56483 9.8588C9.47574 9.94788 9.36323 10.0099 9.24034 10.0376C9.11746 10.0654 8.98922 10.0578 8.87049 10.0156C8.22783 9.78764 7.63899 9.7553 7.17749 9.89814L12.1182 14.8388C12.261 14.3771 12.2287 13.7885 12.0007 13.146C11.9585 13.0272 11.9509 12.899 11.9787 12.7761C12.0064 12.6532 12.0684 12.5407 12.1575 12.4516L15.7172 8.89164V8.8918Z\" fill=\"${frozen_color}\" fill-opacity=\"${freeze_color_opacity}\"/>` +\n '</g>' +\n '<defs>' +\n '<clipPath id=\"clip0\">' +\n '<rect width=\"22\" height=\"22\" fill=\"white\"/>' +\n '</clipPath>' +\n '</defs>' +\n '</svg>',\n width: frozen_size,\n height: frozen_size,\n name: 'freeze',\n funcType: IconFuncTypeEnum.frozen,\n positionType: IconPosition.right,\n marginRight: 0,\n hover: {\n width: frozen_size_2,\n height: frozen_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get frozen(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z\" fill=\"${frozen_color}\" fill-opacity=\"${frozen_color_opacity}\"/>` +\n '</svg>',\n width: frozen_size,\n height: frozen_size,\n name: 'frozen',\n funcType: IconFuncTypeEnum.frozen,\n positionType: IconPosition.right,\n marginRight: 0,\n hover: {\n width: frozen_size_2,\n height: frozen_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get frozenCurrent(): SvgIcon {\n return {\n type: 'svg',\n svg:\n '<svg width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">' +\n `<path d=\"M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z\" fill=\"${frozen_color_2}\" fill-opacity=\"${frozen_color_opacity_2}\"/>` +\n '</svg>',\n width: frozen_size,\n height: frozen_size,\n funcType: IconFuncTypeEnum.frozen,\n positionType: IconPosition.right,\n name: 'frozenCurrent',\n marginRight: 0,\n // marginLeft: 6,\n hover: {\n width: frozen_size_2,\n height: frozen_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n\n // get dropdownIcon_hover(): SvgIcon {\n // return {\n // type: 'svg',\n // svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g><rect x=\"2\" y=\"1\" width=\"20\" height=\"20\" rx=\"10\" fill=\"#1E54C9\"/><rect x=\"2.5\" y=\"1.5\" width=\"19\" height=\"19\" rx=\"9.5\" stroke=\"#141414\" stroke-opacity=\"0.2\"/></g><path d=\"M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z\" fill=\"white\"/></svg>',\n // width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n // height: 24,\n // funcType: IconFuncTypeEnum.dropDown,\n // positionType: IconPosition.absoluteRight,\n // name: 'dropdownIcon_hover',\n // marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n // hover: {\n // width: 24,\n // height: 24,\n // bgColor: 'rgba(101, 117, 168, 0.1)',\n // },\n // cursor: 'pointer',\n // };\n // },\n\n get dropdownIcon(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g><rect x=\"2\" y=\"1\" width=\"20\" height=\"20\" rx=\"10\" fill=\"white\"/><rect x=\"2.5\" y=\"1.5\" width=\"19\" height=\"19\" rx=\"9.5\" stroke=\"#959DA5\"/></g><path d=\"M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z\" fill=\"#4F5965\"/></svg>',\n width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: 24,\n funcType: IconFuncTypeEnum.dropDown,\n positionType: IconPosition.absoluteRight,\n // positionType: IconPosition.inlineEnd,\n name: 'dropdownIcon',\n marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: 24,\n height: 24,\n bgColor: 'rgba(101, 117, 168, 0.1)',\n image:\n '<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g><rect x=\"2\" y=\"1\" width=\"20\" height=\"20\" rx=\"10\" fill=\"#1E54C9\"/><rect x=\"2.5\" y=\"1.5\" width=\"19\" height=\"19\" rx=\"9.5\" stroke=\"#141414\" stroke-opacity=\"0.2\"/></g><path d=\"M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z\" fill=\"white\"/></svg>'\n },\n cursor: 'pointer',\n visibleTime: 'mouseenter_cell'\n };\n },\n\n get play(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"48\" height=\"48\" fill=\"white\" fill-opacity=\"0.01\" /><path d=\"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z\" fill=\"none\" stroke=\"#686a6e\" stroke-width=\"4\" stroke-linejoin=\"round\" stroke-opacity=\"0.7\" /><path d=\"M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z\" fill=\"none\" stroke=\"#686a6e\" stroke-width=\"4\" stroke-linejoin=\"round\" stroke-opacity=\"0.7\" /></svg>',\n width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: 24,\n funcType: IconFuncTypeEnum.play,\n positionType: IconPosition.right,\n name: 'play',\n marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: 24,\n height: 24,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n\n get damage_pic(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg width=\"24\" height=\"24\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5 10V38C5 39.1046 5.89543 40 7 40H14H18L15 29L22 27L21 20L29 16L27 13L30 8H7C5.89543 8 5 8.89543 5 10Z\" fill=\"none\" stroke=\"#333\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M43 38V10C43 8.89543 42.1046 8 41 8H38L34 14L37 19L28 23L29 31L22 33L24 40H41C42.1046 40 43 39.1046 43 38Z\" fill=\"none\" stroke=\"#333\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.5 18C15.3284 18 16 17.3284 16 16.5C16 15.6716 15.3284 15 14.5 15C13.6716 15 13 15.6716 13 16.5C13 17.3284 13.6716 18 14.5 18Z\" fill=\"none\" stroke=\"#333\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>',\n width: 24, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: 24,\n funcType: IconFuncTypeEnum.damagePic,\n positionType: IconPosition.left,\n name: 'damage_pic',\n marginRight: 0, //设计要求的是距离8px,这个些5是基于外面的box而言的\n hover: {\n width: 24,\n height: 24,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n get loading_pic(): SvgIcon {\n return {\n type: 'svg',\n svg: '<svg viewBox=\"0 0 400 300\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><mask id=\"a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"50\" y=\"65\" width=\"301\" height=\"170\"><path d=\"M350.3 65H50v169.8h300.3V65Z\" fill=\"#fff\"/></mask><g mask=\"url(#a)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M58.3 233.2h32.8v-36.8H58.3v36.8Z\" fill=\"#C7DEFF\"/><path d=\"M91.1 224.5v8.8H58.3M82.4 196.2H58.3\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M305.4 182.5s-2.7 12.6 0 17.4c2.7 4.8 8.3 6.7 12.4 4.4 4.2-2.4 5.3-8.1 2.6-12.9-2.7-4.8-15-8.9-15-8.9ZM336 204.7c4.3 2 9.7-.4 12-5.4 2.3-5-1.5-17.3-1.5-17.3s-11.8 5.1-14.1 10.1c-2.3 5-.7 10.6 3.6 12.6Z\" fill=\"#00E4E5\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M326.7 174s-10 11.8-10 18.6c0 6.7 4.5 12.2 10 12.2s10-5.5 10-12.3c0-6.8-10-18.5-10-18.5Z\" fill=\"#00E4E5\"/><path d=\"M332.3 181.5c2.3 3.6 4.4 7.8 4.4 10.9M316.7 192.5c0-3.1 2.1-7.2 4.3-10.8\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M343.1 227.3v-9.7h-34v9.7c0 3.7 3 6.6 6.6 6.6h20.9c3.6 0 6.5-2.9 6.5-6.6Z\" fill=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M350.4 220.8V198H302v22.8c0 5.9 4.8 10.7 10.7 10.7h26.9c5.9 0 10.7-4.8 10.8-10.7Z\" fill=\"#C7DEFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M331.7 74.2H117.8L87.4 203h213.8l30.5-128.8Z\" fill=\"#fff\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M337 74.2h-6.2l-30.6 129.2h6.2L337 74.2Z\" fill=\"#fff\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M303.8 203.5h2.4l30.7-129.3h-1.8l-31.3 129.3Z\" fill=\"#C7DEFF\"/><path d=\"m337 74.2-30.6 129.2h-5.9\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M229.9 202.1h-47.6l2 9.6h47.3l-1.7-9.6Z\" fill=\"#C7DEFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z\" fill=\"#006EFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z\" fill=\"#006EFF\"/><path d=\"M138.5 74.2h193.2l-23.4 98.6M94.5 172.7l11-46.3M104.8 155.4l-2.3 11.5h6.7M316 112.1l1.1-4.5\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M148.3 138.1h97V119h-97v19.1Z\" fill=\"#00E4E5\"/><path d=\"M303.1 80.6h20.3l-4.6 19.6M228.3 234.3c3.6 0 6.3-3.2 5.7-6.8l-4.1-24.1\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M226.2 229.5h-68.9v1.2c0 2 1.6 3.7 3.7 3.7h60.1c2.8 0 5-2.2 5.1-4.9Z\" fill=\"#C7DEFF\"/><path d=\"M180.699 226.8h-19.9c-2.8 0-4.6 3-3.3 5.5m0 0c.6 1.2 1.9 2 3.3 2h57.8M175.9 203.4l3.6 17.6M241.2 234.3h65.1M104.6 234.3h41.3\" stroke=\"#071F4D\"/><path d=\"M206.2 234.3h14.9c3.1 0 5.5-2.8 5-5.9l-4.3-24.9M160.7 226.8h46M62.2 226.1h-9.5c-1.2 0-2.2-1-2.2-2.2v-18.3c0-1.2 1-2.2 2.2-2.2h9.5\" stroke=\"#071F4D\"/><path d=\"M53.4 171.7H68c2.1 0 3.7 1.7 3.7 3.7v16.1M79.1 192v-21.8c0-2.5 2-4.6 4.6-4.6h2.2c2.5 0 4.5-2 4.5-4.5m0 0c0-2.5-2-4.5-4.5-4.5H56.1c-2.4 0-4.3-1.9-4.3-4.3V148M71.2 165.2h-18M64 181.7v10.1\" stroke=\"#C7DEFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M85.7 120H124c4.3 0 7.7-3.5 7.7-7.7V65.5H94.2c-4.7 0-8.5 4.9-8.5 11V120Z\" fill=\"#C7DEFF\"/><path d=\"M85.7 110.7V73c0-4.1 3.4-7.5 7.5-7.5h38.5M146.2 73.8v-2.5c0-3.2-2-5.8-5.8-5.8-2.8 0-6 1.1-6 5.8v42.4c0 4.7-3.8 8.5-8.5 8.5h-15.6\" stroke=\"#071F4D\"/><path d=\"M119.7 122.3H87c-6.1 0-11.1-5-11.1-11.1m0 0h39M126.1 122.3c-6.1 0-11.1-5-11.1-11.1\" stroke=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M85.4 122.1h37.2c-6.5-1.8-8-10.5-8-10.5H76.2c.6 8.8 9.2 10.5 9.2 10.5Z\" fill=\"#071F4D\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M95.8 102.9h4.8V83.6h-4.8v19.3ZM106.6 102.9h4.8V77.6h-4.8v25.3ZM117.3 102.9h4.8V89.1h-4.8v13.8Z\" fill=\"#fff\"/><path d=\"M273.2 195.9h16.9M261.2 195.9h5\" stroke=\"#fff\"/><path d=\"M62.4 201.9v2.9M62.4 224.5v2.9\" stroke=\"#071F4D\"/><path d=\"m153.6 138.1 9.7-19.1M168.8 138.1l9.7-19.1M184.1 138.1l9.7-19.1M199.4 138.1l9.7-19.1M214.6 138.1l9.8-19.1M229.9 138.1l9.7-19.1\" stroke=\"#fff\"/><path d=\"M148.3 138.1h121.6V119H148.3v19.1Z\" stroke=\"#071F4D\"/></g></svg>',\n width: 400,\n height: 300,\n name: 'loading_pic',\n positionType: IconPosition.left\n };\n },\n //展开状态的按钮 向下三角\n get expand(): SvgIcon {\n return {\n type: 'svg',\n svg: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M4.64988 6.81235C4.38797 6.48497 4.62106 6 5.04031 6L10.9597 6C11.3789 6 11.612 6.48497 11.3501 6.81235L8.39043 10.512C8.19027 10.7622 7.80973 10.7622 7.60957 10.512L4.64988 6.81235Z\" fill=\"${expand_color}\" fill-opacity=\"${expand_color_opacity}\"/>\n </svg>`,\n width: expand_size, //其实指定的是svg图片绘制多大,实际占位是box,margin也是相对阴影范围指定的\n height: expand_size,\n funcType: IconFuncTypeEnum.expand,\n name: 'expand',\n positionType: IconPosition.contentLeft,\n marginLeft: 0,\n marginRight: 4,\n hover: {\n width: expand_size_2,\n height: expand_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n //折叠状态的按钮 向右三角\n get collapse(): SvgIcon {\n return {\n type: 'svg',\n svg: `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M5.81235 11.3501C5.48497 11.612 5 11.3789 5 10.9597L5 5.04031C5 4.62106 5.48497 4.38797 5.81235 4.64988L9.51196 7.60957C9.76216 7.80973 9.76216 8.19027 9.51196 8.39044L5.81235 11.3501Z\" fill=\"${collapse_color}\" fill-opacity=\"${collapse_color_opacity}\"/>\n </svg>`,\n width: collapse_size, //其实指定的是svg图片绘制多大,实际占位是box,margin也是相对阴影范围指定的\n height: collapse_size,\n funcType: IconFuncTypeEnum.collapse,\n name: 'collapse',\n positionType: IconPosition.contentLeft,\n marginLeft: 0,\n marginRight: 4,\n hover: {\n width: collapse_size_2,\n height: collapse_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n cursor: 'pointer'\n };\n },\n //loading状态按钮\n get loading(): ImageIcon {\n return {\n type: 'image',\n // hack fo url test\n src: 'https://lf9-dp-fe-cms-tos.' + 'byt' + 'eorg.com/obj/bit-cloud/VTable/media/loading-circle.gif',\n width: collapse_size,\n height: collapse_size,\n name: 'loading',\n positionType: IconPosition.contentLeft,\n marginLeft: 0,\n marginRight: 4,\n hover: {\n width: collapse_size_2,\n height: collapse_size_2,\n bgColor: 'rgba(101, 117, 168, 0.1)'\n },\n // cursor: 'pointer',\n\n isGif: true\n };\n },\n\n // drill按钮\n get drillDown(): SvgIcon {\n return {\n name: 'drillDown',\n type: 'svg',\n positionType: IconPosition.absolute,\n funcType: IconFuncTypeEnum.drillDown,\n svg: DrillDown,\n width: 13,\n height: 13,\n cursor: 'pointer'\n };\n },\n get drillUp(): SvgIcon {\n return {\n name: 'drillUp',\n type: 'svg',\n positionType: IconPosition.absolute,\n funcType: IconFuncTypeEnum.drillUp,\n svg: DrillUp,\n width: 13,\n height: 13,\n cursor: 'pointer'\n };\n },\n get dragReorder(): SvgIcon {\n return {\n type: 'svg',\n svg: `<svg t=\"1710129136961\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"5166\" width=\"200\" height=\"200\"><path d=\"M362.666667 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5167\"></path><path d=\"M661.333333 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5168\"></path><path d=\"M362.666667 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5169\"></path><path d=\"M661.333333 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5170\"></path><path d=\"M362.666667 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5171\"></path><path d=\"M661.333333 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z\" fill=\"${dragReorder_color}\" fill-opacity=\"${dragReorder_color_opacity}\" p-id=\"5172\"></path></svg>`,\n width: dragReorder_size, //其实指定的是svg图片绘制多大,实际下面的阴影是box,margin也是相对阴影范围指定的\n height: dragReorder_size,\n funcType: IconFuncTypeEnum.dragReorder,\n positionType: IconPosition.left,\n name: 'dragReorder',\n marginLeft: -10,\n marginRight: 10,\n cursor: 'grab'\n };\n }\n};\n\nexport function get(): { [key: string]: ColumnIconOption } {\n return extend(builtins, plugins);\n}\n"]}
package/cjs/index.d.ts CHANGED
@@ -19,7 +19,7 @@ import { restoreMeasureText, setCustomAlphabetCharSet } from './scenegraph/utils
19
19
  export { getDataCellPath } from './tools/get-data-path';
20
20
  export * from './render/jsx';
21
21
  export { getTargetCell } from './event/util';
22
- export declare const version = "1.13.1";
22
+ export declare const version = "1.13.2";
23
23
  export { TYPES, core, ListTable, ListTableSimple, ListTableConstructorOptions, PivotTable, PivotTableSimple, PivotTableConstructorOptions, PivotChartConstructorOptions, PivotChart, IHeaderTreeDefine, IDimension, IIndicator, ITitleDefine, ICornerDefine, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, themes, data, MousePointerCellEvent, getIcons, clearGlobal, register, DataStatistics, CustomLayout, updateCell, renderChart, graphicUtil, setCustomAlphabetCharSet, restoreMeasureText };
24
24
  declare function getIcons(): {
25
25
  [key: string]: TYPES.ColumnIconOption;
package/cjs/index.js CHANGED
@@ -169,7 +169,7 @@ Object.defineProperty(exports, "getTargetCell", {
169
169
  get: function() {
170
170
  return util_1.getTargetCell;
171
171
  }
172
- }), exports.version = "1.13.1", exports.getIcons = getIcons, exports.clearGlobal = clearGlobal,
172
+ }), exports.version = "1.13.2", exports.getIcons = getIcons, exports.clearGlobal = clearGlobal,
173
173
  TYPES.AggregationType, __exportStar(require("./components"), exports), __exportStar(require("./scenegraph/group-creater/cell-type"), exports);
174
174
 
175
175
  var TABLE_EVENT_TYPE_1 = require("./core/TABLE_EVENT_TYPE");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AAAlD,oHAAA,gBAAgB,OAAA;AACzB,wFAA+G;AAAtG,gIAAA,sBAAsB,OAAA;AAAE,gIAAA,sBAAsB,OAAA;AAEvD,mDAAkD;AAAzC,0GAAA,WAAW,OAAA","file":"index.js","sourcesContent":["/* eslint-disable sort-imports */\nimport { graphicUtil, registerForVrender } from './vrender';\nregisterForVrender();\n\nimport * as TYPES from './ts-types';\nimport * as core from './core';\nimport * as data from './data';\nimport * as icons from './icons';\nimport * as register from './register';\nimport * as themes from './themes';\nimport * as DataStatistics from './dataset/DataStatistics';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n ListTableConstructorOptions,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n TextAlignType,\n TextBaselineType\n} from './ts-types';\nimport { ListTableAll as ListTable } from './ListTable-all';\nimport { ListTableSimple } from './ListTable-simple';\n// import { PivotTable } from './PivotTable';\nimport { PivotTableAll as PivotTable } from './PivotTable-all';\nimport { PivotTableSimple } from './PivotTable-simple';\nimport { PivotChart } from './PivotChart';\nimport type { MousePointerCellEvent } from './ts-types/events';\nimport * as CustomLayout from './render/layout';\n\nimport { updateCell } from './scenegraph/group-creater/cell-helper';\nimport { renderChart } from './scenegraph/graphic/contributions/chart-render-helper';\nimport { restoreMeasureText, setCustomAlphabetCharSet } from './scenegraph/utils/text-measure';\n\n// import { container, loadCanvasPicker } from '@src/vrender';\n// loadCanvasPicker(container);\n\nexport { getDataCellPath } from './tools/get-data-path';\nexport * from './render/jsx';\nexport { getTargetCell } from './event/util';\n\n// export * as VRender from './vrender';\n// import * as VRender from './vrender';\n\nexport const version = \"1.13.1\";\n/**\n * @namespace VTable\n */\nexport {\n /**\n * Types\n * @namespace VTable.TYPES\n */\n TYPES,\n core,\n ListTable,\n ListTableSimple,\n ListTableConstructorOptions,\n PivotTable,\n PivotTableSimple,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n PivotChart,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n ColumnsDefine,\n ColumnDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType,\n themes,\n data,\n MousePointerCellEvent,\n getIcons,\n clearGlobal,\n //plugin registers\n register,\n /**\n * 暂不推荐使用\n */\n DataStatistics,\n CustomLayout,\n updateCell,\n renderChart,\n graphicUtil,\n setCustomAlphabetCharSet,\n restoreMeasureText\n // VRender // should use import {xxx} from '@visactor/vtable/es/vrender'\n};\n\n/** @private */\nfunction getIcons(): {\n [key: string]: TYPES.ColumnIconOption;\n} {\n return icons.get();\n}\n/** 清理内部的全局变量 如注册的icon theme等 以及共享的header column类实例 */\nfunction clearGlobal() {\n register.clearAll();\n // headers.type.clearGlobal();\n // columns.type.clearGlobal();\n}\nTYPES.AggregationType;\n\nexport * from './components';\nexport * from './scenegraph/group-creater/cell-type';\n\nexport { TABLE_EVENT_TYPE } from './core/TABLE_EVENT_TYPE';\nexport { PIVOT_CHART_EVENT_TYPE, PIVOT_TABLE_EVENT_TYPE } from './ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE';\n\nexport { EventTarget } from './event/EventTarget';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,uCAA4D;AAuG1D,4FAvGO,qBAAW,OAuGP;AAtGb,IAAA,4BAAkB,GAAE,CAAC;AAErB,kDAAoC;AA4DlC,sBAAK;AA3DP,6CAA+B;AA4D7B,oBAAI;AA3DN,6CAA+B;AAqF7B,oBAAI;AApFN,+CAAiC;AACjC,qDAAuC;AAwFrC,4BAAQ;AAvFV,iDAAmC;AAiFjC,wBAAM;AAhFR,yEAA2D;AA0FzD,wCAAc;AApEhB,mDAA4D;AAkC1D,0FAlCuB,4BAAS,OAkCvB;AAjCX,yDAAqD;AAkCnD,gGAlCO,kCAAe,OAkCP;AAhCjB,qDAA+D;AAkC7D,2FAlCwB,8BAAU,OAkCxB;AAjCZ,2DAAuD;AAkCrD,iGAlCO,oCAAgB,OAkCP;AAjClB,6CAA0C;AAoCxC,2FApCO,uBAAU,OAoCP;AAlCZ,8DAAgD;AA8D9C,oCAAY;AA5Dd,wEAAoE;AA6DlE,2FA7DO,wBAAU,OA6DP;AA5DZ,gGAAqF;AA6DnF,4FA7DO,iCAAW,OA6DP;AA5Db,kEAA+F;AA+D7F,mGA/DO,iCAAkB,OA+DP;AADlB,yGA9D2B,uCAAwB,OA8D3B;AAzD1B,uDAAwD;AAA/C,gHAAA,eAAe,OAAA;AACxB,+CAA6B;AAC7B,qCAA6C;AAApC,qGAAA,aAAa,OAAA;AAKT,QAAA,OAAO,GAAG,QAAQ,CAAC;AAwDhC,SAAS,QAAQ;IAGf,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC;AACrB,CAAC;AAtBC,4BAAQ;AAwBV,SAAS,WAAW;IAClB,QAAQ,CAAC,QAAQ,EAAE,CAAC;AAGtB,CAAC;AA3BC,kCAAW;AA4Bb,KAAK,CAAC,eAAe,CAAC;AAEtB,+CAA6B;AAC7B,uEAAqD;AAErD,4DAA2D;AAAlD,oHAAA,gBAAgB,OAAA;AACzB,wFAA+G;AAAtG,gIAAA,sBAAsB,OAAA;AAAE,gIAAA,sBAAsB,OAAA;AAEvD,mDAAkD;AAAzC,0GAAA,WAAW,OAAA","file":"index.js","sourcesContent":["/* eslint-disable sort-imports */\nimport { graphicUtil, registerForVrender } from './vrender';\nregisterForVrender();\n\nimport * as TYPES from './ts-types';\nimport * as core from './core';\nimport * as data from './data';\nimport * as icons from './icons';\nimport * as register from './register';\nimport * as themes from './themes';\nimport * as DataStatistics from './dataset/DataStatistics';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n ListTableConstructorOptions,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n TextAlignType,\n TextBaselineType\n} from './ts-types';\nimport { ListTableAll as ListTable } from './ListTable-all';\nimport { ListTableSimple } from './ListTable-simple';\n// import { PivotTable } from './PivotTable';\nimport { PivotTableAll as PivotTable } from './PivotTable-all';\nimport { PivotTableSimple } from './PivotTable-simple';\nimport { PivotChart } from './PivotChart';\nimport type { MousePointerCellEvent } from './ts-types/events';\nimport * as CustomLayout from './render/layout';\n\nimport { updateCell } from './scenegraph/group-creater/cell-helper';\nimport { renderChart } from './scenegraph/graphic/contributions/chart-render-helper';\nimport { restoreMeasureText, setCustomAlphabetCharSet } from './scenegraph/utils/text-measure';\n\n// import { container, loadCanvasPicker } from '@src/vrender';\n// loadCanvasPicker(container);\n\nexport { getDataCellPath } from './tools/get-data-path';\nexport * from './render/jsx';\nexport { getTargetCell } from './event/util';\n\n// export * as VRender from './vrender';\n// import * as VRender from './vrender';\n\nexport const version = \"1.13.2\";\n/**\n * @namespace VTable\n */\nexport {\n /**\n * Types\n * @namespace VTable.TYPES\n */\n TYPES,\n core,\n ListTable,\n ListTableSimple,\n ListTableConstructorOptions,\n PivotTable,\n PivotTableSimple,\n PivotTableConstructorOptions,\n PivotChartConstructorOptions,\n PivotChart,\n IHeaderTreeDefine,\n IDimension,\n IIndicator,\n ITitleDefine,\n ICornerDefine,\n ColumnsDefine,\n ColumnDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType,\n themes,\n data,\n MousePointerCellEvent,\n getIcons,\n clearGlobal,\n //plugin registers\n register,\n /**\n * 暂不推荐使用\n */\n DataStatistics,\n CustomLayout,\n updateCell,\n renderChart,\n graphicUtil,\n setCustomAlphabetCharSet,\n restoreMeasureText\n // VRender // should use import {xxx} from '@visactor/vtable/es/vrender'\n};\n\n/** @private */\nfunction getIcons(): {\n [key: string]: TYPES.ColumnIconOption;\n} {\n return icons.get();\n}\n/** 清理内部的全局变量 如注册的icon theme等 以及共享的header column类实例 */\nfunction clearGlobal() {\n register.clearAll();\n // headers.type.clearGlobal();\n // columns.type.clearGlobal();\n}\nTYPES.AggregationType;\n\nexport * from './components';\nexport * from './scenegraph/group-creater/cell-type';\n\nexport { TABLE_EVENT_TYPE } from './core/TABLE_EVENT_TYPE';\nexport { PIVOT_CHART_EVENT_TYPE, PIVOT_TABLE_EVENT_TYPE } from './ts-types/pivot-table/PIVOT_TABLE_EVENT_TYPE';\n\nexport { EventTarget } from './event/EventTarget';\n"]}
@@ -144,13 +144,13 @@ export declare class Scenegraph {
144
144
  updateContainerSync(): void;
145
145
  updateCellContentWhileResize(col: number, row: number): void;
146
146
  createFrameBorder(): void;
147
- getResizeColAt(abstractX: number, abstractY: number, cellGroup?: Group, offset?: number): {
147
+ getResizeColAt(abstractX: number, abstractY: number, cellGroup?: Group): {
148
148
  col: number;
149
149
  row: number;
150
150
  x?: number;
151
151
  rightFrozen?: boolean;
152
152
  };
153
- getResizeRowAt(abstractX: number, abstractY: number, cellGroup?: Group, offset?: number): {
153
+ getResizeRowAt(abstractX: number, abstractY: number, cellGroup?: Group): {
154
154
  col: number;
155
155
  row: number;
156
156
  y?: number;
@@ -33,7 +33,7 @@ Object.defineProperty(exports, "__esModule", {
33
33
  value: !0
34
34
  }), exports.Scenegraph = void 0;
35
35
 
36
- const vrender_1 = require("./../vrender"), ts_types_1 = require("../ts-types"), vutils_1 = require("@visactor/vutils"), get_cell_merge_1 = require("./utils/get-cell-merge"), update_width_1 = require("./layout/update-width"), table_component_1 = require("./component/table-component"), update_height_1 = require("./layout/update-height"), image_cell_1 = require("./group-creater/cell-type/image-cell"), padding_1 = require("./utils/padding"), frame_border_1 = require("./style/frame-border"), global_1 = require("../tools/global"), contributions_1 = __importDefault(require("./graphic/contributions")), get_prop_1 = require("./utils/get-prop"), text_icon_layout_1 = require("./utils/text-icon-layout"), proxy_1 = require("./group-creater/progress/proxy"), compute_col_width_1 = require("./layout/compute-col-width"), move_cell_1 = require("./layout/move-cell"), cell_helper_1 = require("./group-creater/cell-helper"), update_select_border_1 = require("./select/update-select-border"), create_select_border_1 = require("./select/create-select-border"), move_select_border_1 = require("./select/move-select-border"), delete_select_border_1 = require("./select/delete-select-border"), update_row_1 = require("./layout/update-row"), stick_text_1 = require("./stick-text"), compute_row_height_1 = require("./layout/compute-row-height"), empty_group_1 = require("./utils/empty-group"), frozen_1 = require("./layout/frozen"), update_chart_1 = require("./refresh-node/update-chart"), init_scenegraph_1 = require("./group-creater/init-scenegraph"), update_container_1 = require("./utils/update-container"), vrender_components_1 = require("@visactor/vrender-components"), text_measure_1 = __importDefault(require("./utils/text-measure")), icon_update_1 = require("./icon/icon-update"), env_1 = require("../tools/env"), corner_cell_1 = require("./style/corner-cell"), update_col_1 = require("./layout/update-col"), util_1 = require("../tools/util"), appear_1 = require("./animation/appear"), frozen_react_1 = require("./layout/frozen-react"), registerIcons = __importStar(require("../icons")), update_select_style_1 = require("./select/update-select-style");
36
+ const vrender_1 = require("./../vrender"), ts_types_1 = require("../ts-types"), vutils_1 = require("@visactor/vutils"), get_cell_merge_1 = require("./utils/get-cell-merge"), update_width_1 = require("./layout/update-width"), table_component_1 = require("./component/table-component"), update_height_1 = require("./layout/update-height"), image_cell_1 = require("./group-creater/cell-type/image-cell"), padding_1 = require("./utils/padding"), frame_border_1 = require("./style/frame-border"), contributions_1 = __importDefault(require("./graphic/contributions")), get_prop_1 = require("./utils/get-prop"), text_icon_layout_1 = require("./utils/text-icon-layout"), proxy_1 = require("./group-creater/progress/proxy"), compute_col_width_1 = require("./layout/compute-col-width"), move_cell_1 = require("./layout/move-cell"), cell_helper_1 = require("./group-creater/cell-helper"), update_select_border_1 = require("./select/update-select-border"), create_select_border_1 = require("./select/create-select-border"), move_select_border_1 = require("./select/move-select-border"), delete_select_border_1 = require("./select/delete-select-border"), update_row_1 = require("./layout/update-row"), stick_text_1 = require("./stick-text"), compute_row_height_1 = require("./layout/compute-row-height"), empty_group_1 = require("./utils/empty-group"), frozen_1 = require("./layout/frozen"), update_chart_1 = require("./refresh-node/update-chart"), init_scenegraph_1 = require("./group-creater/init-scenegraph"), update_container_1 = require("./utils/update-container"), vrender_components_1 = require("@visactor/vrender-components"), text_measure_1 = __importDefault(require("./utils/text-measure")), icon_update_1 = require("./icon/icon-update"), env_1 = require("../tools/env"), corner_cell_1 = require("./style/corner-cell"), update_col_1 = require("./layout/update-col"), util_1 = require("../tools/util"), appear_1 = require("./animation/appear"), frozen_react_1 = require("./layout/frozen-react"), registerIcons = __importStar(require("../icons")), update_select_style_1 = require("./select/update-select-style");
37
37
 
38
38
  (0, vrender_1.registerForVrender)(), vrender_1.container.load(contributions_1.default),
39
39
  vrender_1.container.load(text_measure_1.default);
@@ -709,7 +709,8 @@ class Scenegraph {
709
709
  (0, frame_border_1.createFrameBorder)(this.cornerHeaderGroup, this.isPivot ? this.table.theme.cornerHeaderStyle.frameStyle : this.table.theme.headerStyle.frameStyle, this.cornerHeaderGroup.role, isListTableWithFrozen ? [ !0, !1, !0, !0 ] : void 0),
710
710
  (0, frame_border_1.createFrameBorder)(this.tableGroup, this.table.theme.frameStyle, this.tableGroup.role, void 0);
711
711
  }
712
- getResizeColAt(abstractX, abstractY, cellGroup, offset = global_1.ResizeColumnHotSpotSize / 2) {
712
+ getResizeColAt(abstractX, abstractY, cellGroup) {
713
+ const offset = this.table.theme.columnResize.resizeHotSpotSize / 2;
713
714
  let cell;
714
715
  if (!cellGroup) {
715
716
  const drawRange = this.table.getDrawRange();
@@ -736,7 +737,8 @@ class Scenegraph {
736
737
  row: -1
737
738
  };
738
739
  }
739
- getResizeRowAt(abstractX, abstractY, cellGroup, offset = global_1.ResizeRowHotSpotSize / 2) {
740
+ getResizeRowAt(abstractX, abstractY, cellGroup) {
741
+ const offset = this.table.theme.columnResize.resizeHotSpotSize / 2;
740
742
  if (cellGroup) {
741
743
  let cell;
742
744
  if (abstractY < cellGroup.globalAABBBounds.y1 + offset ? cell = {