jvs-ppt-ui 0.0.36 → 0.0.38

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 (62) hide show
  1. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.css +7 -3
  2. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.js +1 -1
  3. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.json +7 -0
  4. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.ttf +0 -0
  5. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.woff +0 -0
  6. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.woff2 +0 -0
  7. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_01de32e3d01df54a.svg +9 -0
  8. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_12935f21f0b1ae78.png +0 -0
  9. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_201146e666f28fff.png +0 -0
  10. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_32ef4f2c1d76ea32.svg +15 -0
  11. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_571054b13f220252.svg +10 -0
  12. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_5b14f99769a8894c.svg +10 -0
  13. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_62fc021bdae89b21.png +0 -0
  14. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_649d2b36f7fc251e.png +0 -0
  15. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_7e57de8ea8d46aba.png +0 -0
  16. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_9ad1284e63535689.svg +15 -0
  17. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_9ff268d3709d6454.png +0 -0
  18. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_b8f80ac591d69945.png +0 -0
  19. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_dce239981c2cd1aa.svg +15 -0
  20. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_e2ea31ca7735e5c0.png +0 -0
  21. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_e585ddb9ec5c408e.png +0 -0
  22. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_f3335fad3673d648.svg +10 -0
  23. package/dist/lib/jvs-ppt-ui/layout-library/layout-image/img_fb925327432cc7e7.svg +15 -0
  24. package/dist/lib/jvs-ppt-ui/layout-library/layout-library.json +1 -0
  25. package/dist/lib/jvs-ppt-ui.es.js +80182 -21671
  26. package/dist/lib/jvs-ppt-ui.umd.js +112 -112
  27. package/dist/lib/style.css +1 -1
  28. package/package.json +1 -1
  29. package/scripts/patch-pptxtojson.cjs +33 -0
  30. package/src/assets/chart/baseArea.png +0 -0
  31. package/src/assets/chart/baseBar.png +0 -0
  32. package/src/assets/chart/baseHistogram.png +0 -0
  33. package/src/assets/chart/basePie.png +0 -0
  34. package/src/assets/chart/bubbleChart.png +0 -0
  35. package/src/assets/chart/circyChart.png +0 -0
  36. package/src/assets/chart/compPolyline.png +0 -0
  37. package/src/assets/chart/lineChart.png +0 -0
  38. package/src/assets/chart/otherLine.png +0 -0
  39. package/src/assets/chart/otherLineChart.png +0 -0
  40. package/src/assets/chart/perHistogram.png +0 -0
  41. package/src/assets/chart/radarChart.png +0 -0
  42. package/src/assets/chart/roseChart.png +0 -0
  43. package/src/assets/chart/roseCircyChart.png +0 -0
  44. package/src/assets/chart/stackArea.png +0 -0
  45. package/src/assets/chart/stackBar.png +0 -0
  46. package/src/assets/chart/stackHistogram.png +0 -0
  47. package/src/assets/iconfont/iconfont.js +1 -1
  48. package/src/components/CanvasArea.vue +53 -14
  49. package/src/components/ChartTypeSelector.vue +15 -67
  50. package/src/components/Header.vue +10 -7
  51. package/src/components/SidebarLeft.vue +411 -35
  52. package/src/components/sidebar/common/SidebarPositionGroup.vue +199 -33
  53. package/src/components/sidebar/panels/LayoutThumbSvg.vue +82 -14
  54. package/src/components/sidebar/panels/SidebarImageFormatPanel.vue +37 -33
  55. package/src/composables/canvas/useCanvasCrop.ts +25 -2
  56. package/src/composables/sidebar/useSidebarElementTransform.ts +13 -7
  57. package/src/composables/useSlides.ts +141 -3
  58. package/src/configs/layoutLibrary.ts +113 -0
  59. package/src/style.css +107 -17
  60. package/src/utils/pptxAnimationInjector.ts +36 -4
  61. package/src/assets/chart/baseMap.png +0 -0
  62. package/src/assets/chart/boxplot.png +0 -0
@@ -565,6 +565,13 @@
565
565
  "unicode": "eab9",
566
566
  "unicode_decimal": 60089
567
567
  },
568
+ {
569
+ "icon_id": "48887123",
570
+ "name": "幻灯片放映-copy",
571
+ "font_class": "huandengpianfangying-copy",
572
+ "unicode": "eaff",
573
+ "unicode_decimal": 60159
574
+ },
568
575
  {
569
576
  "icon_id": "48352433",
570
577
  "name": "幻灯片放映",
@@ -0,0 +1,9 @@
1
+ <svg width="1009" height="538" viewBox="0 0 1009 538" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="1009" height="538" fill="url(#paint0_linear_9_17)"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear_9_17" x1="1009" y1="31.1796" x2="595.961" y2="841.7" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#A4A3A8"/>
6
+ <stop offset="1" stop-color="#B1B0B5"/>
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2901_346606)">
3
+ <path opacity="0.5" d="M0 0H1200V1200H0V0Z" fill="url(#paint0_linear_2901_346606)"/>
4
+ <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M522.249 512.022C522.249 465.945 557.112 428.592 600.117 428.592C643.123 428.592 677.986 465.945 677.986 512.022V539.832C677.986 585.91 643.123 623.263 600.117 623.263C557.112 623.263 522.249 585.91 522.249 539.832V512.022ZM699.98 767.757C726.49 767.735 745.997 745.088 729.407 724.411C703.995 692.738 655.217 663.826 600.167 663.826C545.084 663.826 496.232 692.912 470.802 724.696C454.241 745.395 473.741 768.036 500.25 768.015C534.116 767.987 567.533 767.936 600.891 767.885C633.854 767.834 666.758 767.784 699.98 767.757Z" fill="#0D0E13"/>
5
+ </g>
6
+ <defs>
7
+ <linearGradient id="paint0_linear_2901_346606" x1="1200" y1="69.5455" x2="62.5003" y2="1259.73" gradientUnits="userSpaceOnUse">
8
+ <stop stop-color="#A4A3A8"/>
9
+ <stop offset="1" stop-color="#B1B0B5"/>
10
+ </linearGradient>
11
+ <clipPath id="clip0_2901_346606">
12
+ <rect width="1200" height="1200" fill="white"/>
13
+ </clipPath>
14
+ </defs>
15
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="1200" height="740" viewBox="0 0 1200 740" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="1200" height="740" fill="url(#paint0_linear_1596_42591)" fill-opacity="0.5"/>
3
+ <path opacity="0.6" d="M264.263 285.67C269.32 280.777 277.347 280.777 282.405 285.67L291.767 294.726C294.66 297.524 298.681 298.832 302.666 298.268L315.563 296.443C322.531 295.458 329.025 300.176 330.241 307.107L332.491 319.937C333.186 323.901 335.673 327.323 339.227 329.209L350.733 335.313C356.95 338.611 359.43 346.246 356.34 352.568L350.62 364.27C348.853 367.886 348.853 372.115 350.62 375.73L356.34 387.432C359.43 393.755 356.95 401.389 350.733 404.687L339.227 410.793C335.673 412.679 333.186 416.099 332.491 420.063L330.241 432.893C329.025 439.824 322.531 444.543 315.563 443.557L302.666 441.733C298.681 441.169 294.66 442.476 291.767 445.274L282.405 454.331C277.347 459.224 269.32 459.224 264.263 454.331L254.9 445.274C252.008 442.476 247.986 441.169 244.002 441.733L231.104 443.557C224.137 444.543 217.643 439.824 216.427 432.893L214.177 420.063C213.481 416.099 210.995 412.679 207.44 410.793L195.934 404.687C189.718 401.389 187.237 393.755 190.328 387.432L196.049 375.73C197.816 372.115 197.816 367.886 196.049 364.27L190.328 352.568C187.237 346.246 189.718 338.611 195.934 335.313L207.44 329.209C210.995 327.323 213.481 323.901 214.177 319.937L216.427 307.107C217.643 300.176 224.137 295.458 231.104 296.443L244.002 298.268C247.986 298.832 252.008 297.524 254.9 294.726L264.263 285.67ZM605.21 288.241C619.573 288.241 632.593 291.366 644.269 297.618C655.946 303.818 665.22 312.988 672.092 325.13C678.963 337.219 682.398 352.1 682.398 369.769C682.398 387.439 678.963 402.345 672.092 414.486C665.22 426.576 655.946 435.746 644.269 441.998C632.593 448.198 619.573 451.298 605.21 451.298C590.744 451.297 577.672 448.172 565.996 441.921C554.371 435.617 545.123 426.42 538.252 414.331C531.432 402.189 528.021 387.336 528.021 369.769C528.021 352.1 531.432 337.219 538.252 325.13C545.123 312.988 554.371 303.818 565.996 297.618C577.672 291.366 590.744 288.241 605.21 288.241ZM772.667 288.241C782.07 288.241 790.801 289.584 798.861 292.27C806.973 294.905 814.128 298.677 820.328 303.586C826.58 308.442 831.617 314.203 835.44 320.868C839.263 327.533 841.588 334.843 842.415 342.799H798.861C798.19 340.061 797.13 337.659 795.683 335.592C794.237 333.474 792.429 331.691 790.259 330.245C788.14 328.747 785.661 327.636 782.819 326.913C780.029 326.138 776.955 325.75 773.597 325.75C766.363 325.75 760.189 327.48 755.074 330.942C750.011 334.404 746.137 339.39 743.45 345.9C740.815 352.41 739.497 360.263 739.497 369.46C739.497 378.759 740.763 386.716 743.295 393.329C745.826 399.942 749.598 405.005 754.609 408.518C759.621 412.032 765.847 413.789 773.287 413.789C779.848 413.789 785.299 412.832 789.639 410.921C794.03 409.009 797.311 406.297 799.481 402.784C801.532 399.463 802.613 395.588 802.725 391.159H773.906V360.469H844.275V382.479C844.275 396.945 841.201 409.319 835.053 419.6C828.956 429.83 820.534 437.683 809.788 443.16C799.093 448.585 786.823 451.298 772.976 451.298C757.529 451.298 743.966 448.017 732.29 441.456C720.613 434.894 711.494 425.542 704.932 413.401C698.423 401.26 695.168 386.818 695.168 370.079C695.168 356.956 697.157 345.331 701.136 335.205C705.166 325.078 710.745 316.527 717.875 309.552C725.005 302.526 733.246 297.231 742.597 293.666C751.949 290.049 761.972 288.241 772.667 288.241ZM934.389 288.241C948.751 288.241 961.771 291.366 973.447 297.618C985.123 303.818 994.398 312.988 1001.27 325.13C1008.14 337.219 1011.58 352.1 1011.58 369.769C1011.58 387.439 1008.14 402.345 1001.27 414.486C994.398 426.576 985.124 435.746 973.447 441.998C961.771 448.197 948.751 451.297 934.389 451.298C919.922 451.298 906.85 448.172 895.174 441.921C883.549 435.617 874.301 426.42 867.43 414.331C860.61 402.189 857.2 387.336 857.2 369.769C857.2 352.1 860.61 337.219 867.43 325.13C874.301 312.988 883.549 303.818 895.174 297.618C906.85 291.366 919.922 288.241 934.389 288.241ZM459.783 414.408H523.951V449.128H416.693V290.411H459.783V414.408ZM605.21 325.75C598.08 325.75 592.061 327.455 587.153 330.865C582.297 334.223 578.603 339.183 576.071 345.745C573.591 352.255 572.35 360.263 572.35 369.769C572.35 379.276 573.591 387.309 576.071 393.871C578.603 400.381 582.297 405.341 587.153 408.751C592.061 412.109 598.08 413.789 605.21 413.789C612.34 413.789 618.334 412.109 623.19 408.751C628.098 405.341 631.792 400.38 634.272 393.871C636.804 387.309 638.069 379.275 638.069 369.769C638.069 360.263 636.804 352.255 634.272 345.745C631.792 339.183 628.098 334.223 623.19 330.865C618.334 327.455 612.34 325.75 605.21 325.75ZM934.389 325.75C927.259 325.75 921.239 327.455 916.331 330.865C911.474 334.223 907.78 339.183 905.249 345.745C902.769 352.255 901.529 360.263 901.529 369.769C901.529 379.276 902.769 387.309 905.249 393.871C907.78 400.381 911.474 405.341 916.331 408.751C921.239 412.109 927.259 413.789 934.389 413.789C941.518 413.789 947.512 412.109 952.368 408.751C957.276 405.341 960.97 400.381 963.45 393.871C965.982 387.309 967.248 379.275 967.248 369.769C967.248 360.263 965.982 352.255 963.45 345.745C960.97 339.183 957.276 334.223 952.368 330.865C947.512 327.455 941.518 325.75 934.389 325.75Z" fill="#0D0E13"/>
4
+ <defs>
5
+ <linearGradient id="paint0_linear_1596_42591" x1="1200" y1="42.8865" x2="585.699" y2="1085.19" gradientUnits="userSpaceOnUse">
6
+ <stop stop-color="#A4A3A8"/>
7
+ <stop offset="1" stop-color="#B1B0B5"/>
8
+ </linearGradient>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="1920" height="1920" viewBox="0 0 1920 1920" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect opacity="0.5" width="1920" height="1920" fill="url(#paint0_linear_2901_346592)"/>
3
+ <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M1008 914.5C1008 924.441 999.941 932.5 990 932.5C980.059 932.5 972 924.441 972 914.5C972 904.559 980.059 896.5 990 896.5C999.941 896.5 1008 904.559 1008 914.5ZM931.012 939.961C933.388 936.408 938.612 936.408 940.988 939.961L967.539 979.678L985.246 956.676C987.647 953.556 992.353 953.556 994.754 956.676L1034.53 1008.34C1037.56 1012.29 1034.75 1018 1029.77 1018H981.929H950.229H890.071C885.275 1018 882.417 1012.65 885.083 1008.67L931.012 939.961Z" fill="#0D0E13"/>
4
+ <defs>
5
+ <linearGradient id="paint0_linear_2901_346592" x1="1920" y1="111.273" x2="100.001" y2="2015.57" gradientUnits="userSpaceOnUse">
6
+ <stop stop-color="#A4A3A8"/>
7
+ <stop offset="1" stop-color="#B1B0B5"/>
8
+ </linearGradient>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="1920" height="1920" viewBox="0 0 1920 1920" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2901_346620)">
3
+ <path opacity="0.5" d="M0 0H1920V1920H0V0Z" fill="url(#paint0_linear_2901_346620)"/>
4
+ <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M922.679 917.449C922.679 895.332 939.413 877.402 960.056 877.402C980.699 877.402 997.433 895.332 997.433 917.449V930.798C997.433 952.915 980.699 970.844 960.056 970.844C939.413 970.844 922.679 952.915 922.679 930.798V917.449ZM1007.99 1040.2C1020.71 1040.19 1030.08 1029.32 1022.12 1019.39C1009.92 1004.19 986.504 990.312 960.08 990.312C933.64 990.312 910.191 1004.27 897.985 1019.53C890.035 1029.47 899.395 1040.33 912.12 1040.32C928.377 1040.31 944.419 1040.29 960.432 1040.26C976.252 1040.24 992.045 1040.21 1007.99 1040.2Z" fill="#0D0E13"/>
5
+ </g>
6
+ <defs>
7
+ <linearGradient id="paint0_linear_2901_346620" x1="1920" y1="111.273" x2="100.001" y2="2015.57" gradientUnits="userSpaceOnUse">
8
+ <stop stop-color="#A4A3A8"/>
9
+ <stop offset="1" stop-color="#B1B0B5"/>
10
+ </linearGradient>
11
+ <clipPath id="clip0_2901_346620">
12
+ <rect width="1920" height="1920" fill="white"/>
13
+ </clipPath>
14
+ </defs>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2901_346613)">
3
+ <path opacity="0.5" d="M0 0H1200V1200H0V0Z" fill="url(#paint0_linear_2901_346613)"/>
4
+ <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M705.608 506.502C705.608 528.373 687.879 546.102 666.008 546.102C644.138 546.102 626.408 528.373 626.408 506.502C626.408 484.632 644.138 466.902 666.008 466.902C687.879 466.902 705.608 484.632 705.608 506.502ZM536.235 562.518C541.461 554.699 552.955 554.699 558.182 562.518L616.594 649.894L655.548 599.29C660.832 592.426 671.184 592.426 676.468 599.29L763.964 712.95C770.646 721.63 764.458 734.202 753.504 734.202H648.282C648.272 734.202 648.263 734.202 648.253 734.202L578.512 734.202L446.164 734.202C435.613 734.202 429.326 722.437 435.19 713.666L536.235 562.518Z" fill="#0D0E13"/>
5
+ </g>
6
+ <defs>
7
+ <linearGradient id="paint0_linear_2901_346613" x1="1200" y1="69.5455" x2="62.5003" y2="1259.73" gradientUnits="userSpaceOnUse">
8
+ <stop stop-color="#A4A3A8"/>
9
+ <stop offset="1" stop-color="#B1B0B5"/>
10
+ </linearGradient>
11
+ <clipPath id="clip0_2901_346613">
12
+ <rect width="1200" height="1200" fill="white"/>
13
+ </clipPath>
14
+ </defs>
15
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="1920" height="900" viewBox="0 0 1920 900" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect opacity="0.5" width="1920" height="900" fill="url(#paint0_linear_2901_346585)"/>
3
+ <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M984.003 427C984.003 431.971 979.974 436 975.003 436C970.032 436 966.003 431.971 966.003 427C966.003 422.029 970.032 418 975.003 418C979.974 418 984.003 422.029 984.003 427ZM945.509 439.731C946.697 437.954 949.309 437.954 950.497 439.731L963.772 459.589L972.626 448.088C973.827 446.528 976.179 446.528 977.38 448.088L997.266 473.92C998.784 475.893 997.378 478.75 994.888 478.75H970.968H955.118H925.038C922.64 478.75 921.212 476.076 922.544 474.083L945.509 439.731Z" fill="#0D0E13"/>
4
+ <defs>
5
+ <linearGradient id="paint0_linear_2901_346585" x1="1920" y1="52.1591" x2="1282.72" y2="1474.66" gradientUnits="userSpaceOnUse">
6
+ <stop stop-color="#A4A3A8"/>
7
+ <stop offset="1" stop-color="#B1B0B5"/>
8
+ </linearGradient>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="1000" height="1000" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2901_346599)">
3
+ <path opacity="0.5" d="M0 0H1000V1000H0V0Z" fill="url(#paint0_linear_2901_346599)"/>
4
+ <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M407.436 395.271C407.436 340.417 448.94 295.949 500.137 295.949C551.334 295.949 592.837 340.417 592.837 395.271V428.378C592.837 483.232 551.334 527.7 500.137 527.7C448.94 527.7 407.436 483.232 407.436 428.378V395.271ZM619.021 699.717C650.58 699.691 673.803 672.73 654.053 648.114C623.8 610.409 565.731 575.99 500.196 575.99C434.621 575.99 376.464 610.616 346.19 648.454C326.474 673.096 349.688 700.05 381.247 700.024C421.561 699.991 461.341 699.93 501.05 699.87C540.294 699.81 579.468 699.75 619.021 699.717Z" fill="#0D0E13"/>
5
+ </g>
6
+ <defs>
7
+ <linearGradient id="paint0_linear_2901_346599" x1="1000" y1="57.9546" x2="52.0836" y2="1049.78" gradientUnits="userSpaceOnUse">
8
+ <stop stop-color="#A4A3A8"/>
9
+ <stop offset="1" stop-color="#B1B0B5"/>
10
+ </linearGradient>
11
+ <clipPath id="clip0_2901_346599">
12
+ <rect width="1000" height="1000" fill="white"/>
13
+ </clipPath>
14
+ </defs>
15
+ </svg>