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
package/dist/tailwind.css CHANGED
@@ -996,6 +996,10 @@ video {
996
996
  width: 0.125rem;
997
997
  }
998
998
 
999
+ .w-3 {
1000
+ width: 0.75rem;
1001
+ }
1002
+
999
1003
  .w-4 {
1000
1004
  width: 1rem;
1001
1005
  }
@@ -188,7 +188,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
188
188
  }, [
189
189
  createElementVNode("div", { class: "point point_dot" }, [
190
190
  createElementVNode("div", { class: "flex items-center justify-center" }, [
191
- createVNode(unref(HyIcon), { "svg-name": "menu-menu_micphone_v2-select" })
191
+ createVNode(unref(HyIcon), { "svg-name": "layout-sidenav-menu-micphone-v2" })
192
192
  ])
193
193
  ]),
194
194
  withDirectives(createElementVNode(
@@ -242,7 +242,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
242
242
  [
243
243
  createElementVNode("div", { onClick: unref(playPrevious) }, [
244
244
  createVNode(unref(HyIcon), {
245
- "svg-name": unref(isAnalyseType) ? "player--interpretation-last" : "player-audio_previous-btn",
245
+ "svg-name": unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-last" : "ops-audio-audio-previous-btn",
246
246
  "class-name": "last-icon"
247
247
  }, null, 8, ["svg-name"])
248
248
  ], 8, ["onClick"]),
@@ -250,17 +250,17 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
250
250
  key: 0,
251
251
  onClick: ($event) => unref(playAudio)(unref(audioUrl))
252
252
  }, [
253
- createVNode(unref(HyIcon), { "svg-name": "player-audio_play-btn" })
253
+ createVNode(unref(HyIcon), { "svg-name": "ops-audio-audio-play-btn" })
254
254
  ], 8, ["onClick"])) : createCommentVNode("v-if", true),
255
255
  unref(audioState) === "PLAYING" ? (openBlock(), createElementBlock("div", {
256
256
  key: 1,
257
257
  onClick: unref(pauseAudio)
258
258
  }, [
259
- createVNode(unref(HyIcon), { "svg-name": "player-audio_pause-btn" })
259
+ createVNode(unref(HyIcon), { "svg-name": "ops-audio-audio-pause-btn" })
260
260
  ], 8, ["onClick"])) : createCommentVNode("v-if", true),
261
261
  createElementVNode("div", { onClick: unref(playNext) }, [
262
262
  createVNode(unref(HyIcon), {
263
- "svg-name": unref(isAnalyseType) ? "player--interpretation-next" : "player-audio_next-btn",
263
+ "svg-name": unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-next" : "ops-audio-audio-next-btn",
264
264
  "class-name": "next-icon"
265
265
  }, null, 8, ["svg-name"])
266
266
  ], 8, ["onClick"]),
@@ -375,7 +375,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
375
375
  }, {
376
376
  default: withCtx(() => [
377
377
  createVNode(unref(HyIcon), {
378
- "svg-name": "player-audio_down-btn",
378
+ "svg-name": "ops-audio-audio-down-btn",
379
379
  onClick: unref(onDownloadHandler)
380
380
  }, null, 8, ["onClick"])
381
381
  ]),
@@ -429,7 +429,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
429
429
  content: unref(t)("audioPlayer.adjustPlaybackVolume")
430
430
  }, {
431
431
  default: withCtx(() => [
432
- createVNode(unref(HyIcon), { "svg-name": "player-audio_volumn" })
432
+ createVNode(unref(HyIcon), { "svg-name": "dispatch-share-audio-volumn" })
433
433
  ]),
434
434
  _: 1
435
435
  /* STABLE */
@@ -31,17 +31,17 @@ const useAudioPlayer = (hy) => {
31
31
  {
32
32
  value: 1,
33
33
  label: t("audioPlayer.stopAfterPlayback"),
34
- svgName: "player-mediaCenter_stopPlaying"
34
+ svgName: "ops-audio-media-center-stop-playing"
35
35
  },
36
36
  {
37
37
  value: 2,
38
38
  label: t("audioPlayer.continuousPlayback"),
39
- svgName: "player-mediaCenter_autoplay"
39
+ svgName: "ops-audio-media-center-autoplay"
40
40
  },
41
41
  {
42
42
  value: 3,
43
43
  label: t("audioPlayer.loopPlayback"),
44
- svgName: "player-mediaCenter_loopPlayback"
44
+ svgName: "ops-audio-media-center-loop-playback"
45
45
  }
46
46
  ];
47
47
  const isAnalyseType = computed(() => {
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, mergeModels } from 'vue';
1
+ import { defineComponent, useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels } from 'vue';
2
2
  import { ElDatePicker } from 'element-plus';
3
3
  import { getDefaultValueFormatByType } from '../../utils/date.mjs';
4
4
  import { isArray } from '../../utils/is.mjs';
@@ -144,7 +144,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
144
144
  "range-separator": unref(t)("datePicker.to"),
145
145
  "end-placeholder": endPlaceholder.value,
146
146
  onChange: onChangeHandler
147
- }), null, 16, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
147
+ }), createSlots({
148
+ _: 2
149
+ /* DYNAMIC */
150
+ }, [
151
+ renderList(_ctx.$slots, (_, slotName) => {
152
+ return {
153
+ name: slotName,
154
+ fn: withCtx((scope) => [
155
+ renderSlot(_ctx.$slots, slotName, normalizeProps(guardReactiveProps(scope)))
156
+ ])
157
+ };
158
+ })
159
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type", "format", "valueFormat", "start-placeholder", "range-separator", "end-placeholder"]);
148
160
  };
149
161
  }
150
162
  });
@@ -21,6 +21,10 @@ const _sfc_main = {
21
21
  type: Object,
22
22
  default: () => ({})
23
23
  },
24
+ rules: {
25
+ type: Object,
26
+ default: () => ({})
27
+ },
24
28
  columnNum: {
25
29
  type: Number,
26
30
  default: 1
@@ -240,6 +244,7 @@ const _sfc_main = {
240
244
  key: cindex,
241
245
  model: item,
242
246
  column: citem,
247
+ rules: __props.rules,
243
248
  "parent-prop": __props.column.field,
244
249
  index,
245
250
  loading: __props.loading,
@@ -256,7 +261,7 @@ const _sfc_main = {
256
261
  ])
257
262
  };
258
263
  })
259
- ]), 1032, ["model", "column", "parent-prop", "index", "loading", "readonly"]);
264
+ ]), 1032, ["model", "column", "rules", "parent-prop", "index", "loading", "readonly"]);
260
265
  }),
261
266
  128
262
267
  /* KEYED_FRAGMENT */
@@ -16,6 +16,10 @@ const _sfc_main = {
16
16
  type: Object,
17
17
  default: () => ({})
18
18
  },
19
+ rules: {
20
+ type: Object,
21
+ default: () => ({})
22
+ },
19
23
  columnNum: {
20
24
  type: Number,
21
25
  default: 1
@@ -105,6 +109,7 @@ const _sfc_main = {
105
109
  key: index,
106
110
  model: __props.model,
107
111
  column: item,
112
+ rules: __props.rules,
108
113
  loading: __props.loading,
109
114
  readonly: __props.readonly
110
115
  }, createSlots({
@@ -119,7 +124,7 @@ const _sfc_main = {
119
124
  ])
120
125
  };
121
126
  })
122
- ]), 1032, ["model", "column", "loading", "readonly"]);
127
+ ]), 1032, ["model", "column", "rules", "loading", "readonly"]);
123
128
  }),
124
129
  128
125
130
  /* KEYED_FRAGMENT */
@@ -22,6 +22,10 @@ const _sfc_main = {
22
22
  type: Object,
23
23
  default: () => ({})
24
24
  },
25
+ rules: {
26
+ type: Object,
27
+ default: () => ({})
28
+ },
25
29
  parentProp: {
26
30
  type: String
27
31
  },
@@ -165,6 +165,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
165
165
  key: 0,
166
166
  model: __props.model,
167
167
  column,
168
+ rules: __props.rules,
168
169
  columnNum: __props.columnNum,
169
170
  loading: __props.loading,
170
171
  readonly: __props.readonly,
@@ -181,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
181
182
  ])
182
183
  };
183
184
  })
184
- ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "style"])) : createCommentVNode("v-if", true)
185
+ ]), 1032, ["model", "column", "rules", "columnNum", "loading", "readonly", "style"])) : createCommentVNode("v-if", true)
185
186
  ],
186
187
  64
187
188
  /* STABLE_FRAGMENT */
@@ -194,6 +195,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
194
195
  key: 0,
195
196
  model: __props.model,
196
197
  column,
198
+ rules: __props.rules,
197
199
  columnNum: __props.columnNum,
198
200
  loading: __props.loading,
199
201
  readonly: __props.readonly,
@@ -211,7 +213,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
211
213
  ])
212
214
  };
213
215
  })
214
- ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "size", "style"])) : createCommentVNode("v-if", true)
216
+ ]), 1032, ["model", "column", "rules", "columnNum", "loading", "readonly", "size", "style"])) : createCommentVNode("v-if", true)
215
217
  ],
216
218
  64
217
219
  /* STABLE_FRAGMENT */
@@ -223,6 +225,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
223
225
  createVNode(_sfc_main$3, {
224
226
  model: __props.model,
225
227
  column,
228
+ rules: __props.rules,
226
229
  loading: __props.loading,
227
230
  readonly: __props.readonly
228
231
  }, createSlots({
@@ -237,7 +240,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
237
240
  ])
238
241
  };
239
242
  })
240
- ]), 1032, ["model", "column", "loading", "readonly"])
243
+ ]), 1032, ["model", "column", "rules", "loading", "readonly"])
241
244
  ],
242
245
  64
243
246
  /* STABLE_FRAGMENT */
@@ -7,3 +7,9 @@
7
7
  fill: currentColor;
8
8
  outline: none;
9
9
  }
10
+ .hy-button {
11
+ .hy-icon {
12
+ width: 14px;
13
+ height: 14px;
14
+ }
15
+ }
@@ -1,4 +1,4 @@
1
- import { useModel, useTemplateRef, computed, openBlock, createBlock, unref, mergeProps, mergeModels, defineComponent } from 'vue';
1
+ import { useModel, useTemplateRef, computed, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels, defineComponent } from 'vue';
2
2
  import { ElInput } from 'element-plus';
3
3
  import { clearSpace } from '../../utils/form.mjs';
4
4
 
@@ -93,7 +93,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
93
93
  modelValue: bindValue.value,
94
94
  "onUpdate:modelValue": ($event) => bindValue.value = $event,
95
95
  type: __props.type
96
- }, _ctx.$attrs, { onBlur: onBlurHandler }), null, 16, ["modelValue", "onUpdate:modelValue", "type"]);
96
+ }, _ctx.$attrs, { onBlur: onBlurHandler }), createSlots({
97
+ _: 2
98
+ /* DYNAMIC */
99
+ }, [
100
+ renderList(_ctx.$slots, (_, slotName) => {
101
+ return {
102
+ name: slotName,
103
+ fn: withCtx((scope) => [
104
+ renderSlot(_ctx.$slots, slotName, normalizeProps(guardReactiveProps(scope)))
105
+ ])
106
+ };
107
+ })
108
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "type"]);
97
109
  };
98
110
  }
99
111
  });
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
11
11
  props: {
12
12
  svgName: {
13
13
  type: String,
14
- default: "2-v3-base-no-data-noData"
14
+ default: "ops-list-no-data"
15
15
  }
16
16
  },
17
17
  emits: [],
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
11
11
  props: {
12
12
  svgName: {
13
13
  type: String,
14
- default: "2-v3-base-no-data-noData"
14
+ default: "ops-list-no-data"
15
15
  }
16
16
  },
17
17
  emits: [],