hy-dispatch-ui-v3 0.2.33 → 0.2.34

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 (75) hide show
  1. package/dist/tailwind.css +20 -8
  2. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +1 -1
  3. package/es/components/hyAudioPlayer/js/index.mjs +1 -1
  4. package/es/components/hyButton/button.vue.mjs +49 -34
  5. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -1
  6. package/es/components/hyConfirmDialog/confirmMethod.mjs +1 -1
  7. package/es/components/hyConfirmDialog/index.mjs +1 -1
  8. package/es/components/hyCutter/cutter.vue.mjs +1 -1
  9. package/es/components/hyDatePicker/datePicker.vue.mjs +1 -1
  10. package/es/components/hyDialog/dialog.vue.mjs +178 -137
  11. package/es/components/hyDialog/style/dialog.scss +13 -0
  12. package/es/components/hyForm/cpns/formItem.vue.mjs +3 -4
  13. package/es/components/hyForm/js/useAppForm.mjs +1 -1
  14. package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -1
  15. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -1
  16. package/es/components/hyOrgCascader/orgCascader.vue.mjs +1 -1
  17. package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -9
  18. package/es/components/hySearch/js/index.mjs +4 -4
  19. package/es/components/hySearch/style/search.scss +1 -0
  20. package/es/components/hyTable/cpns/columnSelect.vue.mjs +39 -42
  21. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +5 -8
  22. package/es/components/hyTable/cpns/headerItem.vue.mjs +1 -1
  23. package/es/components/hyTable/cpns/virtualTable.vue.mjs +6 -10
  24. package/es/components/hyTable/js/index.mjs +1 -1
  25. package/es/components/hyTable/js/useAppTable.mjs +1 -1
  26. package/es/components/hyTable/style/table.scss +13 -0
  27. package/es/components/hyTable/table.vue.mjs +22 -18
  28. package/es/components/hyTableForm/js/useAppTableForm.mjs +1 -1
  29. package/es/components/hyTableForm/tableForm.vue.mjs +3 -3
  30. package/es/components/hyTooltip/tooltip.vue.mjs +4 -4
  31. package/es/components/hyTree/style/index.css +1 -0
  32. package/es/components/hyTree/tree.vue.mjs +2 -0
  33. package/es/components/hyUserAvatar/userAvatar.vue.mjs +2 -2
  34. package/es/components/hyVideoPlayer/js/index.mjs +1 -1
  35. package/es/locale/en.mjs +1 -1
  36. package/es/locale/zh_CN.mjs +1 -1
  37. package/es/style/element/hy-element.scss +3 -2
  38. package/es/version.mjs +1 -1
  39. package/lib/components/hyAudioPlayer/js/index.js +1 -1
  40. package/lib/components/hyButton/button.vue.js +49 -34
  41. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -1
  42. package/lib/components/hyConfirmDialog/confirmMethod.js +1 -1
  43. package/lib/components/hyConfirmDialog/index.js +1 -1
  44. package/lib/components/hyCutter/cutter.vue.js +1 -1
  45. package/lib/components/hyDatePicker/datePicker.vue.js +1 -1
  46. package/lib/components/hyDialog/dialog.vue.js +177 -136
  47. package/lib/components/hyDialog/style/dialog.scss +13 -0
  48. package/lib/components/hyForm/cpns/formItem.vue.js +3 -4
  49. package/lib/components/hyForm/js/useAppForm.js +1 -1
  50. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -1
  51. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -1
  52. package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -1
  53. package/lib/components/hySearch/cpns/searchItem.vue.js +3 -9
  54. package/lib/components/hySearch/js/index.js +4 -4
  55. package/lib/components/hySearch/style/search.scss +1 -0
  56. package/lib/components/hyTable/cpns/columnSelect.vue.js +43 -46
  57. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +4 -7
  58. package/lib/components/hyTable/cpns/headerItem.vue.js +1 -1
  59. package/lib/components/hyTable/cpns/virtualTable.vue.js +6 -10
  60. package/lib/components/hyTable/js/index.js +1 -1
  61. package/lib/components/hyTable/js/useAppTable.js +1 -1
  62. package/lib/components/hyTable/style/table.scss +13 -0
  63. package/lib/components/hyTable/table.vue.js +21 -17
  64. package/lib/components/hyTableForm/js/useAppTableForm.js +1 -1
  65. package/lib/components/hyTableForm/tableForm.vue.js +3 -3
  66. package/lib/components/hyTooltip/tooltip.vue.js +4 -4
  67. package/lib/components/hyTree/style/index.css +1 -0
  68. package/lib/components/hyTree/tree.vue.js +2 -0
  69. package/lib/components/hyUserAvatar/userAvatar.vue.js +2 -2
  70. package/lib/components/hyVideoPlayer/js/index.js +1 -1
  71. package/lib/locale/en.js +1 -1
  72. package/lib/locale/zh_CN.js +1 -1
  73. package/lib/style/element/hy-element.scss +3 -2
  74. package/lib/version.js +1 -1
  75. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { unref, toRef } from 'vue';
2
- import { genValueByProp } from '../../../utils/form.mjs';
3
2
  import { funRunHandler, mergeDeep } from '../../../utils/handler.mjs';
4
3
  import { isArray, isObject } from '../../../utils/is.mjs';
4
+ import { genValueByProp } from '../../../utils/form.mjs';
5
5
  import { useLocale } from '../../../hooks/useLocale.mjs';
6
6
 
7
7
  const genDefaultLabel = (config) => {
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
11
11
  props: {
12
12
  svgName: {
13
13
  type: String,
14
- default: "ops-list-no-data"
14
+ default: "analytics-v3-no-data-normal"
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: "ops-list-no-data"
14
+ default: "analytics-v3-no-data-normal"
15
15
  }
16
16
  },
17
17
  emits: [],
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useModel, useTemplateRef, ref, computed, watch, openBlock, createElementBlock, createElementVNode, normalizeStyle, createVNode, unref, renderSlot, toDisplayString, createCommentVNode, createBlock, normalizeClass, mergeModels } from 'vue';
2
2
  import { ElCascader } from 'element-plus';
3
- import { useLocale } from '../../hooks/useLocale.mjs';
4
3
  import { useApi } from '../../hooks/useApi.mjs';
4
+ import { useLocale } from '../../hooks/useLocale.mjs';
5
5
 
6
6
  import "./style/orgCascader.scss";
7
7
 
@@ -75,7 +75,7 @@ const _sfc_main = {
75
75
  prop: columnProp.value
76
76
  }, {
77
77
  default: withCtx(() => [
78
- createElementVNode("div", { class: "flex bg-background-2 rounded border border-transparent hover:border-theme box-border" }, [
78
+ createElementVNode("div", { class: "flex bg-background-2 rounded outline outline-1 outline-transparent outline-offset-0 hover:outline-theme box-border" }, [
79
79
  createElementVNode(
80
80
  "div",
81
81
  {
@@ -92,10 +92,7 @@ const _sfc_main = {
92
92
  }])
93
93
  },
94
94
  [
95
- __props.column.labelSlot && _ctx.$slots[__props.column.labelSlot] ? renderSlot(_ctx.$slots, __props.column.labelSlot, {
96
- key: 0,
97
- column: __props.column
98
- }) : (openBlock(), createElementBlock(
95
+ __props.column.labelSlot && _ctx.$slots[__props.column.labelSlot] ? renderSlot(_ctx.$slots, __props.column.labelSlot, { column: __props.column }, void 0, void 0, 0) : (openBlock(), createElementBlock(
99
96
  "span",
100
97
  { key: 1 },
101
98
  toDisplayString(__props.column.label),
@@ -115,10 +112,7 @@ const _sfc_main = {
115
112
  },
116
113
  [
117
114
  createCommentVNode(" \u81EA\u5B9A\u4E49\u5177\u540D\u63D2\u69FD "),
118
- __props.column.slot ? renderSlot(_ctx.$slots, __props.column.slot, {
119
- key: 0,
120
- column: __props.column
121
- }) : __props.column.type === "input" ? (openBlock(), createElementBlock(
115
+ __props.column.slot ? renderSlot(_ctx.$slots, __props.column.slot, { column: __props.column }, void 0, void 0, 0) : __props.column.type === "input" ? (openBlock(), createElementBlock(
122
116
  Fragment,
123
117
  { key: 1 },
124
118
  [
@@ -55,13 +55,13 @@ function useShrink(props, formItemWrapper) {
55
55
  function getContainerPickUpHeight() {
56
56
  switch (props.size) {
57
57
  case "large":
58
- return 43;
58
+ return 44;
59
59
  case "small":
60
- return 27;
60
+ return 28;
61
61
  case "":
62
62
  case "default":
63
63
  default:
64
- return 35;
64
+ return 36;
65
65
  }
66
66
  }
67
67
  function switchShrink() {
@@ -74,7 +74,7 @@ function useShrink(props, formItemWrapper) {
74
74
  if (container.children.length) {
75
75
  for (let i = 0; i < container.children.length; i++) {
76
76
  const element = container.children[i];
77
- if (i > 0 && element.offsetLeft === 0) {
77
+ if (i > 0 && element.offsetLeft <= 1) {
78
78
  showShrink.value = true;
79
79
  break;
80
80
  } else if (i === container.children.length - 1) {
@@ -33,6 +33,7 @@
33
33
  flex-wrap: wrap;
34
34
  gap: 16px;
35
35
  position: relative;
36
+ padding: 1px;
36
37
  .hy-el-form-item {
37
38
  margin-bottom: 0;
38
39
  &.hidden {
@@ -5,6 +5,7 @@ import { CircleClose, Warning, Edit } from '@element-plus/icons-vue';
5
5
  import { tableColumnHandler } from '../js/index.mjs';
6
6
  import _sfc_main$1 from './columnSelectItem.vue.mjs';
7
7
  import { useLocale } from '../../../hooks/useLocale.mjs';
8
+ import { HyTooltip } from '../../hyTooltip/index.mjs';
8
9
  import { HyButton } from '../../hyButton/index.mjs';
9
10
  import { isEmpty } from '../../../utils/is.mjs';
10
11
 
@@ -228,7 +229,7 @@ const _sfc_main = {
228
229
  /* STABLE */
229
230
  })
230
231
  ]),
231
- createElementVNode("div", { class: "h-[364px] px-4 pt-[11px] pb-1 overflow-y-auto" }, [
232
+ createElementVNode("div", { class: "h-[364px] px-4 pt-[11px] pb-1 scroll-body overflow-y-auto" }, [
232
233
  createVNode(unref(ElCheckboxGroup), {
233
234
  modelValue: checkedList.value,
234
235
  "onUpdate:modelValue": ($event) => checkedList.value = $event
@@ -299,48 +300,44 @@ const _sfc_main = {
299
300
  /* STABLE */
300
301
  }, 8, ["modelValue", "onUpdate:modelValue"])
301
302
  ]),
302
- createElementVNode("div", { class: "flex items-center pt-[5px] pb-4 pl-[14px] pr-3" }, [
303
- createElementVNode(
304
- "span",
305
- null,
306
- toDisplayString(unref(t)("table.haveBeenSelected", [checkedList.value?.length || 0])),
307
- 1
308
- /* TEXT */
309
- ),
310
- showClear.value ? (openBlock(), createElementBlock(
311
- "span",
312
- {
313
- key: 0,
314
- class: "clickBox text-danger-2 ml-3",
315
- onClick: onClearHandler
316
- },
317
- toDisplayString(unref(t)("table.clear")),
318
- 1
319
- /* TEXT */
320
- )) : createCommentVNode("v-if", true),
321
- createElementVNode("div", { class: "flex items-center ml-auto" }, [
322
- checkedList.value?.length >= 8 ? (openBlock(), createElementBlock("span", {
303
+ createElementVNode("div", { class: "flex items-center pt-[5px] pb-4 pl-[14px] pr-3 overflow-hidden" }, [
304
+ createElementVNode("div", { class: "flex items-center" }, [
305
+ createElementVNode(
306
+ "span",
307
+ null,
308
+ toDisplayString(unref(t)("table.selectedNumberItems", [checkedList.value?.length || 0])),
309
+ 1
310
+ /* TEXT */
311
+ ),
312
+ showClear.value ? (openBlock(), createElementBlock(
313
+ "span",
314
+ {
315
+ key: 0,
316
+ class: "clickBox text-danger-2 ml-3",
317
+ onClick: onClearHandler
318
+ },
319
+ toDisplayString(unref(t)("table.clear")),
320
+ 1
321
+ /* TEXT */
322
+ )) : createCommentVNode("v-if", true)
323
+ ]),
324
+ createElementVNode("div", { class: "w-0 flex-1 flex items-center justify-end ml-3" }, [
325
+ createVNode(unref(ElIcon), {
326
+ class: "mr-1.5",
327
+ color: "rgb(var(--hy-auxiliary))"
328
+ }, {
329
+ default: withCtx(() => [
330
+ createVNode(unref(Warning))
331
+ ]),
332
+ _: 1
333
+ /* STABLE */
334
+ }),
335
+ checkedList.value?.length >= 8 ? (openBlock(), createBlock(unref(HyTooltip), {
323
336
  key: 0,
324
- class: "flex items-center mr-2 text-auxiliary"
325
- }, [
326
- createVNode(unref(ElIcon), {
327
- class: "mr-1.5",
328
- color: "rgb(var(--hy-auxiliary))"
329
- }, {
330
- default: withCtx(() => [
331
- createVNode(unref(Warning))
332
- ]),
333
- _: 1
334
- /* STABLE */
335
- }),
336
- createElementVNode(
337
- "span",
338
- null,
339
- toDisplayString(unref(t)("table.tooManyFieldsWillAffectReadability")),
340
- 1
341
- /* TEXT */
342
- )
343
- ])) : createCommentVNode("v-if", true),
337
+ "is-always": false,
338
+ content: unref(t)("table.tooManyFieldsWillAffectReadability"),
339
+ class: "mr-2 text-auxiliary"
340
+ }, null, 8, ["content"])) : createCommentVNode("v-if", true),
344
341
  createVNode(unref(HyButton), {
345
342
  type: "primary",
346
343
  size: "small",
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createElementBlock, createCommentVNode, Fragment, renderList, normalizeClass, createVNode, withModifiers } from 'vue';
2
2
  import { ElPopover, ElIcon, ElCheckbox } from 'element-plus';
3
- import { Lock, DCaret } from '@element-plus/icons-vue';
3
+ import { Lock } from '@element-plus/icons-vue';
4
4
  import { renderHeaderHandler } from '../js/index.mjs';
5
5
  import { useLocale } from '../../../hooks/useLocale.mjs';
6
6
  import { HyTooltip } from '../../hyTooltip/index.mjs';
@@ -90,16 +90,13 @@ const _sfc_main = {
90
90
  )),
91
91
  __props.columnsLength > 1 ? (openBlock(), createElementBlock("div", {
92
92
  key: 2,
93
- class: "w-5 h-full flex items-center justify-center handle cursor-grab ml-3",
93
+ class: "h-full flex items-center justify-center handle cursor-grab ml-3",
94
94
  onClick: withModifiers(() => {
95
95
  }, ["stop"])
96
96
  }, [
97
- createVNode(unref(ElIcon), null, {
98
- default: withCtx(() => [
99
- createVNode(unref(DCaret))
100
- ]),
101
- _: 1
102
- /* STABLE */
97
+ createElementVNode("div", {
98
+ class: "w-5 h-2.5",
99
+ style: { "background": "radial-gradient(\n circle,\n rgba(var(--hy-theme)) 1px,\n transparent 2px\n )\n 0px 0px / 5px 5px" }
103
100
  })
104
101
  ], 8, ["onClick"])) : createCommentVNode("v-if", true)
105
102
  ])) : createCommentVNode("v-if", true)
@@ -90,7 +90,7 @@ const _sfc_main = {
90
90
  }, 8, ["color", "onClick"])
91
91
  ]),
92
92
  renderSlot(_ctx.$slots, "default")
93
- ], 8, ["onClick"])) : renderSlot(_ctx.$slots, "default", { key: 1 });
93
+ ], 8, ["onClick"])) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1);
94
94
  };
95
95
  }
96
96
  };
@@ -355,9 +355,8 @@ const _sfc_main = {
355
355
  row: withCtx(({ columns, depth, rowData: row, rowIndex: $index }) => [
356
356
  createCommentVNode(" \u5C55\u5F00\u5185\u5BB9 "),
357
357
  depth > 0 && isExpandTable.value ? renderSlot(_ctx.$slots, expandColumn.value.slot, {
358
- key: 0,
359
358
  row: dataSourceMap.value.get(row.dataKey)
360
- }) : (openBlock(), createElementBlock(
359
+ }, void 0, void 0, 0) : (openBlock(), createElementBlock(
361
360
  Fragment,
362
361
  { key: 1 },
363
362
  [
@@ -422,10 +421,7 @@ const _sfc_main = {
422
421
  indeterminate: indeterminateKeys.value.has(getRowKey(row)),
423
422
  disabled: !isSelectable(row),
424
423
  onClick: withModifiers(($event) => switchCheckHandler(row), ["stop"])
425
- }, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : column?.slot && (column.type !== "expand" || !isExpandTable.value) ? renderSlot(_ctx.$slots, column?.slot, mergeProps({
426
- key: 2,
427
- ref_for: true
428
- }, { column, row, $index, cellIndex })) : column.type === "index" ? (openBlock(), createElementBlock(
424
+ }, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : column?.slot && (column.type !== "expand" || !isExpandTable.value) ? renderSlot(_ctx.$slots, column?.slot, mergeProps({ ref_for: true }, { column, row, $index, cellIndex }), void 0, void 0, 2) : column.type === "index" ? (openBlock(), createElementBlock(
429
425
  Fragment,
430
426
  { key: 3 },
431
427
  [
@@ -439,7 +435,7 @@ const _sfc_main = {
439
435
  /* STABLE_FRAGMENT */
440
436
  )) : column.type === "operator" ? (openBlock(), createElementBlock("div", {
441
437
  key: 4,
442
- class: "w-full flex items-center justify-between text-main",
438
+ class: "w-full flex items-center justify-end gap-2 text-main",
443
439
  onClick: withModifiers(() => {
444
440
  }, ["stop"]),
445
441
  onContextmenu: withModifiers(() => {
@@ -457,7 +453,7 @@ const _sfc_main = {
457
453
  key: cindex,
458
454
  "is-always": "",
459
455
  overLine: 1,
460
- content: citem.label
456
+ content: citem.desc
461
457
  }, {
462
458
  default: withCtx(() => [
463
459
  createElementVNode("div", {
@@ -473,13 +469,13 @@ const _sfc_main = {
473
469
  "svg-name": citem.svgName,
474
470
  "class-name": "!w-4 !h-4"
475
471
  }, null, 8, ["svg-name"]),
476
- citem.subLabel ? (openBlock(), createElementBlock(
472
+ citem.label ? (openBlock(), createElementBlock(
477
473
  "div",
478
474
  {
479
475
  key: 0,
480
476
  class: "mt-1 whitespace-nowrap"
481
477
  },
482
- toDisplayString(citem.subLabel),
478
+ toDisplayString(citem.label),
483
479
  1
484
480
  /* TEXT */
485
481
  )) : (openBlock(), createElementBlock("div", {
@@ -316,7 +316,7 @@ const useAppTableWrapper = (hy) => {
316
316
  }
317
317
  function onTableRowExpandChangeHandler(row, expandedRows) {
318
318
  if (isBoolean(expandedRows) || props.expandMode !== "accordion" || expandedRows.length <= 1) {
319
- props.onExpandChange(row, expandedRows);
319
+ props.onExpandChange && props.onExpandChange(row, expandedRows);
320
320
  return;
321
321
  } else {
322
322
  expandedRows.forEach((item) => {
@@ -1,6 +1,6 @@
1
1
  import { toRef } from 'vue';
2
- import { useAppSearch } from '../../hySearch/js/useAppSearch.mjs';
3
2
  import { isEmpty, isBoolean, isString, isObject } from '../../../utils/is.mjs';
3
+ import { useAppSearch } from '../../hySearch/js/useAppSearch.mjs';
4
4
  import { useLocale } from '../../../hooks/useLocale.mjs';
5
5
 
6
6
  function getColumnDefaultConfig(column) {
@@ -38,3 +38,16 @@
38
38
  }
39
39
  }
40
40
  }
41
+
42
+ .hy-table-dropdown-menu.hy-el-dropdown-menu {
43
+ --hy-el-text-color-regular: rgba(var(--hy-main));
44
+ border: 1px solid rgba(var(--hy-main));
45
+ padding: 0px;
46
+ .hy-el-dropdown-menu__item {
47
+ padding: 9px 16px 10px;
48
+ border-bottom: 1px solid rgba(var(--hy-border));
49
+ &:last-child {
50
+ border-bottom: none;
51
+ }
52
+ }
53
+ }
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, openBlock, createElementBlock, createCommentVNode, createElementVNode, createBlock, unref, createVNode, withCtx, toDisplayString, normalizeClass, withKeys, renderSlot, createSlots, renderList, normalizeProps, guardReactiveProps, mergeProps, Fragment } from 'vue';
1
+ import { defineComponent, useTemplateRef, openBlock, createElementBlock, createCommentVNode, createElementVNode, createBlock, unref, createVNode, withCtx, toDisplayString, normalizeClass, withKeys, renderSlot, createSlots, renderList, normalizeProps, guardReactiveProps, mergeProps, Fragment, withModifiers } from 'vue';
2
2
  import { ElIcon, ElInput, ElTable, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElAutoResizer, ElPagination } from 'element-plus';
3
3
  import { Filter, Search, MoreFilled } from '@element-plus/icons-vue';
4
4
  import { operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler, useAppTableWrapper } from './js/index.mjs';
@@ -6,13 +6,13 @@ import { useAppTableSearch } from './js/search.mjs';
6
6
  import _sfc_main$2 from './cpns/headerItem.vue.mjs';
7
7
  import _sfc_main$1 from './cpns/columnSelect.vue.mjs';
8
8
  import _sfc_main$3 from './cpns/virtualTable.vue.mjs';
9
- import { useMixins } from '../../hooks/useMixins.mjs';
10
- import { HySearch } from '../hySearch/index.mjs';
11
- import { parseRem } from '../../utils/adaptive.mjs';
12
9
  import { useLocale } from '../../hooks/useLocale.mjs';
10
+ import { useMixins } from '../../hooks/useMixins.mjs';
13
11
  import { HyTooltip } from '../hyTooltip/index.mjs';
14
12
  import { HyButton } from '../hyButton/index.mjs';
15
13
  import { HyIcon } from '../hyIcon/index.mjs';
14
+ import { HySearch } from '../hySearch/index.mjs';
15
+ import { parseRem } from '../../utils/adaptive.mjs';
16
16
  import { isEmpty } from '../../utils/is.mjs';
17
17
 
18
18
  import "./style/table.scss";
@@ -480,12 +480,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
480
480
  }, 1032, ["column", "filter-model", "onSearch"])
481
481
  ]),
482
482
  default: withCtx((scope) => [
483
- column?.slot ? renderSlot(_ctx.$slots, column?.slot, mergeProps({
484
- key: 0,
485
- ref_for: true
486
- }, scope)) : column.type === "operator" ? (openBlock(), createElementBlock("div", {
483
+ column?.slot ? renderSlot(_ctx.$slots, column?.slot, mergeProps({ ref_for: true }, scope), void 0, void 0, 0) : column.type === "operator" ? (openBlock(), createElementBlock("div", {
487
484
  key: 1,
488
- class: "flex items-center justify-end text-main"
485
+ class: "flex items-center justify-end gap-2 text-main"
489
486
  }, [
490
487
  (openBlock(true), createElementBlock(
491
488
  Fragment,
@@ -499,31 +496,33 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
499
496
  key: cindex,
500
497
  "is-always": "",
501
498
  overLine: 1,
502
- content: citem.label
499
+ content: citem.desc
503
500
  }, {
504
501
  default: withCtx(() => [
505
502
  createElementVNode("div", {
506
- class: normalizeClass(["ml-2 w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer", citem.className]),
507
- onClick: ($event) => unref(operatorClickHandler)(cindex, column, scope, "default")
503
+ class: normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer", citem.className]),
504
+ onClick: withModifiers(($event) => unref(operatorClickHandler)(cindex, column, scope, "default"), ["stop"]),
505
+ onContextmenu: withModifiers(() => {
506
+ }, ["stop"])
508
507
  }, [
509
508
  createVNode(unref(HyIcon), {
510
509
  "svg-name": citem.svgName,
511
510
  "class-name": "!w-4 !h-4"
512
511
  }, null, 8, ["svg-name"]),
513
- citem.subLabel ? (openBlock(), createElementBlock(
512
+ citem.label ? (openBlock(), createElementBlock(
514
513
  "div",
515
514
  {
516
515
  key: 0,
517
516
  class: "mt-1 whitespace-nowrap w-full text-center over_one_line"
518
517
  },
519
- toDisplayString(citem.subLabel),
518
+ toDisplayString(citem.label),
520
519
  1
521
520
  /* TEXT */
522
521
  )) : (openBlock(), createElementBlock("div", {
523
522
  key: 1,
524
523
  class: "mt-1 whitespace-nowrap"
525
524
  }, "\xA0"))
526
- ], 10, ["onClick"])
525
+ ], 42, ["onClick", "onContextmenu"])
527
526
  ]),
528
527
  _: 2
529
528
  /* DYNAMIC */
@@ -598,7 +597,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
598
597
  )
599
598
  ]),
600
599
  default: withCtx(() => [
601
- createElementVNode("span", null, [
600
+ createElementVNode("div", {
601
+ onClick: withModifiers(() => {
602
+ }, ["stop"]),
603
+ onContextmenu: withModifiers(() => {
604
+ }, ["stop"])
605
+ }, [
602
606
  createVNode(unref(HyTooltip), {
603
607
  "is-always": "",
604
608
  overLine: 1,
@@ -628,7 +632,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
628
632
  _: 1
629
633
  /* STABLE */
630
634
  }, 8, ["content"])
631
- ])
635
+ ], 40, ["onClick", "onContextmenu"])
632
636
  ]),
633
637
  _: 2
634
638
  /* DYNAMIC */
@@ -775,7 +779,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
775
779
  )
776
780
  }, {
777
781
  dropdown: withCtx(() => [
778
- createVNode(unref(ElDropdownMenu), null, {
782
+ createVNode(unref(ElDropdownMenu), { class: "hy-table-dropdown-menu" }, {
779
783
  default: withCtx(() => [
780
784
  (openBlock(true), createElementBlock(
781
785
  Fragment,
@@ -1,5 +1,5 @@
1
- import { useAppForm } from '../../hyForm/js/useAppForm.mjs';
2
1
  import { useAppTable } from '../../hyTable/js/useAppTable.mjs';
2
+ import { useAppForm } from '../../hyForm/js/useAppForm.mjs';
3
3
  import { isString, isObject } from '../../../utils/is.mjs';
4
4
 
5
5
  const useAppTableForm = (config = {}) => {
@@ -3,12 +3,12 @@ import { ElIcon } from 'element-plus';
3
3
  import { Warning } from '@element-plus/icons-vue';
4
4
  import { doValidate } from './js/index.mjs';
5
5
  import { useAppTable } from '../hyTable/js/useAppTable.mjs';
6
+ import { isArray, isObject } from '../../utils/is.mjs';
6
7
  import { cloneDeep } from '../../utils/handler.mjs';
8
+ import { HyButton } from '../hyButton/index.mjs';
7
9
  import { HyTable } from '../hyTable/index.mjs';
8
10
  import { HyForm } from '../hyForm/index.mjs';
9
11
  import { resetAppFormValue } from '../hyForm/js/useAppForm.mjs';
10
- import { isArray, isObject } from '../../utils/is.mjs';
11
- import { HyButton } from '../hyButton/index.mjs';
12
12
 
13
13
  import "./style/tableForm.scss";
14
14
 
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
79
79
  operator: [
80
80
  {
81
81
  label: "\u5220\u9664",
82
- subLabel: "\u5220\u9664",
82
+ desc: "\u5220\u9664",
83
83
  svgName: "ops-linear-delete",
84
84
  className: "text-danger-2",
85
85
  handler: onDeleteRowHandler
@@ -1,7 +1,7 @@
1
1
  import { ref, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, renderSlot, createTextVNode, toDisplayString, createElementBlock, normalizeClass, defineComponent } from 'vue';
2
2
  import { ElTooltip } from 'element-plus';
3
- import { useTooltipConfig } from '../../hooks/useTooltipConfig.mjs';
4
3
  import { isNumber, isBoolean, isOverflowing } from '../../utils/is.mjs';
4
+ import { useTooltipConfig } from '../../hooks/useTooltipConfig.mjs';
5
5
 
6
6
  import "./style/tooltip.scss";
7
7
 
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
15
15
  default: () => {
16
16
  const { tooltipConfig } = useTooltipConfig();
17
17
  const { isAlways } = tooltipConfig.value;
18
- return isBoolean(isAlways) ? isAlways : false;
18
+ return isBoolean(isAlways) ? isAlways : true;
19
19
  }
20
20
  },
21
21
  disabled: {
@@ -69,13 +69,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
69
69
  content: _ctx.$slots.content ? void 0 : unref(isNumber)(__props.content) ? `${__props.content}` : __props.content
70
70
  }), createSlots({
71
71
  default: withCtx(() => [
72
- __props.isAlways ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
72
+ __props.isAlways ? renderSlot(_ctx.$slots, "default", {}, () => [
73
73
  createTextVNode(
74
74
  toDisplayString(__props.content),
75
75
  1
76
76
  /* TEXT */
77
77
  )
78
- ]) : (openBlock(), createElementBlock(
78
+ ], void 0, 0) : (openBlock(), createElementBlock(
79
79
  "span",
80
80
  {
81
81
  key: 1,
@@ -0,0 +1 @@
1
+ @import url('hy-virtual-tree/style');
@@ -6,6 +6,8 @@ import { searchTypeConfig, treeTypeConfig } from './config/tree-config.mjs';
6
6
  import { useMixins } from '../../hooks/useMixins.mjs';
7
7
  import { HyIcon } from '../hyIcon/index.mjs';
8
8
 
9
+ import "./style/index.css";
10
+
9
11
  const __default__ = defineComponent({
10
12
  name: "HyTree"
11
13
  });
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, unref, openBlock, createElementBlock, normalizeStyle, createBlock, normalizeClass, createCommentVNode } from 'vue';
2
- import { useUserAvatarMap } from '../../hooks/useUserAvatarMap.mjs';
3
- import { pxTorem } from '../../utils/adaptive.mjs';
4
2
  import { useLocale } from '../../hooks/useLocale.mjs';
3
+ import { useUserAvatarMap } from '../../hooks/useUserAvatarMap.mjs';
5
4
  import { HyIcon } from '../hyIcon/index.mjs';
5
+ import { pxTorem } from '../../utils/adaptive.mjs';
6
6
 
7
7
  import "./style/userAvatar.scss";
8
8
 
@@ -1,11 +1,11 @@
1
1
  import { ref, computed, nextTick } from 'vue';
2
2
  import { ElMessage } from 'element-plus';
3
+ import { useLocale } from '../../../hooks/useLocale.mjs';
3
4
  import { useVideoPlayerConfig } from '../../../hooks/useVideoPlayerConfig.mjs';
4
5
  import { formatDuration } from '../../../utils/date.mjs';
5
6
  import { HyConfirmDialog } from '../../hyConfirmDialog/index.mjs';
6
7
  import { copyText } from '../../../utils/handler.mjs';
7
8
  import { isSupportH265 } from '../../../utils/is.mjs';
8
- import { useLocale } from '../../../hooks/useLocale.mjs';
9
9
 
10
10
  const useVideoPlayer = (hy) => {
11
11
  const { props, emits, videoRef, videoWrapperRef } = hy;
package/es/locale/en.mjs CHANGED
@@ -33,7 +33,7 @@ var en = {
33
33
  hideFilter: "Hide filter",
34
34
  displayFilter: "Display filter",
35
35
  tooManyFieldsWillAffectReadability: "Too Many Fields Will Affect Readability",
36
- haveBeenSelected: "{0} Have Been Selected",
36
+ selectedNumberItems: "Selected {0} Items",
37
37
  clear: "Clear",
38
38
  show: "Show",
39
39
  notShown: "Not Shown",
@@ -33,7 +33,7 @@ var zh_CN = {
33
33
  hideFilter: "\u9690\u85CF\u7B5B\u9009\u5668",
34
34
  displayFilter: "\u663E\u793A\u7B5B\u9009\u5668",
35
35
  tooManyFieldsWillAffectReadability: "\u5B57\u6BB5\u8FC7\u591A\u5C06\u5F71\u54CD\u53EF\u8BFB\u6027",
36
- haveBeenSelected: "\u5DF2\u9009\u62E9{0}\u4E2A",
36
+ selectedNumberItems: "\u5DF2\u9009\u62E9{0}\u4E2A",
37
37
  clear: "\u6E05\u9664",
38
38
  show: "\u663E\u793A",
39
39
  notShown: "\u672A\u663E\u793A",
@@ -698,7 +698,8 @@
698
698
  }
699
699
 
700
700
  .hy-el-tabs__nav-wrap::after {
701
- background-color: rgba(var(--hy-background), 1);
701
+ background-color: transparent;
702
+ // background-color: rgba(var(--hy-background), 1);
702
703
  }
703
704
 
704
705
  .hy-el-tabs__active-bar {
@@ -707,7 +708,7 @@
707
708
 
708
709
  .hy-el-tabs .hy-el-tabs__item {
709
710
  border-radius: 6px 6px 0 0;
710
- border: 1px solid rgba(var(--hy-background-2), 1);
711
+ // border: 1px solid rgba(var(--hy-background-2), 1);
711
712
  padding: 0 20px !important;
712
713
 
713
714
  &:hover {
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.32";
1
+ const version = "0.2.33";
2
2
 
3
3
  export { version };
@@ -2,8 +2,8 @@
2
2
 
3
3
  var vue = require('vue');
4
4
  var elementPlus = require('element-plus');
5
- var useAudioPlayerConfig = require('../../../hooks/useAudioPlayerConfig.js');
6
5
  var useLocale = require('../../../hooks/useLocale.js');
6
+ var useAudioPlayerConfig = require('../../../hooks/useAudioPlayerConfig.js');
7
7
  var date = require('../../../utils/date.js');
8
8
 
9
9
  const useAudioPlayer = (hy) => {