hy-dispatch-ui-v3 0.2.30 → 0.2.32

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 (54) hide show
  1. package/dist/tailwind.css +8 -8
  2. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +7 -7
  3. package/es/components/hyAudioPlayer/js/index.mjs +3 -3
  4. package/es/components/hyButton/button.vue.mjs +112 -65
  5. package/es/components/hyButton/style/button.scss +282 -237
  6. package/es/components/hyForm/index.mjs +1 -1
  7. package/es/components/hyForm/js/useAppForm.mjs +1 -2
  8. package/es/components/hyIcon/style/icon.scss +6 -0
  9. package/es/components/hyMenu/menu.vue.mjs +1 -1
  10. package/es/components/hyMenu/style/menu.scss +1 -1
  11. package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -1
  12. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -1
  13. package/es/components/hySearch/index.mjs +1 -1
  14. package/es/components/hyTable/cpns/virtualTable.vue.mjs +331 -319
  15. package/es/components/hyTable/js/index.mjs +7 -3
  16. package/es/components/hyTable/js/useAppTable.mjs +1 -1
  17. package/es/components/hyTable/table.vue.mjs +11 -7
  18. package/es/components/hyTree/tree.vue.mjs +6 -7
  19. package/es/components/hyUserAvatar/userAvatar.vue.mjs +2 -2
  20. package/es/components/hyVideoPlayer/js/index.mjs +3 -3
  21. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +11 -11
  22. package/es/components/index.mjs +2 -2
  23. package/es/index.mjs +2 -2
  24. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-map-treelist.js +8 -0
  25. package/es/static/hy-svg-icons/hy-icon-dispatch-share-guidao.js +8 -0
  26. package/es/utils/handler.mjs +4 -4
  27. package/es/version.mjs +1 -1
  28. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +7 -7
  29. package/lib/components/hyAudioPlayer/js/index.js +3 -3
  30. package/lib/components/hyButton/button.vue.js +111 -64
  31. package/lib/components/hyButton/style/button.scss +282 -237
  32. package/lib/components/hyForm/index.js +1 -0
  33. package/lib/components/hyForm/js/useAppForm.js +1 -2
  34. package/lib/components/hyIcon/style/icon.scss +6 -0
  35. package/lib/components/hyMenu/menu.vue.js +1 -1
  36. package/lib/components/hyMenu/style/menu.scss +1 -1
  37. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -1
  38. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -1
  39. package/lib/components/hySearch/index.js +1 -0
  40. package/lib/components/hyTable/cpns/virtualTable.vue.js +329 -317
  41. package/lib/components/hyTable/js/index.js +7 -3
  42. package/lib/components/hyTable/js/useAppTable.js +1 -1
  43. package/lib/components/hyTable/table.vue.js +11 -7
  44. package/lib/components/hyTree/tree.vue.js +5 -6
  45. package/lib/components/hyUserAvatar/userAvatar.vue.js +2 -2
  46. package/lib/components/hyVideoPlayer/js/index.js +3 -3
  47. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +11 -11
  48. package/lib/components/index.js +2 -0
  49. package/lib/index.js +2 -0
  50. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-map-treelist.js +8 -0
  51. package/lib/static/hy-svg-icons/hy-icon-dispatch-share-guidao.js +8 -0
  52. package/lib/utils/handler.js +4 -4
  53. package/lib/version.js +1 -1
  54. package/package.json +1 -1
@@ -261,9 +261,7 @@ const useAppTableWrapper = (hy) => {
261
261
  async function onTableRowClickHandler(row) {
262
262
  emits("row-click", row);
263
263
  if (props.rowClickExpand) {
264
- if (tableColumns.value.some((column) => column.type === "expand")) {
265
- tableRef.value.toggleRowExpansion(row);
266
- }
264
+ toggleRowExpansion(row);
267
265
  }
268
266
  if (props.rowClickSelect && isSelectable(row)) {
269
267
  if (tableColumns.value.some((column) => column.type === "selection")) {
@@ -311,6 +309,11 @@ const useAppTableWrapper = (hy) => {
311
309
  }
312
310
  return className.filter(Boolean).join(" ");
313
311
  }
312
+ function toggleRowExpansion(row) {
313
+ if (tableRef.value && tableColumns.value.some((column) => column.type === "expand")) {
314
+ tableRef.value.toggleRowExpansion(row);
315
+ }
316
+ }
314
317
  const isSearchFocus = ref(false);
315
318
  function onSearchInputHandler() {
316
319
  isSearchFocus.value = true;
@@ -347,6 +350,7 @@ const useAppTableWrapper = (hy) => {
347
350
  getSelectedList,
348
351
  clearSelection,
349
352
  clearSelectedList,
353
+ toggleRowExpansion,
350
354
  onTableSelectHandler,
351
355
  onTableRowContextmenuHandler,
352
356
  onTableRowClickHandler,
@@ -58,7 +58,7 @@ function getColumnEditable(column, index) {
58
58
  };
59
59
  }
60
60
  return {
61
- index,
61
+ index: type === "operator" ? 1e3 : index,
62
62
  lock: false,
63
63
  edit: !type || type === "default",
64
64
  checked: !type || type !== "default" || type === "operator",
@@ -207,6 +207,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
207
207
  setTableRowClassName,
208
208
  clearSelection,
209
209
  clearSelectedList,
210
+ toggleRowExpansion,
210
211
  onTableRowClickHandler,
211
212
  onTableRowContextmenuHandler,
212
213
  onTableSelectHandler,
@@ -249,7 +250,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
249
250
  getTotalElements,
250
251
  getTableDataSource,
251
252
  clearSelection,
252
- clearSelectedList
253
+ clearSelectedList,
254
+ toggleRowExpansion
253
255
  });
254
256
  return (_ctx, _cache) => {
255
257
  return openBlock(), createElementBlock(
@@ -397,7 +399,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
397
399
  __props.type === "default" ? (openBlock(), createBlock(unref(ElTable), mergeProps({
398
400
  key: 0,
399
401
  ref_key: "tableRef",
400
- ref: tableRef,
402
+ ref: tableRef
403
+ }, _ctx.$attrs, {
401
404
  "row-key": unref(getRowKey),
402
405
  data: unref(tableDataSource),
403
406
  "show-header": __props.showHeader,
@@ -411,7 +414,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
411
414
  onSelectAll: unref(onTableSelectHandler),
412
415
  onRowClick: unref(onTableRowClickHandler),
413
416
  onRowContextmenu: unref(onTableRowContextmenuHandler)
414
- }, _ctx.$attrs), {
417
+ }), {
415
418
  empty: withCtx(() => [
416
419
  renderSlot(_ctx.$slots, "empty", {}, () => [
417
420
  createElementVNode(
@@ -656,10 +659,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
656
659
  default: withCtx(({ height, width }) => [
657
660
  createVNode(_sfc_main$3, mergeProps({
658
661
  ref_key: "tableRef",
659
- ref: tableRef,
662
+ ref: tableRef
663
+ }, _ctx.$attrs, {
660
664
  width,
661
665
  height,
662
- "row-key": __props.rowKey,
663
666
  data: unref(tableDataSource),
664
667
  columns: unref(tableColumnsList),
665
668
  "columns-editable": unref(tableColumnsEditablele),
@@ -669,13 +672,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
669
672
  style: {
670
673
  "font-size": `${unref(parseRem)(__props.fontSize)}rem`
671
674
  },
675
+ "row-key": __props.rowKey,
672
676
  "filter-model": __props.filterModel,
673
677
  onSearch: ($event) => unref(getData)(1),
674
678
  onSelect: unref(onTableSelectHandler),
675
679
  onSelectAll: unref(onTableSelectHandler),
676
680
  onRowClick: unref(onTableRowClickHandler),
677
681
  onRowContextmenu: unref(onTableRowContextmenuHandler)
678
- }, _ctx.$attrs), createSlots({
682
+ }), createSlots({
679
683
  empty: withCtx(() => [
680
684
  createElementVNode("div", { class: "w-full h-full flex items-center justify-center border-b border-border" }, [
681
685
  renderSlot(_ctx.$slots, "empty", {}, () => [
@@ -700,7 +704,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
700
704
  ])
701
705
  };
702
706
  })
703
- ]), 1040, ["width", "height", "row-key", "data", "columns", "columns-editable", "show-header", "row-class-name", "show-all-select", "style", "filter-model", "onSearch", "onSelect", "onSelectAll", "onRowClick", "onRowContextmenu"])
707
+ ]), 1040, ["width", "height", "data", "columns", "columns-editable", "show-header", "row-class-name", "show-all-select", "style", "row-key", "filter-model", "onSearch", "onSelect", "onSelectAll", "onRowClick", "onRowContextmenu"])
704
708
  ]),
705
709
  _: 3
706
710
  /* FORWARDED */
@@ -1,4 +1,4 @@
1
- import { defineComponent, useSlots, ref, onMounted, resolveComponent, openBlock, createElementBlock, normalizeStyle, unref, createVNode, withCtx, createElementVNode, isRef, withKeys, Fragment, renderList, createBlock, createCommentVNode, renderSlot } from 'vue';
1
+ import { defineComponent, useSlots, ref, onMounted, openBlock, createElementBlock, normalizeStyle, unref, createVNode, withCtx, createElementVNode, isRef, withKeys, Fragment, renderList, createBlock, createCommentVNode, renderSlot } from 'vue';
2
2
  import { ElTooltip, ElInput, ElSelect, ElOption } from 'element-plus';
3
3
  import { VirtualTree } from 'hy-virtual-tree';
4
4
  import { useAppTreeWrapper } from './js/index.mjs';
@@ -177,7 +177,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
177
177
  getSelectedDataList
178
178
  });
179
179
  return (_ctx, _cache) => {
180
- const _component_svg_icon = resolveComponent("svg-icon");
181
180
  return openBlock(), createElementBlock(
182
181
  "div",
183
182
  {
@@ -206,11 +205,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
206
205
  placeholder: __props.placeholder
207
206
  }, null, 8, ["onClear", "onKeyup", "modelValue", "onUpdate:modelValue", "placeholder"]),
208
207
  createElementVNode("div", {
209
- class: "searchBox flex-shrink-0",
208
+ class: "searchBox flex-shrink-0 text-main",
210
209
  onClick: ($event) => unref(refreshData)()
211
210
  }, [
212
211
  createVNode(unref(HyIcon), {
213
- "svg-name": "search",
212
+ "svg-name": "dispatch-share-v3-base-search",
214
213
  "class-name": "w-[16px] h-[16px]"
215
214
  })
216
215
  ], 8, ["onClick"])
@@ -269,11 +268,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
269
268
  }, null, 8, ["onClear", "onKeyup", "modelValue", "onUpdate:modelValue", "placeholder"])
270
269
  ]),
271
270
  createElementVNode("div", {
272
- class: "searchBox centerBox flex-shrink-0 flex ml-1",
271
+ class: "searchBox centerBox flex-shrink-0 flex ml-1 text-main",
273
272
  onClick: ($event) => unref(refreshData)()
274
273
  }, [
275
- createVNode(_component_svg_icon, {
276
- "svg-name": "search",
274
+ createVNode(unref(HyIcon), {
275
+ "svg-name": "dispatch-share-v3-base-search",
277
276
  className: "svgBox"
278
277
  })
279
278
  ], 8, ["onClick"])
@@ -14,13 +14,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
14
14
  initSelectSvgName: {
15
15
  type: String,
16
16
  default: () => {
17
- return "user_online-2";
17
+ return "dispatch-share1-user-online-2";
18
18
  }
19
19
  },
20
20
  initSvgName: {
21
21
  type: String,
22
22
  default: () => {
23
- return "user_offline-2";
23
+ return "dispatch-share1-user-offline-2";
24
24
  }
25
25
  },
26
26
  device: Object,
@@ -36,17 +36,17 @@ const useVideoPlayer = (hy) => {
36
36
  {
37
37
  value: 1,
38
38
  label: t("videoPlayer.stopAfterPlayback"),
39
- svgName: "player-mediaCenter_stopPlaying"
39
+ svgName: "ops-audio-media-center-stop-playing"
40
40
  },
41
41
  {
42
42
  value: 2,
43
43
  label: t("videoPlayer.continuousPlayback"),
44
- svgName: "player-mediaCenter_autoplay"
44
+ svgName: "ops-audio-media-center-autoplay"
45
45
  },
46
46
  {
47
47
  value: 3,
48
48
  label: t("videoPlayer.loopPlayback"),
49
- svgName: "player-mediaCenter_loopPlayback"
49
+ svgName: "ops-audio-media-center-loop-playback"
50
50
  }
51
51
  ];
52
52
  const isAnalyseType = computed(() => {
@@ -233,7 +233,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
233
233
  createElementVNode("div", { class: "w-[54px] h-[54px] rounded-full border-[2px] border-dangerv2 flex justify-center items-center shadow-[0px_0px_10px_2px_var(--dangerv2)]" }, [
234
234
  createElementVNode("div", { class: "w-[42px] h-[42px] rounded-full border-[1px] border-dashed border-dangerv2 flex justify-center items-center" }, [
235
235
  createVNode(unref(HyIcon), {
236
- "svg-name": "player-icon_brokLink",
236
+ "svg-name": "ops-button-icon-brok-link",
237
237
  class: "!w-[24px] !h-[24px] text-dangerv2"
238
238
  })
239
239
  ])
@@ -336,7 +336,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
336
336
  onClick: unref(playPrevious)
337
337
  }, [
338
338
  createVNode(unref(HyIcon), {
339
- "svg-name": "player--previous",
339
+ "svg-name": "ops-audio-audio-previous-btn",
340
340
  className: "!w-3 !h-3 text-main"
341
341
  })
342
342
  ], 8, ["onClick"])
@@ -357,7 +357,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
357
357
  onClick: unref(playNext)
358
358
  }, [
359
359
  createVNode(unref(HyIcon), {
360
- "svg-name": "player--next",
360
+ "svg-name": "dispatch-share1-v3-ai-interpretation-next",
361
361
  className: "!w-3 !h-3 text-main"
362
362
  })
363
363
  ], 8, ["onClick"])
@@ -439,7 +439,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
439
439
  [
440
440
  createElementVNode("div", { onClick: unref(playPrevious) }, [
441
441
  createVNode(unref(HyIcon), {
442
- "svg-name": unref(isAnalyseType) ? "player--interpretation-last" : "player-audio_previous-btn",
442
+ "svg-name": unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-last" : "ops-audio-audio-previous-btn",
443
443
  "class-name": "last-icon"
444
444
  }, null, 8, ["svg-name"])
445
445
  ], 8, ["onClick"]),
@@ -447,17 +447,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
447
447
  key: 0,
448
448
  onClick: ($event) => unref(playVideo)(unref(videoUrl))
449
449
  }, [
450
- createVNode(unref(HyIcon), { "svg-name": "player-audio_play-btn" })
450
+ createVNode(unref(HyIcon), { "svg-name": "ops-audio-audio-play-btn" })
451
451
  ], 8, ["onClick"])) : createCommentVNode("v-if", true),
452
452
  unref(videoState) === "PLAYING" ? (openBlock(), createElementBlock("div", {
453
453
  key: 1,
454
454
  onClick: unref(pauseVideo)
455
455
  }, [
456
- createVNode(unref(HyIcon), { "svg-name": "player-audio_pause-btn" })
456
+ createVNode(unref(HyIcon), { "svg-name": "ops-audio-audio-pause-btn" })
457
457
  ], 8, ["onClick"])) : createCommentVNode("v-if", true),
458
458
  createElementVNode("div", { onClick: unref(playNext) }, [
459
459
  createVNode(unref(HyIcon), {
460
- "svg-name": unref(isAnalyseType) ? "player--interpretation-next" : "player-audio_next-btn",
460
+ "svg-name": unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-next" : "ops-audio-audio-next-btn",
461
461
  "class-name": "next-icon"
462
462
  }, null, 8, ["svg-name"])
463
463
  ], 8, ["onClick"])
@@ -520,7 +520,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
520
520
  }, {
521
521
  default: withCtx(() => [
522
522
  createVNode(unref(HyIcon), {
523
- "svg-name": "player-audio_volumn",
523
+ "svg-name": "dispatch-share-audio-volumn",
524
524
  "class-name": "volume-icon"
525
525
  })
526
526
  ]),
@@ -552,7 +552,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
552
552
  }, {
553
553
  default: withCtx(() => [
554
554
  createVNode(unref(HyIcon), {
555
- "svg-name": unref(isFullScreen) ? "player-audio_reduce" : "player-audio_enlarge",
555
+ "svg-name": unref(isFullScreen) ? "ops-audio-audio-reduce" : "ops-audio-audio-enlarge",
556
556
  onClick: unref(onFullScreenHandler)
557
557
  }, null, 8, ["svg-name", "onClick"])
558
558
  ]),
@@ -568,7 +568,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
568
568
  }, {
569
569
  default: withCtx(() => [
570
570
  createVNode(unref(HyIcon), {
571
- "svg-name": unref(isExpand) ? "player--interpretation-foldup" : "player--interpretation-expand",
571
+ "svg-name": unref(isExpand) ? "dispatch-share1-v3-ai-interpretation-foldup" : "dispatch-share1-v3-ai-interpretation-expand",
572
572
  onClick: unref(onSwitchShrink)
573
573
  }, null, 8, ["svg-name", "onClick"])
574
574
  ]),
@@ -600,7 +600,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
600
600
  }, {
601
601
  default: withCtx(() => [
602
602
  createVNode(unref(HyIcon), {
603
- "svg-name": "player-audio_down-btn",
603
+ "svg-name": "ops-audio-audio-down-btn",
604
604
  onClick: unref(onDownloadHandler)
605
605
  }, null, 8, ["onClick"])
606
606
  ]),
@@ -21,6 +21,6 @@ export { HyAudioPlayer } from './hyAudioPlayer/index.mjs';
21
21
  export { ElInput, HyInput } from './hyInput/index.mjs';
22
22
  export { ElTimePicker, HyTimePicker } from './hyTimePicker/index.mjs';
23
23
  export { HyTableForm } from './hyTableForm/index.mjs';
24
- export { useAppForm } from './hyForm/js/useAppForm.mjs';
25
- export { useAppSearch } from './hySearch/js/useAppSearch.mjs';
24
+ export { resetAppFormValue, useAppForm } from './hyForm/js/useAppForm.mjs';
25
+ export { resetAppSearchValue, useAppSearch } from './hySearch/js/useAppSearch.mjs';
26
26
  export { useAppTable } from './hyTable/js/useAppTable.mjs';
package/es/index.mjs CHANGED
@@ -40,8 +40,8 @@ export { localTooltipConfigKey, useTooltipConfig } from './hooks/useTooltipConfi
40
40
  export { localUserAvatarMapKey, useUserAvatarMap } from './hooks/useUserAvatarMap.mjs';
41
41
  export { localVideoPlayerConfigKey, useVideoPlayerConfig } from './hooks/useVideoPlayerConfig.mjs';
42
42
  export { parseRem, pxTorem, remToPx, vwToPx } from './utils/adaptive.mjs';
43
- export { useAppForm } from './components/hyForm/js/useAppForm.mjs';
44
- export { useAppSearch } from './components/hySearch/js/useAppSearch.mjs';
43
+ export { resetAppFormValue, useAppForm } from './components/hyForm/js/useAppForm.mjs';
44
+ export { resetAppSearchValue, useAppSearch } from './components/hySearch/js/useAppSearch.mjs';
45
45
  export { useAppTable } from './components/hyTable/js/useAppTable.mjs';
46
46
  export { useMixins } from './hooks/useMixins.mjs';
47
47
  export { useResizeHandler } from './hooks/useResizeHandler.mjs';
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-linear-map-treelist',
3
+ symbol: `<symbol id="hy-icon-dispatch-linear-map-treelist" viewBox="0 0 24 24">
4
+ <g id="hy-icon-dispatch-linear-map-treelist-map_Treelist" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M6,17 C6.2652165,17 6.51957041,17.1053568 6.70710679,17.2928932 C6.89464317,17.4804296 7,17.7347835 7,18 L7,22 C7,22.5522847 6.55228475,23 6,23 L2,23 C1.73478353,23 1.48042961,22.8946432 1.29289323,22.7071068 C1.10535684,22.5195704 1,22.2652165 1,22 L1,18 C1,17.7347835 1.10535683,17.4804296 1.29289322,17.2928932 C1.4804296,17.1053568 1.73478352,17 2,17 Z M22,17 C22.2652165,17 22.5195704,17.1053568 22.7071068,17.2928932 C22.8946432,17.4804296 23,17.7347835 23,18 L23,22 C23,22.2652165 22.8946432,22.5195704 22.7071068,22.7071068 C22.5195704,22.8946432 22.2652165,23 22,23 L10,23 C9.44771525,23 9,22.5522847 9,22 L9,18 C9,17.7347835 9.10535683,17.4804296 9.29289321,17.2928932 C9.48042958,17.1053568 9.7347835,17 10,17 Z M5.34927973,18.7358372 L2.66437569,18.7358372 L2.66437569,21.363017 L5.34927973,21.363017 L5.34927973,18.7358372 Z M21.3962862,18.7358372 L10.6909198,18.7358372 L10.6909198,21.363017 L21.3962862,21.363017 L21.3962862,18.7358372 Z M6,9 C6.2652165,9 6.51957041,9.10535684 6.70710679,9.29289323 C6.89464317,9.48042961 7,9.73478353 7,10 L7,14 C7,14.5522847 6.55228475,15 6,15 L2,15 C1.73478353,15 1.48042961,14.8946432 1.29289323,14.7071068 C1.10535684,14.5195704 1,14.2652165 1,14 L1,10 C1,9.73478352 1.10535683,9.4804296 1.29289322,9.29289322 C1.4804296,9.10535683 1.73478352,9 2,9 Z M22,9 C22.2652165,9 22.5195704,9.10535683 22.7071068,9.29289322 C22.8946432,9.4804296 23,9.73478352 23,10 L23,14 C23,14.2652165 22.8946432,14.5195704 22.7071068,14.7071068 C22.5195704,14.8946432 22.2652165,15 22,15 L10,15 C9.44771525,15 9,14.5522847 9,14 L9,10 C9,9.73478353 9.10535683,9.48042961 9.29289321,9.29289323 C9.48042958,9.10535684 9.7347835,9 10,9 Z M5.34927973,10.7358372 L2.66437569,10.7358372 L2.66437569,13.363017 L5.34927973,13.363017 L5.34927973,10.7358372 Z M21.3962862,10.7358372 L10.6909198,10.7358372 L10.6909198,13.363017 L21.3962862,13.363017 L21.3962862,10.7358372 Z M6,1 C6.2652165,1 6.51957041,1.10535684 6.70710679,1.29289323 C6.89464317,1.48042961 7,1.73478353 7,2 L7,6 C7,6.55228475 6.55228475,7 6,7 L2,7 C1.73478353,7 1.48042961,6.89464317 1.29289323,6.70710679 C1.10535684,6.51957041 1,6.2652165 1,6 L1,2 C1,1.73478352 1.10535683,1.4804296 1.29289322,1.29289322 C1.4804296,1.10535683 1.73478352,1 2,1 Z M22,1 C22.2652165,1 22.5195704,1.10535683 22.7071068,1.29289322 C22.8946432,1.4804296 23,1.73478352 23,2 L23,6 C23,6.2652165 22.8946432,6.51957041 22.7071068,6.70710679 C22.5195704,6.89464317 22.2652165,7 22,7 L10,7 C9.44771525,7 9,6.55228475 9,6 L9,2 C9,1.73478353 9.10535683,1.48042961 9.29289321,1.29289323 C9.48042958,1.10535684 9.7347835,1 10,1 Z M5.34927973,2.7358372 L2.66437569,2.7358372 L2.66437569,5.36301704 L5.34927973,5.36301704 L5.34927973,2.7358372 Z M21.3962862,2.7358372 L10.6909198,2.7358372 L10.6909198,5.36301704 L21.3962862,5.36301704 L21.3962862,2.7358372 Z" id="hy-icon-dispatch-linear-map-treelist-形状结合" fill="#FFFFFF" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-share-guidao',
3
+ symbol: `<symbol id="hy-icon-dispatch-share-guidao" viewBox="0 0 16 15">
4
+ <g id="hy-icon-dispatch-share-guidao-guidao" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M5.656,1.11321429 L5.112,1.11321429 L4.752,1.90821429 L5.336,1.90821429 L5.656,1.11321429 Z M4.688,3.48535714 L4.04,3.48535714 L3.616,4.41214286 L4.32,4.41214286 L4.688,3.48535714 L4.688,3.48535714 Z M3.56,6.26785714 L2.776,6.26785714 L2.064,7.845 L2.912,7.845 L3.56,6.26785714 Z M2.056,9.96428571 L1.104,9.96428571 L0,12.3760714 L1.024,12.3760714 L2.056,9.96535714 L2.056,9.96428571 Z M10.344,1.11321429 L10.888,1.11321429 L11.248,1.90821429 L10.664,1.90821429 L10.344,1.11321429 Z M11.312,3.48535714 L11.96,3.48535714 L12.384,4.41214286 L11.68,4.41214286 L11.312,3.48535714 L11.312,3.48535714 Z M12.44,6.26785714 L13.224,6.26785714 L13.936,7.845 L13.088,7.845 L12.44,6.26785714 Z M8.56,1.90714286 L8.344,1.11321429 L7.656,1.11321429 L7.44,1.90821429 L8.56,1.90821429 L8.56,1.90714286 Z M9.24,4.41214286 L8.984,3.48535714 L7.016,3.48535714 L6.76,4.41214286 L9.24,4.41214286 Z M10.176,7.845 L9.744,6.26785714 L6.256,6.26785714 L5.824,7.845 L10.176,7.845 L10.176,7.845 Z M10.744,9.96428571 L5.256,9.96428571 L4.576,12.3760714 L11.424,12.3760714 L10.744,9.96535714 L10.744,9.96428571 Z M13.944,9.96428571 L14.896,9.96428571 L16,12.3760714 L14.976,12.3760714 L13.944,9.96535714 L13.944,9.96428571 Z M0.64,15 L3.352,15 L7.432,0 L6.76,0 L0.64,15 Z M12.648,15 L15.36,15 L9.24,0 L8.568,0 L12.648,15 Z" id="hy-icon-dispatch-share-guidao-形状" fill="#87D4ED" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -6,20 +6,20 @@ function funRunHandler(target, ...args) {
6
6
  }
7
7
  return cloneDeep(target);
8
8
  }
9
- const cloneDeep = (target) => {
10
- if (isVueProxy(target)) {
9
+ const cloneDeep = (target, force = false) => {
10
+ if (isVueProxy(target) && !force) {
11
11
  return target;
12
12
  }
13
13
  if (isArray(target)) {
14
14
  return target.reduce((list, item) => {
15
- list.push(cloneDeep(item));
15
+ list.push(cloneDeep(item, force));
16
16
  return list;
17
17
  }, []);
18
18
  }
19
19
  if (isObject(target)) {
20
20
  const obj = {};
21
21
  Object.keys(target).forEach((key) => {
22
- obj[key] = cloneDeep(target[key]);
22
+ obj[key] = cloneDeep(target[key], force);
23
23
  });
24
24
  return obj;
25
25
  }
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.29";
1
+ const version = "0.2.31";
2
2
 
3
3
  export { version };
@@ -192,7 +192,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
192
192
  }, [
193
193
  vue.createElementVNode("div", { class: "point point_dot" }, [
194
194
  vue.createElementVNode("div", { class: "flex items-center justify-center" }, [
195
- vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "menu-menu_micphone_v2-select" })
195
+ vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "layout-sidenav-menu-micphone-v2" })
196
196
  ])
197
197
  ]),
198
198
  vue.withDirectives(vue.createElementVNode(
@@ -246,7 +246,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
246
246
  [
247
247
  vue.createElementVNode("div", { onClick: vue.unref(playPrevious) }, [
248
248
  vue.createVNode(vue.unref(index$1.HyIcon), {
249
- "svg-name": vue.unref(isAnalyseType) ? "player--interpretation-last" : "player-audio_previous-btn",
249
+ "svg-name": vue.unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-last" : "ops-audio-audio-previous-btn",
250
250
  "class-name": "last-icon"
251
251
  }, null, 8, ["svg-name"])
252
252
  ], 8, ["onClick"]),
@@ -254,17 +254,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
254
254
  key: 0,
255
255
  onClick: ($event) => vue.unref(playAudio)(vue.unref(audioUrl))
256
256
  }, [
257
- vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "player-audio_play-btn" })
257
+ vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "ops-audio-audio-play-btn" })
258
258
  ], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
259
259
  vue.unref(audioState) === "PLAYING" ? (vue.openBlock(), vue.createElementBlock("div", {
260
260
  key: 1,
261
261
  onClick: vue.unref(pauseAudio)
262
262
  }, [
263
- vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "player-audio_pause-btn" })
263
+ vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "ops-audio-audio-pause-btn" })
264
264
  ], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
265
265
  vue.createElementVNode("div", { onClick: vue.unref(playNext) }, [
266
266
  vue.createVNode(vue.unref(index$1.HyIcon), {
267
- "svg-name": vue.unref(isAnalyseType) ? "player--interpretation-next" : "player-audio_next-btn",
267
+ "svg-name": vue.unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-next" : "ops-audio-audio-next-btn",
268
268
  "class-name": "next-icon"
269
269
  }, null, 8, ["svg-name"])
270
270
  ], 8, ["onClick"]),
@@ -379,7 +379,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
379
379
  }, {
380
380
  default: vue.withCtx(() => [
381
381
  vue.createVNode(vue.unref(index$1.HyIcon), {
382
- "svg-name": "player-audio_down-btn",
382
+ "svg-name": "ops-audio-audio-down-btn",
383
383
  onClick: vue.unref(onDownloadHandler)
384
384
  }, null, 8, ["onClick"])
385
385
  ]),
@@ -433,7 +433,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
433
433
  content: vue.unref(t)("audioPlayer.adjustPlaybackVolume")
434
434
  }, {
435
435
  default: vue.withCtx(() => [
436
- vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "player-audio_volumn" })
436
+ vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "dispatch-share-audio-volumn" })
437
437
  ]),
438
438
  _: 1
439
439
  /* STABLE */
@@ -33,17 +33,17 @@ const useAudioPlayer = (hy) => {
33
33
  {
34
34
  value: 1,
35
35
  label: t("audioPlayer.stopAfterPlayback"),
36
- svgName: "player-mediaCenter_stopPlaying"
36
+ svgName: "ops-audio-media-center-stop-playing"
37
37
  },
38
38
  {
39
39
  value: 2,
40
40
  label: t("audioPlayer.continuousPlayback"),
41
- svgName: "player-mediaCenter_autoplay"
41
+ svgName: "ops-audio-media-center-autoplay"
42
42
  },
43
43
  {
44
44
  value: 3,
45
45
  label: t("audioPlayer.loopPlayback"),
46
- svgName: "player-mediaCenter_loopPlayback"
46
+ svgName: "ops-audio-media-center-loop-playback"
47
47
  }
48
48
  ];
49
49
  const isAnalyseType = vue.computed(() => {