hy-dispatch-ui-v3 0.2.29 → 0.2.31

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/tailwind.css +4 -0
  2. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +7 -7
  3. package/es/components/hyAudioPlayer/js/index.mjs +3 -3
  4. package/es/components/hyDatePicker/datePicker.vue.mjs +14 -2
  5. package/es/components/hyForm/cpns/arrayItem.vue.mjs +6 -1
  6. package/es/components/hyForm/cpns/extraItem.vue.mjs +6 -1
  7. package/es/components/hyForm/cpns/formItem.vue.mjs +4 -0
  8. package/es/components/hyForm/form.vue.mjs +6 -3
  9. package/es/components/hyIcon/style/icon.scss +6 -0
  10. package/es/components/hyInput/input.vue.mjs +14 -2
  11. package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -1
  12. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -1
  13. package/es/components/hyTable/cpns/virtualTable.vue.mjs +329 -245
  14. package/es/components/hyTable/js/index.mjs +11 -2
  15. package/es/components/hyTable/table.vue.mjs +15 -6
  16. package/es/components/hyTimePicker/timePicker.vue.mjs +14 -2
  17. package/es/components/hyTree/tree.vue.mjs +6 -7
  18. package/es/components/hyUserAvatar/userAvatar.vue.mjs +2 -2
  19. package/es/components/hyVideoPlayer/js/index.mjs +3 -3
  20. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +11 -11
  21. package/es/hooks/useAudioPlayerConfig.mjs +2 -2
  22. package/es/hooks/usePermissionMap.mjs +2 -2
  23. package/es/hooks/useTooltipConfig.mjs +2 -2
  24. package/es/hooks/useUserAvatarMap.mjs +2 -2
  25. package/es/hooks/useVideoPlayerConfig.mjs +2 -2
  26. package/es/static/hy-svg-icons/hy-icon-Miscellaneous-graffiti-angular-position.js +17 -0
  27. package/es/static/hy-svg-icons/hy-icon-Miscellaneous-h264.js +8 -0
  28. package/es/static/hy-svg-icons/hy-icon-Miscellaneous-h265.js +8 -0
  29. package/es/static/hy-svg-icons/hy-icon-map-marker-v3-lawenforce-screen-mark.js +29 -0
  30. package/es/utils/is.mjs +1 -1
  31. package/es/version.mjs +1 -1
  32. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +7 -7
  33. package/lib/components/hyAudioPlayer/js/index.js +3 -3
  34. package/lib/components/hyDatePicker/datePicker.vue.js +13 -1
  35. package/lib/components/hyForm/cpns/arrayItem.vue.js +6 -1
  36. package/lib/components/hyForm/cpns/extraItem.vue.js +6 -1
  37. package/lib/components/hyForm/cpns/formItem.vue.js +4 -0
  38. package/lib/components/hyForm/form.vue.js +6 -3
  39. package/lib/components/hyIcon/style/icon.scss +6 -0
  40. package/lib/components/hyInput/input.vue.js +13 -1
  41. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -1
  42. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -1
  43. package/lib/components/hyTable/cpns/virtualTable.vue.js +326 -242
  44. package/lib/components/hyTable/js/index.js +11 -2
  45. package/lib/components/hyTable/table.vue.js +15 -6
  46. package/lib/components/hyTimePicker/timePicker.vue.js +13 -1
  47. package/lib/components/hyTree/tree.vue.js +5 -6
  48. package/lib/components/hyUserAvatar/userAvatar.vue.js +2 -2
  49. package/lib/components/hyVideoPlayer/js/index.js +3 -3
  50. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +11 -11
  51. package/lib/hooks/useAudioPlayerConfig.js +1 -1
  52. package/lib/hooks/usePermissionMap.js +1 -1
  53. package/lib/hooks/useTooltipConfig.js +1 -1
  54. package/lib/hooks/useUserAvatarMap.js +1 -1
  55. package/lib/hooks/useVideoPlayerConfig.js +1 -1
  56. package/lib/static/hy-svg-icons/hy-icon-Miscellaneous-graffiti-angular-position.js +17 -0
  57. package/lib/static/hy-svg-icons/hy-icon-Miscellaneous-h264.js +8 -0
  58. package/lib/static/hy-svg-icons/hy-icon-Miscellaneous-h265.js +8 -0
  59. package/lib/static/hy-svg-icons/hy-icon-map-marker-v3-lawenforce-screen-mark.js +29 -0
  60. package/lib/utils/is.js +1 -1
  61. package/lib/version.js +1 -1
  62. package/package.json +1 -1
@@ -2,8 +2,12 @@ import { ref, computed, watchEffect, unref, nextTick } from 'vue';
2
2
  import { ElLoading } from 'element-plus';
3
3
  import { isString, isBoolean, isFunction, isPermission, isArray, isNumber } from '../../../utils/is.mjs';
4
4
  import { useLocale } from '../../../hooks/useLocale.mjs';
5
+ import { usePermissionMap } from '../../../hooks/usePermissionMap.mjs';
5
6
 
6
7
  function tableColumnShowHandler(column) {
8
+ if (column.permission && !isPermission(column.permission)) {
9
+ return false;
10
+ }
7
11
  const show = unref(column.show);
8
12
  if (isBoolean(show)) return show;
9
13
  if (isFunction(show)) return show(column);
@@ -72,8 +76,8 @@ function tableColumnHandler(columns, cacheKey, searchArr) {
72
76
  );
73
77
  }
74
78
  function operatorShowHandler(operator, scope) {
75
- if (operator.permission) {
76
- return isPermission(operator.permission);
79
+ if (operator.permission && !isPermission(operator.permission)) {
80
+ return false;
77
81
  }
78
82
  const show = unref(operator.show);
79
83
  if (isBoolean(show)) return show;
@@ -145,12 +149,16 @@ const useAppTableWrapper = (hy) => {
145
149
  tableDropdownRef,
146
150
  operatorDropdownRef
147
151
  } = hy;
152
+ const { permissionMap } = usePermissionMap();
148
153
  const { t } = useLocale();
149
154
  const CACHE_COLUMNS_KEY = props.controller || props.url || "CACHE_COLUMNS_KEY";
150
155
  const loading = ref(true);
151
156
  const tableDataSource = ref([]);
152
157
  const tableColumns = ref([]);
153
158
  const tableColumnsEditablele = ref({});
159
+ const tableColumnsList = computed(() => {
160
+ return tableColumns.value.filter((column) => tableColumnShowHandler(column));
161
+ });
154
162
  const searchPlaceholder = ref("");
155
163
  function getRowKey(row = {}) {
156
164
  if (isString(props.rowKey)) return row[props.rowKey];
@@ -326,6 +334,7 @@ const useAppTableWrapper = (hy) => {
326
334
  tableDataSource,
327
335
  tableColumns,
328
336
  tableColumnsEditablele,
337
+ tableColumnsList,
329
338
  searchPlaceholder,
330
339
  doLayout,
331
340
  showAppTableLoading,
@@ -139,6 +139,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
139
139
  type: String,
140
140
  default: ""
141
141
  },
142
+ showOperate: {
143
+ // 是否显示操作栏
144
+ type: Boolean,
145
+ default: true
146
+ },
142
147
  // 分页配置
143
148
  layout: {
144
149
  type: String,
@@ -192,6 +197,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
192
197
  tableDataSource,
193
198
  tableColumns,
194
199
  tableColumnsEditablele,
200
+ tableColumnsList,
195
201
  searchPlaceholder,
196
202
  onTableColumnsSelectHandler,
197
203
  // 表格行操作配置
@@ -255,7 +261,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
255
261
  },
256
262
  [
257
263
  createCommentVNode(" \u64CD\u4F5C\u680F "),
258
- createElementVNode("div", { class: "min-h-[36px] flex flex-row-reverse items-center justify-between gap-3 mb-4" }, [
264
+ __props.showOperate ? (openBlock(), createElementBlock("div", {
265
+ key: 0,
266
+ class: "min-h-[36px] flex flex-row-reverse items-center justify-between gap-3 mb-4"
267
+ }, [
259
268
  createElementVNode("div", { class: "flex gap-3 whitespace-nowrap" }, [
260
269
  __props.showEditable ? (openBlock(), createBlock(_sfc_main$1, {
261
270
  key: 0,
@@ -343,7 +352,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
343
352
  default: withCtx(() => [
344
353
  createVNode(unref(HyIcon), {
345
354
  class: "w-[12px] h-[12px]",
346
- "svg-name": "refres"
355
+ "svg-name": "ops-button-icon-refres-v2"
347
356
  })
348
357
  ]),
349
358
  _: 1
@@ -357,10 +366,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
357
366
  }, [
358
367
  renderSlot(_ctx.$slots, "operator-left-box")
359
368
  ])) : createCommentVNode("v-if", true)
360
- ]),
369
+ ])) : createCommentVNode("v-if", true),
361
370
  createCommentVNode(" \u67E5\u8BE2\u8FC7\u6EE4 "),
362
371
  __props.filterColumns.length > 0 ? (openBlock(), createBlock(unref(HySearch), {
363
- key: 0,
372
+ key: 1,
364
373
  ref_key: "appSearchRef",
365
374
  ref: appSearchRef,
366
375
  model: __props.filterModel,
@@ -418,7 +427,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
418
427
  (openBlock(true), createElementBlock(
419
428
  Fragment,
420
429
  null,
421
- renderList(unref(tableColumns), (column) => {
430
+ renderList(unref(tableColumnsList), (column) => {
422
431
  return openBlock(), createElementBlock(
423
432
  Fragment,
424
433
  {
@@ -652,7 +661,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
652
661
  height,
653
662
  "row-key": __props.rowKey,
654
663
  data: unref(tableDataSource),
655
- columns: unref(tableColumns),
664
+ columns: unref(tableColumnsList),
656
665
  "columns-editable": unref(tableColumnsEditablele),
657
666
  "show-header": __props.showHeader,
658
667
  "row-class-name": unref(setTableRowClassName),
@@ -1,4 +1,4 @@
1
- import { useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, mergeModels, defineComponent } from 'vue';
1
+ import { useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels, defineComponent } from 'vue';
2
2
  import dayjs from 'dayjs';
3
3
  import { ElTimePicker } from 'element-plus';
4
4
  import { useLocale } from '../../hooks/useLocale.mjs';
@@ -146,7 +146,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
146
146
  "range-separator": unref(t)("timePicker.to"),
147
147
  "end-placeholder": endPlaceholder.value,
148
148
  onChange: onChangeHandler
149
- }), null, 16, ["modelValue", "onUpdate:modelValue", "isRange", "format", "valueFormat", "disabledSeconds", "start-placeholder", "range-separator", "end-placeholder"]);
149
+ }), createSlots({
150
+ _: 2
151
+ /* DYNAMIC */
152
+ }, [
153
+ renderList(_ctx.$slots, (_, slotName) => {
154
+ return {
155
+ name: slotName,
156
+ fn: withCtx((scope) => [
157
+ renderSlot(_ctx.$slots, slotName, normalizeProps(guardReactiveProps(scope)))
158
+ ])
159
+ };
160
+ })
161
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "isRange", "format", "valueFormat", "disabledSeconds", "start-placeholder", "range-separator", "end-placeholder"]);
150
162
  };
151
163
  }
152
164
  });
@@ -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
  ]),
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localAudioPlayerConfigKey = /* @__PURE__ */ Symbol("useAudioPlayerConfig");
5
5
  const useAudioPlayerConfig = () => {
6
6
  const audioPlayerConfig = inject(localAudioPlayerConfigKey, ref());
7
7
  return {
8
- audioPlayerConfig: unref(audioPlayerConfig) ? audioPlayerConfig : unref(useGlobalConfig()).audioPlayer || ref(/* @__PURE__ */ new Map())
8
+ audioPlayerConfig: unref(audioPlayerConfig) ? audioPlayerConfig : computed(() => unref(useGlobalConfig()).audioPlayer || {})
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localPermissionMapKey = /* @__PURE__ */ Symbol("permissionMap");
5
5
  const usePermissionMap = () => {
6
6
  const permissionMap = inject(localPermissionMapKey, ref());
7
7
  return {
8
- permissionMap: unref(permissionMap) ? permissionMap : unref(useGlobalConfig()).permissionMap || ref(/* @__PURE__ */ new Map())
8
+ permissionMap: unref(permissionMap) ? permissionMap : computed(() => unref(useGlobalConfig()).permissionMap || /* @__PURE__ */ new Map())
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localTooltipConfigKey = /* @__PURE__ */ Symbol("useTooltipConfig");
5
5
  const useTooltipConfig = () => {
6
6
  const tooltipConfig = inject(localTooltipConfigKey, ref());
7
7
  return {
8
- tooltipConfig: unref(tooltipConfig) ? tooltipConfig : unref(useGlobalConfig()).tooltip || ref(/* @__PURE__ */ new Map())
8
+ tooltipConfig: unref(tooltipConfig) ? tooltipConfig : computed(() => unref(useGlobalConfig()).tooltip || {})
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localUserAvatarMapKey = /* @__PURE__ */ Symbol("userAvatarMap");
5
5
  const useUserAvatarMap = () => {
6
6
  const userAvatarMap = inject(localUserAvatarMapKey, ref());
7
7
  return {
8
- userAvatarMap: unref(userAvatarMap) ? userAvatarMap : unref(useGlobalConfig()).userAvatarMap || ref(/* @__PURE__ */ new Map())
8
+ userAvatarMap: unref(userAvatarMap) ? userAvatarMap : computed(() => unref(useGlobalConfig()).userAvatarMap || /* @__PURE__ */ new Map())
9
9
  };
10
10
  };
11
11
 
@@ -1,11 +1,11 @@
1
- import { inject, ref, unref } from 'vue';
1
+ import { inject, ref, unref, computed } from 'vue';
2
2
  import { useGlobalConfig } from './useGlobalConfig.mjs';
3
3
 
4
4
  const localVideoPlayerConfigKey = /* @__PURE__ */ Symbol("useVideoPlayerConfig");
5
5
  const useVideoPlayerConfig = () => {
6
6
  const videoPlayerConfig = inject(localVideoPlayerConfigKey, ref());
7
7
  return {
8
- videoPlayerConfig: unref(videoPlayerConfig) ? videoPlayerConfig : unref(useGlobalConfig()).videoPlayer || ref(/* @__PURE__ */ new Map())
8
+ videoPlayerConfig: unref(videoPlayerConfig) ? videoPlayerConfig : computed(() => unref(useGlobalConfig()).videoPlayer || {})
9
9
  };
10
10
  };
11
11
 
@@ -0,0 +1,17 @@
1
+ export default {
2
+ id: 'hy-icon-Miscellaneous-graffiti-angular-position',
3
+ defs: `<radialGradient cx="16.2732184%" cy="15.0678403%" fx="16.2732184%" fy="15.0678403%" r="100%" gradientTransform="translate(0.162732,0.150678),scale(0.999876,1.000000),rotate(90.000000),translate(-0.162732,-0.150678)" id="hy-icon-Miscellaneous-graffiti-angular-position-radialGradient-1">
4
+ <stop stop-color="#2DF2FF" offset="0%"></stop>
5
+ <stop stop-color="#11232A" stop-opacity="0" offset="100%"></stop>
6
+ </radialGradient>`,
7
+ symbol: `<symbol id="hy-icon-Miscellaneous-graffiti-angular-position" viewBox="0 0 36 37">
8
+ <g id="hy-icon-Miscellaneous-graffiti-angular-position-页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9
+ <g id="hy-icon-Miscellaneous-graffiti-angular-position-数据中心-3迭" transform="translate(-654.000000, -854.000000)">
10
+ <g id="hy-icon-Miscellaneous-graffiti-angular-position-angularPosition" transform="translate(655.000000, 855.000000)">
11
+ <path d="M0,0 C4.17842556,0 10.5583317,0 19.1397183,0 L34.0844201,15.0721633 L34.0844201,35.3633052" id="hy-icon-Miscellaneous-graffiti-angular-position-路径" stroke="#2DF2FF"></path>
12
+ <polyline id="hy-icon-Miscellaneous-graffiti-angular-position-路径-7备份-32" stroke="url(#hy-icon-Miscellaneous-graffiti-angular-position-radialGradient-1)" stroke-width="2" stroke-linecap="round" transform="translate(13.586099, 20.500000) scale(-1, 1) translate(-13.586099, -20.500000) " points="0.084421 34 0.084421 15.5357771 8.71685585 7 27.0877779 7"></polyline>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </symbol>`,
17
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-Miscellaneous-h264',
3
+ symbol: `<symbol id="hy-icon-Miscellaneous-h264" viewBox="0 0 160 160">
4
+ <g id="hy-icon-Miscellaneous-h264-报表[采集站报表][采集站数据统计]" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M160,0 L160,160 L0,160 L0,0 L160,0 Z M109.618717,110.741195 L103.693144,110.741195 L97.5528947,119.800295 C95.6070466,122.65285 94.2095383,125.185658 93.3636533,127.398874 C92.5146413,129.614749 92.0929496,131.907707 92.0929496,134.277905 C92.0929496,136.592909 92.5723366,138.624284 93.5315795,140.374218 C94.490666,142.124309 95.8382968,143.47194 97.5747845,144.417267 C99.3112722,145.362594 101.306529,145.836665 103.563681,145.836665 C105.738278,145.836665 107.692413,145.362594 109.428588,144.417267 C111.164919,143.47194 112.523964,142.168401 113.513071,140.501023 C114.499832,138.836146 114.996106,136.959251 114.995793,134.870493 C114.995793,132.753748 114.549397,130.871381 113.661922,129.22042 C112.771788,127.569771 111.531574,126.277021 109.93565,125.345454 C108.340039,124.413886 106.529126,123.948102 104.495249,123.948102 C102.634928,123.948102 100.95379,124.457978 99.4598102,125.472258 C100.193119,124.005953 101.110771,122.539961 102.210422,121.070842 L109.618717,110.741195 Z M137.387542,110.474765 L132.446068,110.474765 L120.092384,134.534763 L120.092384,138.961803 L134.55437,138.961803 L134.55437,145.698603 L139.11573,145.698603 L139.11573,138.961803 L143.296977,138.961803 L143.296977,134.534763 L139.11573,134.534763 L139.11573,124.718284 L134.55437,124.718284 L134.55437,134.534763 L125.033858,134.534763 L137.387542,110.474765 Z M55.6465655,139.147607 C54.6846645,139.147607 53.9102342,139.437021 53.3176456,140.015851 C52.7250571,140.59468 52.427512,141.377397 52.427512,142.364002 C52.427512,143.350607 52.7250571,144.136139 53.3176456,144.714968 C53.9103905,145.290827 54.6848209,145.580241 55.6465655,145.580241 C56.6058084,145.580241 57.3747663,145.290983 57.9534392,144.714968 C58.529454,144.136139 58.821683,143.350764 58.821683,142.364002 C58.821683,141.377241 58.529454,140.594523 57.9534392,140.015851 C57.3747663,139.437021 56.6058084,139.147607 55.6465655,139.147607 Z M24.4449808,110.741039 L18.8998219,110.741039 L18.8998219,145.285354 L24.4449808,145.285354 L24.4449808,129.537197 L40.6589225,129.537197 L40.6589225,145.285354 L46.2042378,145.285354 L46.2042378,110.741039 L40.6589225,110.741039 L40.6589225,124.838235 L24.4449808,124.838235 L24.4449808,110.741039 Z M75.7082674,110.189572 C72.9165343,110.189572 70.5874581,110.804206 68.7243222,112.033476 C66.8613427,113.259931 65.549361,115.045827 64.78869,117.38835 L68.7243222,119.714455 C69.2315405,118.080224 70.0639788,116.815149 71.2214809,115.927674 C72.378983,115.03754 73.8176129,114.593802 75.5401849,114.593802 C77.4033208,114.593802 78.8779125,115.145113 79.9636473,116.244763 C81.0495384,117.34457 81.5925622,118.827136 81.5925622,120.690272 C81.5925622,121.988494 81.2975187,123.201034 80.7050865,124.331017 C80.1123417,125.458186 79.1091627,126.728733 77.6982079,128.139845 L64.4054619,141.685887 L64.4054619,145.285354 L87.0964432,145.285354 L87.0964432,140.881124 L71.8581618,140.881124 L80.7906132,131.653785 C82.9622391,129.424151 84.5276735,127.511451 85.4895745,125.918498 C86.4488174,124.32273 86.9282043,122.567011 86.9282043,120.646023 C86.9282043,118.642323 86.4542899,116.845482 85.5088063,115.249715 C84.5636354,113.656762 83.2380508,112.413577 81.5290817,111.523443 C79.8230834,110.635968 77.8828641,110.189572 75.7082674,110.189572 Z M103.563681,128.352176 C105.484825,128.352176 107.01461,128.939136 108.158197,130.107895 C109.30194,131.279157 109.872326,132.866637 109.872326,134.870337 C109.872326,136.846362 109.285366,138.433842 108.116919,139.632779 C106.945501,140.83453 105.426817,141.432434 103.563681,141.432434 C101.673027,141.432434 100.14887,140.83453 98.9941826,139.632779 C97.8365241,138.433842 97.2578513,136.846362 97.2578513,134.870337 C97.2578513,132.866637 97.8283936,131.279157 98.9722928,130.107895 C100.115879,128.939136 101.645508,128.352176 103.563681,128.352176 Z M154.355555,5.64444492 L5.64585212,5.64444492 L5.64585212,92.9561901 L154.355555,92.9561901 L154.355555,5.64444492 Z M94.3970089,22.5333746 L98.6992955,55.1762472 L102.243569,22.5333746 L114.367555,22.5333746 L103.673912,79.5288218 L93.8045767,79.5288218 L82.2207998,22.5333746 L94.3970089,22.5333746 Z M133.957688,22.0815063 C135.942156,22.0815063 137.890819,22.4426883 139.803519,23.1564526 L139.803519,30.3414713 C138.576908,29.9250958 137.402832,29.712921 136.286608,29.712921 C134.084493,29.712921 132.210412,30.5921097 130.658737,32.3504872 C127.98818,35.4014582 126.654308,41.1148561 126.654308,49.4877099 C126.654308,58.3208754 127.547256,64.18844 129.333152,67.0907167 C131.11639,69.9956514 133.489402,71.4452261 136.449531,71.4452261 C137.568413,71.4452261 138.687295,71.2136632 139.803519,70.753508 L139.803519,78.313468 C138.290308,79.1235475 136.42983,79.5288218 134.230529,79.5288218 C128.167051,79.5288218 123.325024,76.9711533 119.700696,71.8614453 C116.07371,66.7487665 114.259983,59.605182 114.259983,50.4247503 C114.259983,40.1556131 116.927726,32.3973939 122.271967,27.147122 C125.733372,23.7710873 129.628039,22.0815063 133.957688,22.0815063 Z M36.3816528,22.5333746 L36.3816528,47.8589514 L42.444975,47.8589514 L42.444975,22.5333746 L54.3484995,22.5333746 L54.3484995,79.0766407 L42.444975,79.0766407 L42.444975,55.2120527 L36.3816528,55.2120527 L36.3816528,79.0766407 L24.4753139,79.0766407 L24.4753139,22.5333746 L36.3816528,22.5333746 Z M80.5421638,22.5333746 L80.5421638,30.0271961 L72.1555506,30.0271961 L72.1555506,47.8589514 L80.5421638,47.8589514 L80.5421638,55.2120527 L72.1555506,55.2120527 L72.1555506,71.6545866 L80.5421638,71.6545866 L80.5421638,79.0766407 L60.2492116,79.0766407 L60.2492116,22.5333746 L80.5421638,22.5333746 Z" id="hy-icon-Miscellaneous-h264-H.264" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-Miscellaneous-h265',
3
+ symbol: `<symbol id="hy-icon-Miscellaneous-h265" viewBox="0 0 160 160">
4
+ <g id="hy-icon-Miscellaneous-h265-报表[采集站报表][采集站数据统计]" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M160,0 L160,160 L0,160 L0,0 L160,0 Z M109.618717,110.741195 L103.693144,110.741195 L97.5528947,119.800295 C95.6070466,122.65285 94.2095383,125.185658 93.3636533,127.398874 C92.5146413,129.614749 92.0929496,131.907707 92.0929496,134.277905 C92.0929496,136.592909 92.5723366,138.624284 93.5315795,140.374218 C94.490666,142.124309 95.8382968,143.47194 97.5747845,144.417267 C99.3112722,145.362594 101.306529,145.836665 103.563681,145.836665 C105.738278,145.836665 107.692413,145.362594 109.428588,144.417267 C111.164919,143.47194 112.523964,142.168401 113.513071,140.501023 C114.499832,138.836146 114.996106,136.959251 114.995793,134.870493 C114.995793,132.753748 114.549397,130.871381 113.661922,129.22042 C112.771788,127.569771 111.531574,126.277021 109.93565,125.345454 C108.340039,124.413886 106.529126,123.948102 104.495249,123.948102 C102.634928,123.948102 100.95379,124.457978 99.4598102,125.472258 C100.193119,124.005953 101.110771,122.539961 102.210422,121.070842 L109.618717,110.741195 Z M141.45448,110.741039 L123.757504,110.741039 L121.811968,129.790962 L126.086736,130.893427 C126.538605,130.102423 127.208433,129.468556 128.098567,128.986199 C128.986042,128.506655 130.066461,128.266806 131.336852,128.266806 C133.22735,128.266806 134.779025,128.867681 135.991721,130.066617 C137.204417,131.265397 137.813579,132.839119 137.813579,134.787625 C137.813579,136.763806 137.204417,138.365202 135.991721,139.591501 C134.779025,140.8178 133.213591,141.432434 131.29276,141.432434 C129.600208,141.432434 128.161578,141.010899 126.976714,140.161887 C125.791537,139.315846 124.956284,138.144428 124.476897,136.647946 L120.541108,138.976866 C121.161372,141.010899 122.423476,142.66186 124.330861,143.929593 C126.235118,145.20014 128.555751,145.836665 131.292603,145.836665 C133.549756,145.836665 135.570186,145.362594 137.347795,144.417267 C139.125404,143.47194 140.500554,142.168401 141.473556,140.501023 C142.449372,138.836146 142.934232,136.931888 142.934232,134.787781 C142.934232,132.726386 142.482364,130.863094 141.581129,129.19853 C140.677236,127.53381 139.414819,126.230115 137.791689,125.282129 C136.168403,124.336802 134.313398,123.865546 132.224328,123.865546 C130.504726,123.865546 128.853765,124.386367 127.271601,125.43098 L128.33013,115.186704 L141.45448,115.186704 L141.45448,110.741039 Z M55.6465655,139.147607 C54.6846645,139.147607 53.9102342,139.437021 53.3176456,140.015851 C52.7250571,140.59468 52.427512,141.377397 52.427512,142.364002 C52.427512,143.350607 52.7250571,144.136139 53.3176456,144.714968 C53.9103905,145.290827 54.6848209,145.580241 55.6465655,145.580241 C56.6058084,145.580241 57.3747663,145.290983 57.9534392,144.714968 C58.529454,144.136139 58.821683,143.350764 58.821683,142.364002 C58.821683,141.377241 58.529454,140.594523 57.9534392,140.015851 C57.3747663,139.437021 56.6058084,139.147607 55.6465655,139.147607 Z M24.4449808,110.741039 L18.8998219,110.741039 L18.8998219,145.285354 L24.4449808,145.285354 L24.4449808,129.537197 L40.6589225,129.537197 L40.6589225,145.285354 L46.2042378,145.285354 L46.2042378,110.741039 L40.6589225,110.741039 L40.6589225,124.838235 L24.4449808,124.838235 L24.4449808,110.741039 Z M75.7082674,110.189572 C72.9165343,110.189572 70.5874581,110.804206 68.7243222,112.033476 C66.8613427,113.259931 65.549361,115.045827 64.78869,117.38835 L68.7243222,119.714455 C69.2315405,118.080224 70.0639788,116.815149 71.2214809,115.927674 C72.378983,115.03754 73.8176129,114.593802 75.5401849,114.593802 C77.4033208,114.593802 78.8779125,115.145113 79.9636473,116.244763 C81.0495384,117.34457 81.5925622,118.827136 81.5925622,120.690272 C81.5925622,121.988494 81.2975187,123.201034 80.7050865,124.331017 C80.1123417,125.458186 79.1091627,126.728733 77.6982079,128.139845 L64.4054619,141.685887 L64.4054619,145.285354 L87.0964432,145.285354 L87.0964432,140.881124 L71.8581618,140.881124 L80.7906132,131.653785 C82.9622391,129.424151 84.5276735,127.511451 85.4895745,125.918498 C86.4488174,124.32273 86.9282043,122.567011 86.9282043,120.646023 C86.9282043,118.642323 86.4542899,116.845482 85.5088063,115.249715 C84.5636354,113.656762 83.2380508,112.413577 81.5290817,111.523443 C79.8230834,110.635968 77.8828641,110.189572 75.7082674,110.189572 Z M103.563681,128.352176 C105.484825,128.352176 107.01461,128.939136 108.158197,130.107895 C109.30194,131.279157 109.872326,132.866637 109.872326,134.870337 C109.872326,136.846362 109.285366,138.433842 108.116919,139.632779 C106.945501,140.83453 105.426817,141.432434 103.563681,141.432434 C101.673027,141.432434 100.14887,140.83453 98.9941826,139.632779 C97.8365241,138.433842 97.2578513,136.846362 97.2578513,134.870337 C97.2578513,132.866637 97.8283936,131.279157 98.9722928,130.107895 C100.115879,128.939136 101.645508,128.352176 103.563681,128.352176 Z M154.355555,5.64444492 L5.64585212,5.64444492 L5.64585212,92.9561901 L154.355555,92.9561901 L154.355555,5.64444492 Z M94.3970089,22.5333746 L98.6992955,55.1762472 L102.243569,22.5333746 L114.367555,22.5333746 L103.673912,79.5288218 L93.8045767,79.5288218 L82.2207998,22.5333746 L94.3970089,22.5333746 Z M133.957688,22.0815063 C135.942156,22.0815063 137.890819,22.4426883 139.803519,23.1564526 L139.803519,30.3414713 C138.576908,29.9250958 137.402832,29.712921 136.286608,29.712921 C134.084493,29.712921 132.210412,30.5921097 130.658737,32.3504872 C127.98818,35.4014582 126.654308,41.1148561 126.654308,49.4877099 C126.654308,58.3208754 127.547256,64.18844 129.333152,67.0907167 C131.11639,69.9956514 133.489402,71.4452261 136.449531,71.4452261 C137.568413,71.4452261 138.687295,71.2136632 139.803519,70.753508 L139.803519,78.313468 C138.290308,79.1235475 136.42983,79.5288218 134.230529,79.5288218 C128.167051,79.5288218 123.325024,76.9711533 119.700696,71.8614453 C116.07371,66.7487665 114.259983,59.605182 114.259983,50.4247503 C114.259983,40.1556131 116.927726,32.3973939 122.271967,27.147122 C125.733372,23.7710873 129.628039,22.0815063 133.957688,22.0815063 Z M36.3816528,22.5333746 L36.3816528,47.8589514 L42.444975,47.8589514 L42.444975,22.5333746 L54.3484995,22.5333746 L54.3484995,79.0766407 L42.444975,79.0766407 L42.444975,55.2120527 L36.3816528,55.2120527 L36.3816528,79.0766407 L24.4753139,79.0766407 L24.4753139,22.5333746 L36.3816528,22.5333746 Z M80.5421638,22.5333746 L80.5421638,30.0271961 L72.1555506,30.0271961 L72.1555506,47.8589514 L80.5421638,47.8589514 L80.5421638,55.2120527 L72.1555506,55.2120527 L72.1555506,71.6545866 L80.5421638,71.6545866 L80.5421638,79.0766407 L60.2492116,79.0766407 L60.2492116,22.5333746 L80.5421638,22.5333746 Z" id="hy-icon-Miscellaneous-h265-H.265" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,29 @@
1
+ export default {
2
+ id: 'hy-icon-map-marker-v3-lawenforce-screen-mark',
3
+ defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-map-marker-v3-lawenforce-screen-mark-linearGradient-1">
4
+ <stop stop-color="#FF0505" offset="0%"></stop>
5
+ <stop stop-color="#FF8484" offset="100%"></stop>
6
+ </linearGradient>
7
+ <radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="108.602576%" gradientTransform="translate(0.5, 0.5), scale(0.4306, 1), scale(1, 0.4854), translate(-0.5, -0.5)" id="hy-icon-map-marker-v3-lawenforce-screen-mark-radialGradient-2">
8
+ <stop stop-color="#FF4D4D" stop-opacity="0.456785402" offset="0%"></stop>
9
+ <stop stop-color="#FF4D4D" stop-opacity="0" offset="100%"></stop>
10
+ </radialGradient>`,
11
+ symbol: `<symbol id="hy-icon-map-marker-v3-lawenforce-screen-mark" viewBox="0 0 72 98">
12
+ <g id="hy-icon-map-marker-v3-lawenforce-screen-mark-Mark_01" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
13
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-48" fill="#FF8888" cx="36" cy="78.0636926" rx="5" ry="2.5"></ellipse>
14
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-49" fill="#FF4D4D" opacity="0.407459077" cx="57" cy="91.0636926" rx="3" ry="1.5"></ellipse>
15
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-50" fill="#FF4D4D" opacity="0.407459077" cx="15" cy="68.0636926" rx="3" ry="1.5"></ellipse>
16
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-51" fill="#FF4D4D" opacity="0.407459077" cx="15" cy="91.0636926" rx="3" ry="1.5"></ellipse>
17
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-52" fill="#FF4D4D" opacity="0.407459077" cx="36" cy="96.0636926" rx="3" ry="1.5"></ellipse>
18
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-53" fill="#FF4D4D" opacity="0.407459077" transform="translate(57, 68.0637) scale(-1, 1) translate(-57, -68.0637)" cx="57" cy="68.0636926" rx="3" ry="1.5"></ellipse>
19
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-54" fill="#FF4D4D" opacity="0.407459077" transform="translate(64, 79.0637) scale(-1, 1) translate(-64, -79.0637)" cx="64" cy="79.0636926" rx="3" ry="1.5"></ellipse>
20
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-55" fill="#FF4D4D" opacity="0.407459077" transform="translate(8, 79.0637) scale(-1, 1) translate(-8, -79.0637)" cx="8" cy="79.0636926" rx="3" ry="1.5"></ellipse>
21
+ <path d="M36,72.5636926 C43.1797017,72.5636926 49,75.2499841 49,78.5636926 C49,81.8774011 43.1797017,84.5636926 36,84.5636926 C28.8202983,84.5636926 23,81.8774011 23,78.5636926 C23,75.2499841 28.8202983,72.5636926 36,72.5636926 Z M36,74.5636926 C29.7948854,74.5636926 25,76.7767166 25,78.5636926 C25,80.3506686 29.7948854,82.5636926 36,82.5636926 C42.2051146,82.5636926 47,80.3506686 47,78.5636926 C47,76.7767166 42.2051146,74.5636926 36,74.5636926 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-56" fill="#FF4D4D" fill-rule="nonzero"></path>
22
+ <path d="M36,69.5636926 C45.3888407,69.5636926 53,73.5931299 53,78.5636926 C53,83.5342553 45.3888407,87.5636926 36,87.5636926 C26.6111593,87.5636926 19,83.5342553 19,78.5636926 C19,73.5931299 26.6111593,69.5636926 36,69.5636926 Z M36,70.5636926 C27.0904754,70.5636926 20,74.3174737 20,78.5636926 C20,82.8099115 27.0904754,86.5636926 36,86.5636926 C44.9095246,86.5636926 52,82.8099115 52,78.5636926 C52,74.3174737 44.9095246,70.5636926 36,70.5636926 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-57" fill="#FF4D4D" fill-rule="nonzero"></path>
23
+ <polygon id="hy-icon-map-marker-v3-lawenforce-screen-mark-路径-33备份-4" fill="url(#hy-icon-map-marker-v3-lawenforce-screen-mark-linearGradient-1)" fill-rule="nonzero" points="37 78.0636926 37 0 35 0 35 78.0636926"></polygon>
24
+ <path d="M35.9523762,63.274499 C36.2272631,63.2481971 36.4714249,63.4497151 36.4977268,63.724602 C37.1779365,70.8336239 38.6527848,75.5011345 40.8687883,77.7095319 C41.0643858,77.9044581 41.06493,78.2210401 40.8700038,78.4166377 C40.6750777,78.6122352 40.3584956,78.6127794 40.1628981,78.4178533 C37.7385609,76.0018372 36.2028472,71.1417033 35.5022732,63.8198496 C35.4759713,63.5449626 35.6774893,63.3008009 35.9523762,63.274499 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-路径-34备份-8" fill="#FF8484" fill-rule="nonzero"></path>
25
+ <path d="M31.4433932,63.2744706 C31.7182958,63.248333 31.9623371,63.4499969 31.9884747,63.7248995 C32.6643871,70.8338239 34.1370697,75.5012278 36.3529796,77.7095319 C36.5485771,77.9044581 36.5491213,78.2210401 36.3541952,78.4166377 C36.159269,78.6122352 35.8426869,78.6127794 35.6470894,78.4178533 C33.2226586,76.0017439 31.6891312,71.1415032 30.9929643,63.8195521 C30.9668267,63.5446495 31.1684906,63.3006082 31.4433932,63.2744706 Z" id="hy-icon-map-marker-v3-lawenforce-screen-mark-路径-34备份-9" fill="#FF8484" fill-rule="nonzero" transform="translate(33.7454, 70.9179) scale(-1, 1) translate(-33.7454, -70.9179)"></path>
26
+ <ellipse id="hy-icon-map-marker-v3-lawenforce-screen-mark-椭圆形备份-47" fill="url(#hy-icon-map-marker-v3-lawenforce-screen-mark-radialGradient-2)" cx="36" cy="79.5" rx="36" ry="15.5"></ellipse>
27
+ </g>
28
+ </symbol>`,
29
+ };
package/es/utils/is.mjs CHANGED
@@ -44,7 +44,7 @@ function isPermission(permission) {
44
44
  if (!permission) {
45
45
  return true;
46
46
  }
47
- return permissionMap.has(permission);
47
+ return permissionMap.value.has(permission);
48
48
  }
49
49
 
50
50
  export { isArray, isBoolean, isEmpty, isFile, isFunction, isNull, isNumber, isObject, isOverflowing, isPermission, isString, isSupportH265, isSymbol, isUndefined, isVueProxy };
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.28";
1
+ const version = "0.2.30";
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(() => {
@@ -148,7 +148,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
148
148
  "range-separator": vue.unref(t)("datePicker.to"),
149
149
  "end-placeholder": endPlaceholder.value,
150
150
  onChange: onChangeHandler
151
- }), null, 16, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
151
+ }), vue.createSlots({
152
+ _: 2
153
+ /* DYNAMIC */
154
+ }, [
155
+ vue.renderList(_ctx.$slots, (_, slotName) => {
156
+ return {
157
+ name: slotName,
158
+ fn: vue.withCtx((scope) => [
159
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
160
+ ])
161
+ };
162
+ })
163
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
152
164
  };
153
165
  }
154
166
  });