jvs-ppt-ui 0.0.22 → 0.0.24

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 (39) hide show
  1. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.css +260 -260
  2. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.js +1 -1
  3. package/dist/lib/jvs-ppt-ui/iconfont/iconfont.json +1 -1
  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.es.js +14195 -14181
  8. package/dist/lib/jvs-ppt-ui.umd.js +98 -98
  9. package/dist/lib/style.css +1 -1
  10. package/package.json +2 -2
  11. package/src/assets/iconfont/iconfont.css +260 -260
  12. package/src/assets/iconfont/iconfont.js +1 -1
  13. package/src/assets/iconfont/iconfont.json +1 -1
  14. package/src/assets/iconfont/iconfont.ttf +0 -0
  15. package/src/assets/iconfont/iconfont.woff +0 -0
  16. package/src/assets/iconfont/iconfont.woff2 +0 -0
  17. package/src/components/CanvasArea.vue +1 -0
  18. package/src/components/Header.vue +2 -2
  19. package/src/components/LayerButtons.vue +4 -4
  20. package/src/components/PptEditor.vue +9 -1
  21. package/src/components/QuickBorderPopover.vue +2 -2
  22. package/src/components/QuickColorPopover.vue +2 -2
  23. package/src/components/TemplateGallery.vue +10 -3
  24. package/src/components/Toolbar.vue +56 -56
  25. package/src/components/canvas/CanvasQuickToolbar.vue +33 -33
  26. package/src/components/material/CreateMaterialPanel.vue +1 -1
  27. package/src/components/material/MyAssetsPanel.vue +1 -1
  28. package/src/components/sidebar/common/SidebarBorderAccordion.vue +2 -2
  29. package/src/components/sidebar/common/SidebarPositionGroup.vue +6 -6
  30. package/src/components/sidebar/common/SidebarReflectionAccordion.vue +2 -2
  31. package/src/components/sidebar/common/SidebarShadowAccordion.vue +2 -2
  32. package/src/components/sidebar/panels/SidebarAnimationPanel.vue +30 -30
  33. package/src/components/sidebar/panels/SidebarChartFormatPanel.vue +12 -12
  34. package/src/components/sidebar/panels/SidebarImageFormatPanel.vue +4 -4
  35. package/src/components/sidebar/panels/SidebarMultiSelectPanel.vue +2 -2
  36. package/src/components/sidebar/panels/SidebarShapeFormatPanel.vue +4 -4
  37. package/src/components/sidebar/panels/SidebarTableFormatPanel.vue +2 -2
  38. package/src/components/sidebar/panels/SidebarTextFormatPanel.vue +17 -17
  39. package/src/components/sidebar/panels/SidebarTransitionPanel.vue +13 -13
@@ -227,7 +227,7 @@ function handleFpClick(el: any) {
227
227
  <div class="quick-toolbar-drag-handle" style="cursor: move;"
228
228
  @mousedown.stop="emit('startDrag', $event, selectedElement)">
229
229
  <svg viewBox="0 0 24 24" width="16" height="16">
230
- <use xlink:href="#icon-tuodong"></use>
230
+ <use xlink:href="#icon-ppt-tuodong"></use>
231
231
  </svg>
232
232
  </div>
233
233
 
@@ -239,7 +239,7 @@ function handleFpClick(el: any) {
239
239
  <button class="quick-toolbar-btn"
240
240
  style="display: flex; align-items: center; gap: 2px; padding: 0 4px; width: auto;" title="裁剪选项">
241
241
  <svg class="icon" style="width: 16px; height: 16px;">
242
- <use xlink:href="#icon-jiancai"></use>
242
+ <use xlink:href="#icon-ppt-jiancai"></use>
243
243
  </svg>
244
244
  <svg viewBox="0 0 24 24" width="8" height="8"
245
245
  style="fill: none; stroke: currentColor; stroke-width: 3; margin-left: 2px;">
@@ -410,13 +410,13 @@ function handleFpClick(el: any) {
410
410
 
411
411
  <button class="quick-toolbar-btn" @click="emit('resetCrop', selectedElement)" title="恢复原图">
412
412
  <svg class="icon" style="width: 16px; height: 16px;">
413
- <use xlink:href="#icon-huifuyuantu"></use>
413
+ <use xlink:href="#icon-ppt-huifuyuantu"></use>
414
414
  </svg>
415
415
  </button>
416
416
 
417
417
  <button class="quick-toolbar-btn" @click="emit('finishCrop')" title="完成剪裁">
418
418
  <svg class="icon" style="width: 16px; height: 16px;">
419
- <use xlink:href="#icon-wanchengjiancai"></use>
419
+ <use xlink:href="#icon-ppt-wanchengjiancai"></use>
420
420
  </svg>
421
421
  </button>
422
422
  </template>
@@ -429,7 +429,7 @@ function handleFpClick(el: any) {
429
429
  style="display: flex; align-items: center; gap: 2px; padding: 0 4px; width: auto;"
430
430
  @click="emit('replaceImage', selectedElement)" title="替换图片">
431
431
  <svg class="icon" style="width: 16px; height: 16px;">
432
- <use xlink:href="#icon-tupian"></use>
432
+ <use xlink:href="#icon-ppt-tupian"></use>
433
433
  </svg>
434
434
  <svg viewBox="0 0 24 24" width="8" height="8"
435
435
  style="fill: none; stroke: currentColor; stroke-width: 3; margin-left: 2px;">
@@ -443,24 +443,24 @@ function handleFpClick(el: any) {
443
443
  <template v-if="selectedElement.type === 'text' && selectedElement.content.includes('<table')">
444
444
  <button class="quick-toolbar-btn" @click="emit('equalizeColWidths', selectedElement)" title="等分列宽">
445
445
  <svg class="icon" style="width: 16px; height: 16px;">
446
- <use xlink:href="#icon-dengfenliekuan"></use>
446
+ <use xlink:href="#icon-ppt-dengfenliekuan"></use>
447
447
  </svg>
448
448
  </button>
449
449
  <button class="quick-toolbar-btn" @click="emit('equalizeRowHeights', selectedElement)" title="等分行高">
450
450
  <svg class="icon" style="width: 16px; height: 16px;">
451
- <use xlink:href="#icon-dengfenhanggao"></use>
451
+ <use xlink:href="#icon-ppt-dengfenhanggao"></use>
452
452
  </svg>
453
453
  </button>
454
454
  <button v-if="!(isSplitDisabled || false)" class="quick-toolbar-btn" @click="emit('splitCell', selectedElement)"
455
455
  title="拆分单元格">
456
456
  <svg class="icon" style="width: 16px; height: 16px;">
457
- <use xlink:href="#icon-chaifendanyuange"></use>
457
+ <use xlink:href="#icon-ppt-chaifendanyuange"></use>
458
458
  </svg>
459
459
  </button>
460
460
  <button v-else class="quick-toolbar-btn" :class="{ disabled: (selectedCellCount || 0) < 2 }"
461
461
  @click="emit('mergeCells', selectedElement)" title="合并单元格">
462
462
  <svg class="icon" style="width: 16px; height: 16px;">
463
- <use xlink:href="#icon-hebingdanyuange"></use>
463
+ <use xlink:href="#icon-ppt-hebingdanyuange"></use>
464
464
  </svg>
465
465
  </button>
466
466
  <div class="quick-toolbar-divider"></div>
@@ -819,7 +819,7 @@ function handleFpClick(el: any) {
819
819
  <!-- Group Button -->
820
820
  <button class="quick-toolbar-btn" title="组合 (Ctrl+G)" @click="emit('combine')">
821
821
  <svg class="icon" style="width: 16px; height: 16px;">
822
- <use xlink:href="#icon-bianzu"></use>
822
+ <use xlink:href="#icon-ppt-bianzu"></use>
823
823
  </svg>
824
824
  </button>
825
825
  </template>
@@ -828,7 +828,7 @@ function handleFpClick(el: any) {
828
828
  <template v-else-if="selectedElement && selectedElement.type === 'group'">
829
829
  <button class="quick-toolbar-btn" title="取消组合 (Ctrl+Shift+G)" @click="emit('uncombine')">
830
830
  <svg class="icon" style="width: 16px; height: 16px;">
831
- <use xlink:href="#icon-quxiaobianzu"></use>
831
+ <use xlink:href="#icon-ppt-quxiaobianzu"></use>
832
832
  </svg>
833
833
  </button>
834
834
  </template>
@@ -837,7 +837,7 @@ function handleFpClick(el: any) {
837
837
  <template v-if="selectedElement.type === 'image' && croppingElementId !== selectedElement.id">
838
838
  <button class="quick-toolbar-btn" @click="emit('toggleCropping')" title="裁剪">
839
839
  <svg class="icon" style="width: 16px; height: 16px;">
840
- <use xlink:href="#icon-jiancai"></use>
840
+ <use xlink:href="#icon-ppt-jiancai"></use>
841
841
  </svg>
842
842
  </button>
843
843
  </template>
@@ -880,7 +880,7 @@ function handleFpClick(el: any) {
880
880
  <button class="quick-toolbar-btn" title="对齐与样式"
881
881
  style="display: flex; align-items: center; gap: 2px; padding: 0 4px; width: auto;">
882
882
  <svg class="icon" style="width: 16px; height: 16px;">
883
- <use xlink:href="#icon-zitiyangshi"></use>
883
+ <use xlink:href="#icon-ppt-zitiyangshi"></use>
884
884
  </svg>
885
885
  <svg viewBox="0 0 24 24" width="8" height="8"
886
886
  style="fill: none; stroke: currentColor; stroke-width: 3; margin-left: 2px;">
@@ -896,7 +896,7 @@ function handleFpClick(el: any) {
896
896
  @click="emit('toggleBold', selectedElement)">
897
897
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
898
898
  <use
899
- :xlink:href="selectedElement.style.fontWeight === 'bold' ? '#icon-jiacu-xuanzhong' : '#icon-jiacu'">
899
+ :xlink:href="selectedElement.style.fontWeight === 'bold' ? '#icon-ppt-jiacu-xuanzhong' : '#icon-ppt-jiacu'">
900
900
  </use>
901
901
  </svg>
902
902
  </div>
@@ -904,7 +904,7 @@ function handleFpClick(el: any) {
904
904
  @click="emit('toggleItalic', selectedElement)">
905
905
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
906
906
  <use
907
- :xlink:href="selectedElement.style.fontStyle === 'italic' ? '#icon-qingxie-xuanzhong' : '#icon-qingxie'">
907
+ :xlink:href="selectedElement.style.fontStyle === 'italic' ? '#icon-ppt-qingxie-xuanzhong' : '#icon-ppt-qingxie'">
908
908
  </use>
909
909
  </svg>
910
910
  </div>
@@ -913,7 +913,7 @@ function handleFpClick(el: any) {
913
913
  @click="emit('toggleUnderline', selectedElement)">
914
914
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
915
915
  <use
916
- :xlink:href="(selectedElement.style.textDecoration || '').includes('underline') ? '#icon-xiahuaxian-xuanzhong' : '#icon-xiahuaxian'">
916
+ :xlink:href="(selectedElement.style.textDecoration || '').includes('underline') ? '#icon-ppt-xiahuaxian-xuanzhong' : '#icon-ppt-xiahuaxian'">
917
917
  </use>
918
918
  </svg>
919
919
  </div>
@@ -922,7 +922,7 @@ function handleFpClick(el: any) {
922
922
  @click="emit('toggleStrikethrough', selectedElement)">
923
923
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
924
924
  <use
925
- :xlink:href="(selectedElement.style.textDecoration || '').includes('line-through') ? '#icon-shanchuxian-xuanzhong' : '#icon-shanchuxian'">
925
+ :xlink:href="(selectedElement.style.textDecoration || '').includes('line-through') ? '#icon-ppt-shanchuxian-xuanzhong' : '#icon-ppt-shanchuxian'">
926
926
  </use>
927
927
  </svg>
928
928
  </div>
@@ -938,7 +938,7 @@ function handleFpClick(el: any) {
938
938
  title="左对齐" @click="emit('changeTextAlign', selectedElement, 'left')">
939
939
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
940
940
  <use
941
- :xlink:href="(selectedElement.style.textAlign === 'left' || (!selectedElement.style.textAlign && selectedElement.type !== 'shape')) ? '#icon-zuoduiqi-xuanzhong' : '#icon-zuoduiqi1'">
941
+ :xlink:href="(selectedElement.style.textAlign === 'left' || (!selectedElement.style.textAlign && selectedElement.type !== 'shape')) ? '#icon-ppt-zuoduiqi-xuanzhong' : '#icon-ppt-zuoduiqi1'">
942
942
  </use>
943
943
  </svg>
944
944
  </div>
@@ -947,7 +947,7 @@ function handleFpClick(el: any) {
947
947
  title="居中对齐" @click="emit('changeTextAlign', selectedElement, 'center')">
948
948
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
949
949
  <use
950
- :xlink:href="(selectedElement.style.textAlign === 'center' || (!selectedElement.style.textAlign && selectedElement.type === 'shape')) ? '#icon-juzhongduiqi-xuanzhong' : '#icon-juzhongduiqi'">
950
+ :xlink:href="(selectedElement.style.textAlign === 'center' || (!selectedElement.style.textAlign && selectedElement.type === 'shape')) ? '#icon-ppt-juzhongduiqi-xuanzhong' : '#icon-ppt-juzhongduiqi'">
951
951
  </use>
952
952
  </svg>
953
953
  </div>
@@ -955,20 +955,20 @@ function handleFpClick(el: any) {
955
955
  title="右对齐" @click="emit('changeTextAlign', selectedElement, 'right')">
956
956
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
957
957
  <use
958
- :xlink:href="selectedElement.style.textAlign === 'right' ? '#icon-youduiqi3-copy-copy' : '#icon-youduiqi3-copy'">
958
+ :xlink:href="selectedElement.style.textAlign === 'right' ? '#icon-ppt-youduiqi3-copy-copy' : '#icon-ppt-youduiqi3-copy'">
959
959
  </use>
960
960
  </svg>
961
961
  </div>
962
962
  <div class="font-action-btn-clean" :class="{ active: selectedElement.style.textAlign === 'justify' }"
963
963
  title="两端对齐" @click="emit('changeTextAlign', selectedElement, 'justify')">
964
964
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
965
- <use xlink:href="#icon-liangduanduiqi"></use>
965
+ <use xlink:href="#icon-ppt-liangduanduiqi"></use>
966
966
  </svg>
967
967
  </div>
968
968
  <div class="font-action-btn-clean" :class="{ active: selectedElement.style.textAlign === 'distribute' }"
969
969
  title="分散对齐" @click="emit('changeTextAlign', selectedElement, 'distribute')">
970
970
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
971
- <use xlink:href="#icon-fensanduiqi"></use>
971
+ <use xlink:href="#icon-ppt-fensanduiqi"></use>
972
972
  </svg>
973
973
  </div>
974
974
  </div>
@@ -980,7 +980,7 @@ function handleFpClick(el: any) {
980
980
  title="顶对齐" @click="emit('changeVerticalAlign', selectedElement, 'top')">
981
981
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
982
982
  <use
983
- :xlink:href="(selectedElement.style?.verticalAlign === 'top' || selectedElement.style?.verticalAlign === 'up') ? '#icon-dingduiqi-xuanzhong' : '#icon-dingduiqi1'">
983
+ :xlink:href="(selectedElement.style?.verticalAlign === 'top' || selectedElement.style?.verticalAlign === 'up') ? '#icon-ppt-dingduiqi-xuanzhong' : '#icon-ppt-dingduiqi1'">
984
984
  </use>
985
985
  </svg>
986
986
  </div>
@@ -989,7 +989,7 @@ function handleFpClick(el: any) {
989
989
  title="居中对齐" @click="emit('changeVerticalAlign', selectedElement, 'middle')">
990
990
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
991
991
  <use
992
- :xlink:href="(selectedElement.style?.verticalAlign === 'middle' || selectedElement.style?.verticalAlign === 'mid' || selectedElement.style?.verticalAlign === 'center' || !selectedElement.style?.verticalAlign) ? '#icon-chuizhiduiqi-xuanzhong' : '#icon-chuizhiduiqi'">
992
+ :xlink:href="(selectedElement.style?.verticalAlign === 'middle' || selectedElement.style?.verticalAlign === 'mid' || selectedElement.style?.verticalAlign === 'center' || !selectedElement.style?.verticalAlign) ? '#icon-ppt-chuizhiduiqi-xuanzhong' : '#icon-ppt-chuizhiduiqi'">
993
993
  </use>
994
994
  </svg>
995
995
  </div>
@@ -998,7 +998,7 @@ function handleFpClick(el: any) {
998
998
  title="底对齐" @click="emit('changeVerticalAlign', selectedElement, 'bottom')">
999
999
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
1000
1000
  <use
1001
- :xlink:href="(selectedElement.style?.verticalAlign === 'bottom' || selectedElement.style?.verticalAlign === 'down') ? '#icon-diduiqi1-copy' : '#icon-diduiqi1'">
1001
+ :xlink:href="(selectedElement.style?.verticalAlign === 'bottom' || selectedElement.style?.verticalAlign === 'down') ? '#icon-ppt-diduiqi1-copy' : '#icon-ppt-diduiqi1'">
1002
1002
  </use>
1003
1003
  </svg>
1004
1004
  </div>
@@ -1015,7 +1015,7 @@ function handleFpClick(el: any) {
1015
1015
  :class="{ 'panel-active': isQuickUlVisible || hasQuickUnorderedListHelper(selectedElement) }" title="无序列表"
1016
1016
  data-tooltip="无序列表">
1017
1017
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
1018
- <use xlink:href="#icon-wuxuliebiao"></use>
1018
+ <use xlink:href="#icon-ppt-wuxuliebiao"></use>
1019
1019
  </svg>
1020
1020
  </button>
1021
1021
  </template>
@@ -1080,7 +1080,7 @@ function handleFpClick(el: any) {
1080
1080
  :class="{ 'panel-active': isQuickOlVisible || hasQuickOrderedListHelper(selectedElement) }" title="有序列表"
1081
1081
  data-tooltip="有序列表">
1082
1082
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
1083
- <use xlink:href="#icon-youxuliebiao"></use>
1083
+ <use xlink:href="#icon-ppt-youxuliebiao"></use>
1084
1084
  </svg>
1085
1085
  </button>
1086
1086
  </template>
@@ -1149,7 +1149,7 @@ function handleFpClick(el: any) {
1149
1149
  @click.stop="handleFpClick(selectedElement)"
1150
1150
  title="格式刷(单击单次应用,双击连续应用,按 Esc 退出)">
1151
1151
  <svg class="icon" style="width: 16px; height: 16px;">
1152
- <use xlink:href="#icon-geshishua1"></use>
1152
+ <use xlink:href="#icon-ppt-geshishua1"></use>
1153
1153
  </svg>
1154
1154
  </button>
1155
1155
 
@@ -1159,32 +1159,32 @@ function handleFpClick(el: any) {
1159
1159
  <template #reference>
1160
1160
  <button class="quick-toolbar-btn" :class="{ 'panel-active': quickZIndexPopoverVisible }" title="层级">
1161
1161
  <svg class="icon" style="width: 16px; height: 16px;">
1162
- <use xlink:href="#icon-cengji"></use>
1162
+ <use xlink:href="#icon-ppt-cengji"></use>
1163
1163
  </svg>
1164
1164
  </button>
1165
1165
  </template>
1166
1166
  <div class="quick-z-index-menu">
1167
1167
  <div class="quick-z-index-item" @click="emit('adjustZIndex', 'forward'); quickZIndexPopoverVisible = false">
1168
1168
  <svg class="icon">
1169
- <use xlink:href="#icon-shangyiyiceng"></use>
1169
+ <use xlink:href="#icon-ppt-shangyiyiceng"></use>
1170
1170
  </svg>
1171
1171
  <span>上移一层</span>
1172
1172
  </div>
1173
1173
  <div class="quick-z-index-item" @click="emit('adjustZIndex', 'backward'); quickZIndexPopoverVisible = false">
1174
1174
  <svg class="icon">
1175
- <use xlink:href="#icon-xiayiyiceng"></use>
1175
+ <use xlink:href="#icon-ppt-xiayiyiceng"></use>
1176
1176
  </svg>
1177
1177
  <span>下移一层</span>
1178
1178
  </div>
1179
1179
  <div class="quick-z-index-item" @click="emit('adjustZIndex', 'front'); quickZIndexPopoverVisible = false">
1180
1180
  <svg class="icon">
1181
- <use xlink:href="#icon-zhiyudingceng"></use>
1181
+ <use xlink:href="#icon-ppt-zhiyudingceng"></use>
1182
1182
  </svg>
1183
1183
  <span>置于顶层</span>
1184
1184
  </div>
1185
1185
  <div class="quick-z-index-item" @click="emit('adjustZIndex', 'back'); quickZIndexPopoverVisible = false">
1186
1186
  <svg class="icon">
1187
- <use xlink:href="#icon-zhiyudiceng"></use>
1187
+ <use xlink:href="#icon-ppt-zhiyudiceng"></use>
1188
1188
  </svg>
1189
1189
  <span>置于底层</span>
1190
1190
  </div>
@@ -1174,7 +1174,7 @@ defineExpose({
1174
1174
  v-for="resItem in generatedResults"
1175
1175
  :key="resItem.id"
1176
1176
  class="result-card"
1177
- @click="emit('select', resItem)"
1177
+ @click.stop="emit('select', resItem)"
1178
1178
  >
1179
1179
  <VideoCoverThumb
1180
1180
  v-if="resItem.type === 'video'"
@@ -855,7 +855,7 @@ defineExpose({
855
855
  v-for="item in colItems"
856
856
  :key="item.id"
857
857
  class="mine-asset-card"
858
- @click="emit('select', item)"
858
+ @click.stop="emit('select', item)"
859
859
  >
860
860
  <VideoCoverThumb
861
861
  v-if="item.type === 'video'"
@@ -149,8 +149,8 @@ function onBorderWidthBlur(e: Event) {
149
149
  <span>边框</span>
150
150
  <span class="accordion-arrow">
151
151
  <svg class="icon" style="width: 14px; height: 14px;">
152
- <use :href="(isBorderEnabled && isBorderExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"
153
- :xlink:href="(isBorderEnabled && isBorderExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"></use>
152
+ <use :href="(isBorderEnabled && isBorderExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"
153
+ :xlink:href="(isBorderEnabled && isBorderExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"></use>
154
154
  </svg>
155
155
  </span>
156
156
  </span>
@@ -150,7 +150,7 @@ function onRotateBlur(e: Event) {
150
150
  :title="isFixedRatio ? '取消锁定宽高比' : '锁定宽高比'"
151
151
  @click="emit('update:isFixedRatio', !isFixedRatio)">
152
152
  <svg class="icon" style="width: 16px; height: 16px; fill: currentColor;">
153
- <use :xlink:href="isFixedRatio ? '#icon-suoding1' : '#icon-quxiaosuoding'"></use>
153
+ <use :xlink:href="isFixedRatio ? '#icon-ppt-suoding1' : '#icon-ppt-quxiaosuoding'"></use>
154
154
  </svg>
155
155
  </button>
156
156
  </div>
@@ -162,7 +162,7 @@ function onRotateBlur(e: Event) {
162
162
  <div v-if="showRotate" class="custom-num-input rotate-input-wrapper" @click="focusRotateInput">
163
163
  <span class="custom-num-prefix angle-prefix-icon">
164
164
  <svg class="icon" style="width: 14px; height: 14px; fill: currentColor;">
165
- <use xlink:href="#icon-jiaodu"></use>
165
+ <use xlink:href="#icon-ppt-jiaodu"></use>
166
166
  </svg>
167
167
  </span>
168
168
  <input
@@ -211,7 +211,7 @@ function onRotateBlur(e: Event) {
211
211
  <button type="button" class="pos-action-btn" :class="{ 'is-disabled': !canMoveUp }"
212
212
  :disabled="!canMoveUp" title="上移一层" @click="canMoveUp && emit('adjustZIndex', 'forward')">
213
213
  <svg class="icon" style="width: 16px; height: 16px;">
214
- <use :xlink:href="canMoveUp ? '#icon-shangyiyiceng' : '#icon-shangyiyiceng1'"></use>
214
+ <use :xlink:href="canMoveUp ? '#icon-ppt-shangyiyiceng' : '#icon-ppt-shangyiyiceng1'"></use>
215
215
  </svg>
216
216
  </button>
217
217
 
@@ -219,7 +219,7 @@ function onRotateBlur(e: Event) {
219
219
  <button type="button" class="pos-action-btn" :class="{ 'is-disabled': !canMoveDown }"
220
220
  :disabled="!canMoveDown" title="下移一层" @click="canMoveDown && emit('adjustZIndex', 'backward')">
221
221
  <svg class="icon" style="width: 16px; height: 16px;">
222
- <use :xlink:href="canMoveDown ? '#icon-xiayiyiceng' : '#icon-xiayiyiceng1'"></use>
222
+ <use :xlink:href="canMoveDown ? '#icon-ppt-xiayiyiceng' : '#icon-ppt-xiayiyiceng1'"></use>
223
223
  </svg>
224
224
  </button>
225
225
 
@@ -227,7 +227,7 @@ function onRotateBlur(e: Event) {
227
227
  <button type="button" class="pos-action-btn" :class="{ 'is-disabled': !canMoveTop }"
228
228
  :disabled="!canMoveTop" title="置于顶层" @click="canMoveTop && emit('adjustZIndex', 'front')">
229
229
  <svg class="icon" style="width: 16px; height: 16px;">
230
- <use :xlink:href="canMoveTop ? '#icon-zhiyudingceng' : '#icon-zhiyudingceng1'"></use>
230
+ <use :xlink:href="canMoveTop ? '#icon-ppt-zhiyudingceng' : '#icon-ppt-zhiyudingceng1'"></use>
231
231
  </svg>
232
232
  </button>
233
233
 
@@ -235,7 +235,7 @@ function onRotateBlur(e: Event) {
235
235
  <button type="button" class="pos-action-btn" :class="{ 'is-disabled': !canMoveBottom }"
236
236
  :disabled="!canMoveBottom" title="置于底层" @click="canMoveBottom && emit('adjustZIndex', 'back')">
237
237
  <svg class="icon" style="width: 16px; height: 16px;">
238
- <use :xlink:href="canMoveBottom ? '#icon-zhiyudiceng' : '#icon-zhiyudiceng1'"></use>
238
+ <use :xlink:href="canMoveBottom ? '#icon-ppt-zhiyudiceng' : '#icon-ppt-zhiyudiceng1'"></use>
239
239
  </svg>
240
240
  </button>
241
241
  </div>
@@ -150,8 +150,8 @@ function onOpacityBlur(e: Event) {
150
150
  <span>倒影</span>
151
151
  <span class="accordion-arrow">
152
152
  <svg class="icon" style="width: 14px; height: 14px;">
153
- <use :href="(enableReflection && isReflectionExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"
154
- :xlink:href="(enableReflection && isReflectionExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"></use>
153
+ <use :href="(enableReflection && isReflectionExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"
154
+ :xlink:href="(enableReflection && isReflectionExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"></use>
155
155
  </svg>
156
156
  </span>
157
157
  </span>
@@ -278,8 +278,8 @@ function onAlphaBlur(e: Event) {
278
278
  <span>阴影</span>
279
279
  <span class="accordion-arrow">
280
280
  <svg class="icon" style="width: 14px; height: 14px;">
281
- <use :href="(isShadowEnabled && isShadowExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"
282
- :xlink:href="(isShadowEnabled && isShadowExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"></use>
281
+ <use :href="(isShadowEnabled && isShadowExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"
282
+ :xlink:href="(isShadowEnabled && isShadowExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"></use>
283
283
  </svg>
284
284
  </span>
285
285
  </span>
@@ -276,42 +276,42 @@ const allSlideElements = animHook.allSlideElements
276
276
 
277
277
  const animationIconMap: Record<string, string> = {
278
278
  // 进入 (in)
279
- fadeIn: 'icon-jianbian-jinru',
280
- slideInUp: 'icon-feiru-jinru',
281
- bounceIn: 'icon-dantiao-jinru',
282
- zoomIn: 'icon-suofang-jinru',
283
- rotateIn: 'icon-xuanzhuan-jinru',
284
- flipInX: 'icon-fanzhuan-jinru',
285
- backInUp: 'icon-fangdahuaru-jinru',
286
- lightSpeedInRight: 'icon-guangsufeiru-jinru',
279
+ fadeIn: 'icon-ppt-jianbian-jinru',
280
+ slideInUp: 'icon-ppt-feiru-jinru',
281
+ bounceIn: 'icon-ppt-dantiao-jinru',
282
+ zoomIn: 'icon-ppt-suofang-jinru',
283
+ rotateIn: 'icon-ppt-xuanzhuan-jinru',
284
+ flipInX: 'icon-ppt-fanzhuan-jinru',
285
+ backInUp: 'icon-ppt-fangdahuaru-jinru',
286
+ lightSpeedInRight: 'icon-ppt-guangsufeiru-jinru',
287
287
 
288
288
  // 退出 (out)
289
- fadeOut: 'icon-jianbian-tuichu',
290
- slideOutDown: 'icon-feichu-tuichu',
291
- bounceOut: 'icon-dantiao-tuichu',
292
- zoomOut: 'icon-suofang-tuichu',
293
- rotateOut: 'icon-xuanzhuan-tuichu',
294
- flipOutX: 'icon-fanzhuan-tuichu',
295
- backOutDown: 'icon-suoxiaohuachu-tuichu',
296
- lightSpeedOutRight: 'icon-guangsufeichu-tuichu',
289
+ fadeOut: 'icon-ppt-jianbian-tuichu',
290
+ slideOutDown: 'icon-ppt-feichu-tuichu',
291
+ bounceOut: 'icon-ppt-dantiao-tuichu',
292
+ zoomOut: 'icon-ppt-suofang-tuichu',
293
+ rotateOut: 'icon-ppt-xuanzhuan-tuichu',
294
+ flipOutX: 'icon-ppt-fanzhuan-tuichu',
295
+ backOutDown: 'icon-ppt-suoxiaohuachu-tuichu',
296
+ lightSpeedOutRight: 'icon-ppt-guangsufeichu-tuichu',
297
297
 
298
298
  // 强调 (attention)
299
- shakeX: 'icon-zuoyouyaohuang-qiangtiao',
300
- shakeY: 'icon-shangxiayaohuang-qiangtiao',
301
- headShake: 'icon-yaotou-qiangtiao',
302
- swing: 'icon-baidong-qiangtiao',
303
- wobble: 'icon-huangdong-qiangtiao',
304
- tada: 'icon-jingkong-qiangtiao',
305
- jello: 'icon-guodong-qiangtiao',
306
- bounce: 'icon-dantiao-qiangtiao',
307
- flash: 'icon-shanshuo-qiangtiao',
308
- pulse: 'icon-maibo-qiangtiao',
309
- rubberBand: 'icon-xiangpijin-qiangtiao',
310
- heartBeat: 'icon-a-xintiaokuai-qiangtiao'
299
+ shakeX: 'icon-ppt-zuoyouyaohuang-qiangtiao',
300
+ shakeY: 'icon-ppt-shangxiayaohuang-qiangtiao',
301
+ headShake: 'icon-ppt-yaotou-qiangtiao',
302
+ swing: 'icon-ppt-baidong-qiangtiao',
303
+ wobble: 'icon-ppt-huangdong-qiangtiao',
304
+ tada: 'icon-ppt-jingkong-qiangtiao',
305
+ jello: 'icon-ppt-guodong-qiangtiao',
306
+ bounce: 'icon-ppt-dantiao-qiangtiao',
307
+ flash: 'icon-ppt-shanshuo-qiangtiao',
308
+ pulse: 'icon-ppt-maibo-qiangtiao',
309
+ rubberBand: 'icon-ppt-xiangpijin-qiangtiao',
310
+ heartBeat: 'icon-ppt-a-xintiaokuai-qiangtiao'
311
311
  }
312
312
 
313
313
  function getAnimationIcon(val: string): string {
314
- return animationIconMap[val] || 'icon-donghua'
314
+ return animationIconMap[val] || 'icon-ppt-donghua'
315
315
  }
316
316
 
317
317
  function getEffectsForType(type: 'in' | 'out' | 'attention') {
@@ -439,7 +439,7 @@ const currentTabAnimations = computed(() => {
439
439
  :style="{ color: anim.type === 'in' ? '#34c759' : (anim.type === 'out' ? '#ff2d55' : '#f59e0b') }">
440
440
  <svg class="icon" aria-hidden="true" width="16" height="16" fill="currentColor">
441
441
  <use
442
- :xlink:href="`#${anim.type === 'in' ? 'icon-jinrudonghua' : (anim.type === 'out' ? 'icon-tuichudonghua' : 'icon-qiangtiaodonghua')}`" />
442
+ :xlink:href="`#${anim.type === 'in' ? 'icon-ppt-jinrudonghua' : (anim.type === 'out' ? 'icon-ppt-tuichudonghua' : 'icon-ppt-qiangtiaodonghua')}`" />
443
443
  </svg>
444
444
  </span>
445
445
  <span class="animation-seq-name-text">
@@ -118,18 +118,18 @@ const legendPositions = [
118
118
  ]
119
119
 
120
120
  const legendIcons: Record<string, string> = {
121
- 'top-left': 'icon-a-zu9437',
122
- 'top': 'icon-a-zu9436',
123
- 'top-right': 'icon-a-zu9435',
124
- 'bottom-left': 'icon-a-zu9440',
125
- 'bottom': 'icon-a-zu9439',
126
- 'bottom-right': 'icon-a-zu9438',
127
- 'right-top': 'icon-a-zu9432',
128
- 'right': 'icon-a-zu9433',
129
- 'right-bottom': 'icon-a-zu9434',
130
- 'left-top': 'icon-a-zu9429',
131
- 'left': 'icon-a-zu9430',
132
- 'left-bottom': 'icon-a-zu9431'
121
+ 'top-left': 'icon-ppt-a-zu9437',
122
+ 'top': 'icon-ppt-a-zu9436',
123
+ 'top-right': 'icon-ppt-a-zu9435',
124
+ 'bottom-left': 'icon-ppt-a-zu9440',
125
+ 'bottom': 'icon-ppt-a-zu9439',
126
+ 'bottom-right': 'icon-ppt-a-zu9438',
127
+ 'right-top': 'icon-ppt-a-zu9432',
128
+ 'right': 'icon-ppt-a-zu9433',
129
+ 'right-bottom': 'icon-ppt-a-zu9434',
130
+ 'left-top': 'icon-ppt-a-zu9429',
131
+ 'left': 'icon-ppt-a-zu9430',
132
+ 'left-bottom': 'icon-ppt-a-zu9431'
133
133
  }
134
134
 
135
135
  function getChartTypeName(type: string | undefined): string {
@@ -310,7 +310,7 @@ function applyPresetFilter(values: Record<string, string>) {
310
310
  <button class="crop-split-btn-left" :class="{ 'active-crop': croppingElementId === element?.id }"
311
311
  @click.stop="emit('toggleCrop')">
312
312
  <svg class="icon" style="width: 14px; height: 14px; margin-right: 2px;">
313
- <use xlink:href="#icon-a-jiancai1"></use>
313
+ <use xlink:href="#icon-ppt-a-jiancai1"></use>
314
314
  </svg>
315
315
  <span>剪裁</span>
316
316
  </button>
@@ -358,7 +358,7 @@ function applyPresetFilter(values: Record<string, string>) {
358
358
  style="width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; height: 32px; cursor: pointer; border-radius: 4px; border: 1px solid var(--border-color, #e2e8f0); box-sizing: border-box; background: var(--bg-surface, #ffffff);"
359
359
  @click="emit('replaceImage')">
360
360
  <svg class="icon" style="width: 14px; height: 14px;">
361
- <use xlink:href="#icon-tihuantupian"></use>
361
+ <use xlink:href="#icon-ppt-tihuantupian"></use>
362
362
  </svg>
363
363
  <span>替换图片</span>
364
364
  </button>
@@ -371,7 +371,7 @@ function applyPresetFilter(values: Record<string, string>) {
371
371
  style="width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; height: 32px; cursor: pointer; border-radius: 4px; border: 1px solid var(--border-color, #e2e8f0); box-sizing: border-box; background: var(--bg-surface, #ffffff);"
372
372
  @click="emit('resetImageStyle')">
373
373
  <svg class="icon" style="width: 14px; height: 14px;">
374
- <use xlink:href="#icon-zhongzhiyangshi"></use>
374
+ <use xlink:href="#icon-ppt-zhongzhiyangshi"></use>
375
375
  </svg>
376
376
  <span>重置样式</span>
377
377
  </button>
@@ -381,7 +381,7 @@ function applyPresetFilter(values: Record<string, string>) {
381
381
  style="width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; height: 32px; cursor: pointer; border-radius: 4px; border: 1px solid var(--border-color, #e2e8f0); box-sizing: border-box; background: var(--bg-surface, #ffffff);"
382
382
  @click="emit('setAsBackground')">
383
383
  <svg class="icon" style="width: 14px; height: 14px;">
384
- <use xlink:href="#icon-sheweibeijing"></use>
384
+ <use xlink:href="#icon-ppt-sheweibeijing"></use>
385
385
  </svg>
386
386
  <span>设为背景</span>
387
387
  </button>
@@ -128,11 +128,11 @@ const emit = defineEmits<{
128
128
  <!-- Grouping Block -->
129
129
  <div style="padding: 0 16px; margin-top: 8px; display: flex; gap: 8px;">
130
130
  <button class="group-action-btn" :disabled="!canGroup" @click="emit('createGroup')" style="flex: 1;">
131
- <svg class="icon" style="width: 14px; height: 14px;"><use xlink:href="#icon-bianzu"></use></svg>
131
+ <svg class="icon" style="width: 14px; height: 14px;"><use xlink:href="#icon-ppt-bianzu"></use></svg>
132
132
  <span>组合</span>
133
133
  </button>
134
134
  <button class="group-action-btn" :disabled="!canUngroup" @click="emit('unGroup')" style="flex: 1;">
135
- <svg class="icon" style="width: 14px; height: 14px;"><use xlink:href="#icon-quxiaobianzu"></use></svg>
135
+ <svg class="icon" style="width: 14px; height: 14px;"><use xlink:href="#icon-ppt-quxiaobianzu"></use></svg>
136
136
  <span>取消组合</span>
137
137
  </button>
138
138
  </div>
@@ -481,14 +481,14 @@ function onSelectFillColor(color: string) {
481
481
  <button v-if="isMultiSelect" class="group-action-btn" :disabled="!canGroup" @click="emit('createGroup')"
482
482
  style="flex: 1;">
483
483
  <svg class="icon" style="width: 14px; height: 14px;">
484
- <use xlink:href="#icon-bianzu"></use>
484
+ <use xlink:href="#icon-ppt-bianzu"></use>
485
485
  </svg>
486
486
  <span>组合</span>
487
487
  </button>
488
488
  <button v-if="isGroup || isMultiSelect" class="group-action-btn" :disabled="!canUngroup" @click="emit('unGroup')"
489
489
  style="flex: 1;">
490
490
  <svg class="icon" style="width: 14px; height: 14px;">
491
- <use xlink:href="#icon-quxiaobianzu"></use>
491
+ <use xlink:href="#icon-ppt-quxiaobianzu"></use>
492
492
  </svg>
493
493
  <span>取消组合</span>
494
494
  </button>
@@ -591,8 +591,8 @@ function onSelectFillColor(color: string) {
591
591
  <span>{{ isImgPh ? '占位底色' : '填充' }}</span>
592
592
  <span class="accordion-arrow">
593
593
  <svg class="icon" style="width: 14px; height: 14px;">
594
- <use :href="(isFillEnabled && isFillExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"
595
- :xlink:href="(isFillEnabled && isFillExpanded) ? '#icon-xiala-zhankai' : '#icon-xiala-shouqi'"></use>
594
+ <use :href="(isFillEnabled && isFillExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"
595
+ :xlink:href="(isFillEnabled && isFillExpanded) ? '#icon-ppt-xiala-zhankai' : '#icon-ppt-xiala-shouqi'"></use>
596
596
  </svg>
597
597
  </span>
598
598
  </span>
@@ -282,7 +282,7 @@ function applyTheme(theme: any) {
282
282
  <button @click="emit('equalizeRowHeights')" title="等分行高"
283
283
  style="width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 4px; background: #F5F6F7; cursor: pointer; color: var(--text-primary);">
284
284
  <svg class="icon" style="width: 16px; height: 16px;">
285
- <use xlink:href="#icon-dengfenhanggao"></use>
285
+ <use xlink:href="#icon-ppt-dengfenhanggao"></use>
286
286
  </svg>
287
287
  </button>
288
288
  </div>
@@ -304,7 +304,7 @@ function applyTheme(theme: any) {
304
304
  <button @click="emit('equalizeColWidths')" title="等分列宽"
305
305
  style="width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 4px; background: #F5F6F7; cursor: pointer; color: var(--text-primary);">
306
306
  <svg class="icon" style="width: 16px; height: 16px;">
307
- <use xlink:href="#icon-dengfenliekuan"></use>
307
+ <use xlink:href="#icon-ppt-dengfenliekuan"></use>
308
308
  </svg>
309
309
  </button>
310
310
  </div>