@cmstops/pro-compo 0.1.60 → 0.1.62

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 (71) hide show
  1. package/dist/index.css +107 -0
  2. package/dist/index.min.css +1 -1
  3. package/dist/matrix/baijiahao.png +0 -0
  4. package/dist/matrix/bilibili.png +0 -0
  5. package/dist/matrix/channelsweixin.png +0 -0
  6. package/dist/matrix/douyin.png +0 -0
  7. package/dist/matrix/kuaishou.png +0 -0
  8. package/dist/matrix/qq.png +0 -0
  9. package/dist/matrix/toutiao.png +0 -0
  10. package/dist/matrix/weibo.png +0 -0
  11. package/dist/matrix/weixin.png +0 -0
  12. package/es/contentDetailList/__demo__/matrix/platform.d.ts +27 -0
  13. package/es/contentDetailList/component.js +79 -8
  14. package/es/contentDetailList/components/Content/CompoItem/index.js +32 -19
  15. package/es/contentDetailList/components/Content/ContentListItem/index.js +38 -25
  16. package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
  17. package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -4
  18. package/es/contentDetailList/components/Content/KongoNavItem/index.js +35 -22
  19. package/es/contentDetailList/components/Content/LiveItem/index.js +32 -19
  20. package/es/contentDetailList/components/Content/MaccountItem/index.js +31 -19
  21. package/es/contentDetailList/components/Content/courseItem/index.js +34 -21
  22. package/es/contentDetailList/components/Content/funhdItem/index.js +34 -21
  23. package/es/contentDetailList/components/Content/index.js +114 -22
  24. package/es/contentDetailList/components/Doc/index.js +3 -1
  25. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  26. package/es/contentDetailList/components/Records/MatrixItem/index.js +131 -0
  27. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  28. package/es/contentDetailList/components/Records/index.js +63 -0
  29. package/es/contentDetailList/style/MatrixItem.less +127 -0
  30. package/es/contentDetailList/style/index.css +107 -0
  31. package/es/contentDetailList/style/index.less +1 -0
  32. package/es/editMetaInfo/component.js +9 -1
  33. package/es/editMetaInfo/components/metaInfoForm.js +9 -1
  34. package/es/index.css +107 -0
  35. package/es/matrix/baijiahao.png +0 -0
  36. package/es/matrix/bilibili.png +0 -0
  37. package/es/matrix/channelsweixin.png +0 -0
  38. package/es/matrix/douyin.png +0 -0
  39. package/es/matrix/kuaishou.png +0 -0
  40. package/es/matrix/qq.png +0 -0
  41. package/es/matrix/toutiao.png +0 -0
  42. package/es/matrix/weibo.png +0 -0
  43. package/es/matrix/weixin.png +0 -0
  44. package/es/selectThumb/component.js +0 -7
  45. package/es/utils/typeMap.d.ts +23 -0
  46. package/es/utils/typeMap.js +26 -2
  47. package/lib/contentDetailList/component.js +96 -25
  48. package/lib/contentDetailList/components/Content/CompoItem/index.js +32 -19
  49. package/lib/contentDetailList/components/Content/ContentListItem/index.js +38 -25
  50. package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
  51. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -4
  52. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +35 -22
  53. package/lib/contentDetailList/components/Content/LiveItem/index.js +32 -19
  54. package/lib/contentDetailList/components/Content/MaccountItem/index.js +31 -19
  55. package/lib/contentDetailList/components/Content/courseItem/index.js +34 -21
  56. package/lib/contentDetailList/components/Content/funhdItem/index.js +34 -21
  57. package/lib/contentDetailList/components/Content/index.js +113 -21
  58. package/lib/contentDetailList/components/Doc/index.js +3 -1
  59. package/lib/contentDetailList/components/Records/MatrixItem/index.js +132 -0
  60. package/lib/contentDetailList/components/Records/index.js +64 -0
  61. package/lib/contentDetailList/style/MatrixItem.less +127 -0
  62. package/lib/contentDetailList/style/index.css +107 -0
  63. package/lib/contentDetailList/style/index.less +1 -0
  64. package/lib/editMetaInfo/component.js +9 -1
  65. package/lib/editMetaInfo/components/metaInfoForm.js +9 -1
  66. package/lib/index.css +107 -0
  67. package/lib/selectThumb/component.js +0 -7
  68. package/lib/utils/typeMap.js +27 -1
  69. package/package.json +1 -1
  70. package/es/contentDetailList/components/Content/MaccountItem/temp/user.js +0 -2
  71. package/lib/contentDetailList/components/Content/MaccountItem/temp/user.js +0 -3
@@ -3,6 +3,7 @@ import { Scrollbar } from "@arco-design/web-vue";
3
3
  import draggable from "vuedraggable";
4
4
  import _sfc_main$1 from "./components/Content/index.js";
5
5
  import _sfc_main$2 from "./components/Doc/index.js";
6
+ import _sfc_main$3 from "./components/Records/index.js";
6
7
  const _hoisted_1 = { class: "content-detail-list-container" };
7
8
  const _hoisted_2 = { class: "drag-item" };
8
9
  const _sfc_main = defineComponent({
@@ -14,7 +15,8 @@ const _sfc_main = defineComponent({
14
15
  data: {},
15
16
  parmas: {},
16
17
  dragalbe: { type: Boolean },
17
- abttrites: {}
18
+ abttrites: {},
19
+ extraAttrs: {}
18
20
  },
19
21
  emits: [
20
22
  "sortChange",
@@ -40,7 +42,6 @@ const _sfc_main = defineComponent({
40
42
  });
41
43
  const dataList = computed({
42
44
  get() {
43
- console.log("dataList", props.data);
44
45
  return props.data;
45
46
  },
46
47
  set(value) {
@@ -93,8 +94,17 @@ const _sfc_main = defineComponent({
93
94
  index,
94
95
  parmas: unref(parmasProps),
95
96
  abttrites: unref(abttritesProps),
96
- onClickTitle: clickTitle
97
+ extraAttrs: _ctx.extraAttrs,
98
+ onClickTitle: clickTitle,
99
+ onCellMouseEnter: tableCellMouseEnter,
100
+ onCellMouseLeave: tableCellMouseLeave
97
101
  }, {
102
+ batch: withCtx(() => [
103
+ renderSlot(_ctx.$slots, "batch", {
104
+ row: element,
105
+ index
106
+ })
107
+ ]),
98
108
  option: withCtx(() => [
99
109
  renderSlot(_ctx.$slots, "option", {
100
110
  row: element,
@@ -102,12 +112,38 @@ const _sfc_main = defineComponent({
102
112
  })
103
113
  ]),
104
114
  _: 2
105
- }, 1032, ["item", "index", "parmas", "abttrites"])) : createCommentVNode("v-if", true),
115
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : createCommentVNode("v-if", true),
106
116
  props.type === "doc" ? (openBlock(), createBlock(_sfc_main$2, {
107
117
  key: index,
108
118
  item: element,
109
119
  index,
110
120
  abttrites: unref(abttritesProps),
121
+ extraAttrs: _ctx.extraAttrs,
122
+ onClickTitle: clickTitle,
123
+ onCellMouseEnter: tableCellMouseEnter,
124
+ onCellMouseLeave: tableCellMouseLeave
125
+ }, {
126
+ batch: withCtx(() => [
127
+ renderSlot(_ctx.$slots, "batch", {
128
+ row: element,
129
+ index
130
+ })
131
+ ]),
132
+ option: withCtx(() => [
133
+ renderSlot(_ctx.$slots, "option", {
134
+ row: element,
135
+ index
136
+ })
137
+ ]),
138
+ _: 2
139
+ }, 1032, ["item", "index", "abttrites", "extraAttrs"])) : createCommentVNode("v-if", true),
140
+ props.type === "record" ? (openBlock(), createBlock(_sfc_main$3, {
141
+ key: index,
142
+ item: element,
143
+ index,
144
+ parmas: unref(parmasProps),
145
+ abttrites: unref(abttritesProps),
146
+ extraAttrs: _ctx.extraAttrs,
111
147
  onClickTitle: clickTitle,
112
148
  onCellMouseEnter: tableCellMouseEnter,
113
149
  onCellMouseLeave: tableCellMouseLeave
@@ -125,7 +161,7 @@ const _sfc_main = defineComponent({
125
161
  })
126
162
  ]),
127
163
  _: 2
128
- }, 1032, ["item", "index", "abttrites"])) : createCommentVNode("v-if", true)
164
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : createCommentVNode("v-if", true)
129
165
  ])
130
166
  ]),
131
167
  _: 3
@@ -137,8 +173,17 @@ const _sfc_main = defineComponent({
137
173
  index,
138
174
  parmas: unref(parmasProps),
139
175
  abttrites: unref(abttritesProps),
140
- onClickTitle: clickTitle
176
+ extraAttrs: _ctx.extraAttrs,
177
+ onClickTitle: clickTitle,
178
+ onCellMouseEnter: tableCellMouseEnter,
179
+ onCellMouseLeave: tableCellMouseLeave
141
180
  }, {
181
+ batch: withCtx(() => [
182
+ renderSlot(_ctx.$slots, "batch", {
183
+ row: item,
184
+ index
185
+ })
186
+ ]),
142
187
  option: withCtx(() => [
143
188
  renderSlot(_ctx.$slots, "option", {
144
189
  row: item,
@@ -146,12 +191,38 @@ const _sfc_main = defineComponent({
146
191
  })
147
192
  ]),
148
193
  _: 2
149
- }, 1032, ["item", "index", "parmas", "abttrites"])) : createCommentVNode("v-if", true),
194
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : createCommentVNode("v-if", true),
150
195
  props.type === "doc" ? (openBlock(), createBlock(_sfc_main$2, {
151
196
  key: index,
152
197
  item,
153
198
  index,
154
199
  abttrites: unref(abttritesProps),
200
+ extraAttrs: _ctx.extraAttrs,
201
+ onClickTitle: clickTitle,
202
+ onCellMouseEnter: tableCellMouseEnter,
203
+ onCellMouseLeave: tableCellMouseLeave
204
+ }, {
205
+ batch: withCtx(() => [
206
+ renderSlot(_ctx.$slots, "batch", {
207
+ row: item,
208
+ index
209
+ })
210
+ ]),
211
+ option: withCtx(() => [
212
+ renderSlot(_ctx.$slots, "option", {
213
+ row: item,
214
+ index
215
+ })
216
+ ]),
217
+ _: 2
218
+ }, 1032, ["item", "index", "abttrites", "extraAttrs"])) : createCommentVNode("v-if", true),
219
+ props.type === "record" ? (openBlock(), createBlock(_sfc_main$3, {
220
+ key: index,
221
+ item,
222
+ index,
223
+ parmas: unref(parmasProps),
224
+ abttrites: unref(abttritesProps),
225
+ extraAttrs: _ctx.extraAttrs,
155
226
  onClickTitle: clickTitle,
156
227
  onCellMouseEnter: tableCellMouseEnter,
157
228
  onCellMouseLeave: tableCellMouseLeave
@@ -169,7 +240,7 @@ const _sfc_main = defineComponent({
169
240
  })
170
241
  ]),
171
242
  _: 2
172
- }, 1032, ["item", "index", "abttrites"])) : createCommentVNode("v-if", true)
243
+ }, 1032, ["item", "index", "parmas", "abttrites", "extraAttrs"])) : createCommentVNode("v-if", true)
173
244
  ], 64);
174
245
  }), 128))
175
246
  ])
@@ -8,19 +8,21 @@ const _hoisted_2 = {
8
8
  key: 1,
9
9
  class: "no-img"
10
10
  };
11
- const _hoisted_3 = { class: "info-view" };
12
- const _hoisted_4 = { class: "title_i" };
13
- const _hoisted_5 = { class: "abttrite-v" };
14
- const _hoisted_6 = { class: "left" };
15
- const _hoisted_7 = { class: "abttr tags" };
16
- const _hoisted_8 = { class: "abttr time" };
17
- const _hoisted_9 = { class: "right" };
11
+ const _hoisted_3 = { class: "batch-select" };
12
+ const _hoisted_4 = { class: "info-view" };
13
+ const _hoisted_5 = { class: "title_i" };
14
+ const _hoisted_6 = { class: "abttrite-v" };
15
+ const _hoisted_7 = { class: "left" };
16
+ const _hoisted_8 = { class: "abttr tags" };
17
+ const _hoisted_9 = { class: "abttr time" };
18
+ const _hoisted_10 = { class: "right" };
18
19
  const _sfc_main = defineComponent({
19
20
  __name: "index",
20
21
  props: {
21
- item: {}
22
+ item: {},
23
+ extraAttrs: {}
22
24
  },
23
- emits: ["clickTitle"],
25
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
24
26
  setup(__props, { emit: __emit }) {
25
27
  const props = __props;
26
28
  const emit = __emit;
@@ -32,12 +34,20 @@ const _sfc_main = defineComponent({
32
34
  const silent = computed(() => {
33
35
  return props.item && props.item.mourn_style === 1;
34
36
  });
37
+ const mouseEnterFun = (event, row) => {
38
+ emit("cellMouseEnter", { row, event });
39
+ };
40
+ const mouseLeaveFun = (event, row) => {
41
+ emit("cellMouseLeave", { row, event });
42
+ };
35
43
  const clickTitle = () => {
36
44
  emit("clickTitle", props.item);
37
45
  };
38
46
  return (_ctx, _cache) => {
39
47
  return openBlock(), createElementBlock("div", {
40
- class: normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
48
+ class: normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
49
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
50
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
41
51
  }, [
42
52
  createElementVNode("div", _hoisted_1, [
43
53
  _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (openBlock(), createBlock(unref(Image), {
@@ -46,35 +56,38 @@ const _sfc_main = defineComponent({
46
56
  preview: false,
47
57
  fit: "cover",
48
58
  class: "image"
49
- }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1))
59
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
60
+ createElementVNode("div", _hoisted_3, [
61
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
62
+ ])
50
63
  ]),
51
- createElementVNode("div", _hoisted_3, [
64
+ createElementVNode("div", _hoisted_4, [
52
65
  createElementVNode("div", {
53
66
  class: "title",
54
67
  onClick: clickTitle
55
68
  }, [
56
69
  renderSlot(_ctx.$slots, "index"),
57
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
70
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
58
71
  ]),
59
- createElementVNode("div", _hoisted_5, [
60
- createElementVNode("div", _hoisted_6, [
72
+ createElementVNode("div", _hoisted_6, [
73
+ createElementVNode("div", _hoisted_7, [
61
74
  createVNode(_sfc_main$1, {
62
75
  class: "icon",
63
76
  doc: true,
64
77
  type: _ctx.item.series
65
78
  }, null, 8, ["type"]),
66
- createElementVNode("span", _hoisted_7, [
79
+ createElementVNode("span", _hoisted_8, [
67
80
  createTextVNode(toDisplayString(comColumnsMap.value[_ctx.item.columns]) + "\u7EC4\u4EF6", 1),
68
81
  renderSlot(_ctx.$slots, "tip")
69
82
  ]),
70
- createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
83
+ createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
71
84
  ]),
72
- createElementVNode("div", _hoisted_9, [
85
+ createElementVNode("div", _hoisted_10, [
73
86
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
74
87
  ])
75
88
  ])
76
89
  ])
77
- ], 2);
90
+ ], 34);
78
91
  };
79
92
  }
80
93
  });
@@ -9,26 +9,28 @@ const _hoisted_2 = {
9
9
  key: 1,
10
10
  class: "no-img"
11
11
  };
12
- const _hoisted_3 = { class: "info-view" };
13
- const _hoisted_4 = { class: "title_i" };
14
- const _hoisted_5 = { class: "title-tips" };
15
- const _hoisted_6 = {
12
+ const _hoisted_3 = { class: "batch-select" };
13
+ const _hoisted_4 = { class: "info-view" };
14
+ const _hoisted_5 = { class: "title_i" };
15
+ const _hoisted_6 = { class: "title-tips" };
16
+ const _hoisted_7 = {
16
17
  key: 0,
17
18
  class: "title-tips red"
18
19
  };
19
- const _hoisted_7 = { class: "abttrite-v" };
20
- const _hoisted_8 = { class: "left" };
21
- const _hoisted_9 = { class: "abttr tags" };
22
- const _hoisted_10 = { class: "abttr" };
23
- const _hoisted_11 = { class: "abttr time" };
24
- const _hoisted_12 = { class: "right" };
20
+ const _hoisted_8 = { class: "abttrite-v" };
21
+ const _hoisted_9 = { class: "left" };
22
+ const _hoisted_10 = { class: "abttr tags" };
23
+ const _hoisted_11 = { class: "abttr" };
24
+ const _hoisted_12 = { class: "abttr time" };
25
+ const _hoisted_13 = { class: "right" };
25
26
  const _sfc_main = defineComponent({
26
27
  __name: "index",
27
28
  props: {
28
29
  item: {},
29
- parmas: {}
30
+ parmas: {},
31
+ extraAttrs: {}
30
32
  },
31
- emits: ["clickTitle"],
33
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
32
34
  setup(__props, { emit: __emit }) {
33
35
  const props = __props;
34
36
  const emit = __emit;
@@ -39,12 +41,20 @@ const _sfc_main = defineComponent({
39
41
  const silent = computed(() => {
40
42
  return props.item && props.item.mourn_style === 1;
41
43
  });
44
+ const mouseEnterFun = (event, row) => {
45
+ emit("cellMouseEnter", { row, event });
46
+ };
47
+ const mouseLeaveFun = (event, row) => {
48
+ emit("cellMouseLeave", { row, event });
49
+ };
42
50
  const clickTitle = () => {
43
51
  emit("clickTitle", props.item);
44
52
  };
45
53
  return (_ctx, _cache) => {
46
54
  return openBlock(), createElementBlock("div", {
47
- class: normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
55
+ class: normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
56
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
57
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
48
58
  }, [
49
59
  createElementVNode("div", _hoisted_1, [
50
60
  _ctx.item.cover && _ctx.item.cover.data && _ctx.item.cover.data[0] ? (openBlock(), createBlock(unref(Image), {
@@ -53,16 +63,19 @@ const _sfc_main = defineComponent({
53
63
  preview: false,
54
64
  fit: "cover",
55
65
  class: "image"
56
- }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1))
66
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
67
+ createElementVNode("div", _hoisted_3, [
68
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
69
+ ])
57
70
  ]),
58
- createElementVNode("div", _hoisted_3, [
71
+ createElementVNode("div", _hoisted_4, [
59
72
  createElementVNode("div", {
60
73
  class: "title",
61
74
  onClick: clickTitle
62
75
  }, [
63
76
  renderSlot(_ctx.$slots, "index"),
64
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.item.alias || _ctx.item.title), 1),
65
- createElementVNode("span", _hoisted_5, [
77
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1),
78
+ createElementVNode("span", _hoisted_6, [
66
79
  renderSlot(_ctx.$slots, "tips")
67
80
  ]),
68
81
  createVNode(unref(Tooltip), {
@@ -73,7 +86,7 @@ const _sfc_main = defineComponent({
73
86
  default: withCtx(() => {
74
87
  var _a, _b, _c, _d;
75
88
  return [
76
- ((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(_ctx.item)) ? (openBlock(), createElementBlock("span", _hoisted_6, [
89
+ ((_b = (_a = _ctx.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(_ctx.item)) ? (openBlock(), createElementBlock("span", _hoisted_7, [
77
90
  createVNode(unref(IconInfoCircle), {
78
91
  class: "icon",
79
92
  size: "16"
@@ -85,26 +98,26 @@ const _sfc_main = defineComponent({
85
98
  _: 1
86
99
  })
87
100
  ]),
88
- createElementVNode("div", _hoisted_7, [
89
- createElementVNode("div", _hoisted_8, [
101
+ createElementVNode("div", _hoisted_8, [
102
+ createElementVNode("div", _hoisted_9, [
90
103
  createVNode(_sfc_main$1, {
91
104
  class: "icon",
92
105
  doc: true,
93
106
  type: _ctx.item.series
94
107
  }, null, 8, ["type"]),
95
- createElementVNode("span", _hoisted_9, [
108
+ createElementVNode("span", _hoisted_10, [
96
109
  createTextVNode(toDisplayString(unref(contentList_relation_type_map)[_ctx.item.relation_type]) + "\u9891\u9053", 1),
97
110
  renderSlot(_ctx.$slots, "tip")
98
111
  ]),
99
- createElementVNode("span", _hoisted_10, toDisplayString(unref(contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
100
- createElementVNode("span", _hoisted_11, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
112
+ createElementVNode("span", _hoisted_11, toDisplayString(unref(contentList_layout_map)[_ctx.item.list_layout || "blank"]), 1),
113
+ createElementVNode("span", _hoisted_12, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
101
114
  ]),
102
- createElementVNode("div", _hoisted_12, [
115
+ createElementVNode("div", _hoisted_13, [
103
116
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
104
117
  ])
105
118
  ])
106
119
  ])
107
- ], 2);
120
+ ], 34);
108
121
  };
109
122
  }
110
123
  });
@@ -31,7 +31,8 @@ const _sfc_main = defineComponent({
31
31
  __name: "index",
32
32
  props: {
33
33
  item: {},
34
- abttrites: {}
34
+ abttrites: {},
35
+ extraAttrs: {}
35
36
  },
36
37
  emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
37
38
  setup(__props, { emit: __emit }) {
@@ -20,9 +20,10 @@ const _sfc_main = defineComponent({
20
20
  __name: "index",
21
21
  props: {
22
22
  item: {},
23
- abttrites: {}
23
+ abttrites: {},
24
+ extraAttrs: {}
24
25
  },
25
- emits: ["clickTitle"],
26
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
26
27
  setup(__props, { emit: __emit }) {
27
28
  var _a, _b, _c;
28
29
  const props = __props;
@@ -51,12 +52,20 @@ const _sfc_main = defineComponent({
51
52
  }
52
53
  return props.item.cover && props.item.cover.data && props.item.cover.data[0] && props.item.cover.data[0].thumb;
53
54
  });
55
+ const mouseEnterFun = (event, row) => {
56
+ emit("cellMouseEnter", { row, event });
57
+ };
58
+ const mouseLeaveFun = (event, row) => {
59
+ emit("cellMouseLeave", { row, event });
60
+ };
54
61
  const clickTitle = () => {
55
62
  emit("clickTitle", props.item);
56
63
  };
57
64
  return (_ctx, _cache) => {
58
65
  return openBlock(), createElementBlock("div", {
59
- class: normalizeClass(["medialist-mpdoc-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
66
+ class: normalizeClass(["medialist-mpdoc-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
67
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
68
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
60
69
  }, [
61
70
  createElementVNode("div", _hoisted_1, [
62
71
  thumb.value ? (openBlock(), createBlock(unref(Image), {
@@ -117,7 +126,7 @@ const _sfc_main = defineComponent({
117
126
  ])
118
127
  ])
119
128
  ])
120
- ], 2);
129
+ ], 34);
121
130
  };
122
131
  }
123
132
  });
@@ -8,21 +8,23 @@ const _hoisted_2 = {
8
8
  key: 1,
9
9
  class: "no-img"
10
10
  };
11
- const _hoisted_3 = { class: "info-view" };
12
- const _hoisted_4 = { class: "title_i" };
13
- const _hoisted_5 = { class: "abttrite-v" };
14
- const _hoisted_6 = { class: "left" };
15
- const _hoisted_7 = { class: "tags" };
16
- const _hoisted_8 = { class: "abttr value" };
17
- const _hoisted_9 = { class: "abttr time" };
11
+ const _hoisted_3 = { class: "batch-select" };
12
+ const _hoisted_4 = { class: "info-view" };
13
+ const _hoisted_5 = { class: "title_i" };
14
+ const _hoisted_6 = { class: "abttrite-v" };
15
+ const _hoisted_7 = { class: "left" };
16
+ const _hoisted_8 = { class: "tags" };
17
+ const _hoisted_9 = { class: "abttr value" };
18
18
  const _hoisted_10 = { class: "abttr time" };
19
- const _hoisted_11 = { class: "right" };
19
+ const _hoisted_11 = { class: "abttr time" };
20
+ const _hoisted_12 = { class: "right" };
20
21
  const _sfc_main = defineComponent({
21
22
  __name: "index",
22
23
  props: {
23
- item: {}
24
+ item: {},
25
+ extraAttrs: {}
24
26
  },
25
- emits: ["clickTitle"],
27
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
26
28
  setup(__props, { emit: __emit }) {
27
29
  const props = __props;
28
30
  const emit = __emit;
@@ -65,12 +67,20 @@ const _sfc_main = defineComponent({
65
67
  return _payload.label;
66
68
  return "";
67
69
  });
70
+ const mouseEnterFun = (event, row) => {
71
+ emit("cellMouseEnter", { row, event });
72
+ };
73
+ const mouseLeaveFun = (event, row) => {
74
+ emit("cellMouseLeave", { row, event });
75
+ };
68
76
  const clickTitle = () => {
69
77
  emit("clickTitle", props.item);
70
78
  };
71
79
  return (_ctx, _cache) => {
72
80
  return openBlock(), createElementBlock("div", {
73
- class: normalizeClass(["medialist-kongo-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
81
+ class: normalizeClass(["medialist-kongo-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
82
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
83
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
74
84
  }, [
75
85
  createElementVNode("div", _hoisted_1, [
76
86
  thumb.value ? (openBlock(), createBlock(unref(Image), {
@@ -80,29 +90,32 @@ const _sfc_main = defineComponent({
80
90
  preview: false,
81
91
  class: "image",
82
92
  lazy: true
83
- }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1))
93
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
94
+ createElementVNode("div", _hoisted_3, [
95
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
96
+ ])
84
97
  ]),
85
- createElementVNode("div", _hoisted_3, [
98
+ createElementVNode("div", _hoisted_4, [
86
99
  createElementVNode("div", {
87
100
  class: "title",
88
101
  onClick: clickTitle
89
102
  }, [
90
103
  renderSlot(_ctx.$slots, "index"),
91
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
104
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
92
105
  ]),
93
- createElementVNode("div", _hoisted_5, [
94
- createElementVNode("div", _hoisted_6, [
106
+ createElementVNode("div", _hoisted_6, [
107
+ createElementVNode("div", _hoisted_7, [
95
108
  createVNode(_sfc_main$1, {
96
109
  class: "icon",
97
110
  doc: _ctx.item.catalog === "doc",
98
111
  type: _ctx.item.series
99
112
  }, null, 8, ["doc", "type"]),
100
- createElementVNode("span", _hoisted_7, [
113
+ createElementVNode("span", _hoisted_8, [
101
114
  createVNode(_sfc_main$2, { item: _ctx.item }, null, 8, ["item"]),
102
115
  renderSlot(_ctx.$slots, "tip")
103
116
  ]),
104
- createElementVNode("span", _hoisted_8, toDisplayString(`${showValue.value}`), 1),
105
- createElementVNode("span", _hoisted_9, [
117
+ createElementVNode("span", _hoisted_9, toDisplayString(`${showValue.value}`), 1),
118
+ createElementVNode("span", _hoisted_10, [
106
119
  createVNode(unref(Tooltip), {
107
120
  content: `\u521B\u5EFA\u65F6\u95F4: ${unref(timeFormat)(_ctx.item.pub_time)}`,
108
121
  placement: "top"
@@ -113,7 +126,7 @@ const _sfc_main = defineComponent({
113
126
  _: 1
114
127
  }, 8, ["content"])
115
128
  ]),
116
- createElementVNode("span", _hoisted_10, [
129
+ createElementVNode("span", _hoisted_11, [
117
130
  createVNode(unref(Tooltip), {
118
131
  content: `\u521B\u5EFA\u4EBA: ${_ctx.item.commit_user_name || "--"}`,
119
132
  placement: "top"
@@ -125,12 +138,12 @@ const _sfc_main = defineComponent({
125
138
  }, 8, ["content"])
126
139
  ])
127
140
  ]),
128
- createElementVNode("div", _hoisted_11, [
141
+ createElementVNode("div", _hoisted_12, [
129
142
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
130
143
  ])
131
144
  ])
132
145
  ])
133
- ], 2);
146
+ ], 34);
134
147
  };
135
148
  }
136
149
  });
@@ -7,19 +7,21 @@ const _hoisted_2 = {
7
7
  key: 1,
8
8
  class: "no-img"
9
9
  };
10
- const _hoisted_3 = { class: "info-view" };
11
- const _hoisted_4 = { class: "title_i" };
12
- const _hoisted_5 = { class: "abttrite-v" };
13
- const _hoisted_6 = { class: "left" };
14
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, null, -1);
15
- const _hoisted_8 = { class: "abttr time" };
16
- const _hoisted_9 = { class: "right" };
10
+ const _hoisted_3 = { class: "batch-select" };
11
+ const _hoisted_4 = { class: "info-view" };
12
+ const _hoisted_5 = { class: "title_i" };
13
+ const _hoisted_6 = { class: "abttrite-v" };
14
+ const _hoisted_7 = { class: "left" };
15
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, null, -1);
16
+ const _hoisted_9 = { class: "abttr time" };
17
+ const _hoisted_10 = { class: "right" };
17
18
  const _sfc_main = defineComponent({
18
19
  __name: "index",
19
20
  props: {
20
- item: {}
21
+ item: {},
22
+ extraAttrs: {}
21
23
  },
22
- emits: ["clickTitle"],
24
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
23
25
  setup(__props, { emit: __emit }) {
24
26
  const props = __props;
25
27
  const emit = __emit;
@@ -40,12 +42,20 @@ const _sfc_main = defineComponent({
40
42
  return null;
41
43
  return ret.pc_banner_url;
42
44
  });
45
+ const mouseEnterFun = (event, row) => {
46
+ emit("cellMouseEnter", { row, event });
47
+ };
48
+ const mouseLeaveFun = (event, row) => {
49
+ emit("cellMouseLeave", { row, event });
50
+ };
43
51
  const clickTitle = () => {
44
52
  emit("clickTitle", props.item);
45
53
  };
46
54
  return (_ctx, _cache) => {
47
55
  return openBlock(), createElementBlock("div", {
48
- class: normalizeClass(["medialist-ilive-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }])
56
+ class: normalizeClass(["medialist-ilive-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
57
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
58
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
49
59
  }, [
50
60
  createElementVNode("div", _hoisted_1, [
51
61
  pc_banner.value ? (openBlock(), createBlock(unref(Image), {
@@ -54,32 +64,35 @@ const _sfc_main = defineComponent({
54
64
  preview: false,
55
65
  class: "image",
56
66
  fit: "cover"
57
- }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1))
67
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
68
+ createElementVNode("div", _hoisted_3, [
69
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
70
+ ])
58
71
  ]),
59
- createElementVNode("div", _hoisted_3, [
72
+ createElementVNode("div", _hoisted_4, [
60
73
  createElementVNode("div", {
61
74
  class: "title",
62
75
  onClick: clickTitle
63
76
  }, [
64
77
  renderSlot(_ctx.$slots, "index"),
65
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
78
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
66
79
  ]),
67
- createElementVNode("div", _hoisted_5, [
68
- createElementVNode("div", _hoisted_6, [
80
+ createElementVNode("div", _hoisted_6, [
81
+ createElementVNode("div", _hoisted_7, [
69
82
  createVNode(_sfc_main$1, {
70
83
  class: "icon",
71
84
  type: _ctx.item.series
72
85
  }, null, 8, ["type"]),
73
86
  renderSlot(_ctx.$slots, "tip"),
74
- _hoisted_7,
75
- createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
87
+ _hoisted_8,
88
+ createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
76
89
  ]),
77
- createElementVNode("div", _hoisted_9, [
90
+ createElementVNode("div", _hoisted_10, [
78
91
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
79
92
  ])
80
93
  ])
81
94
  ])
82
- ], 2);
95
+ ], 34);
83
96
  };
84
97
  }
85
98
  });