@cmstops/pro-compo 0.3.83 → 0.3.85

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 (170) hide show
  1. package/dist/index.css +40 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/baseFilter/components/FilterGroup.js +1 -1
  4. package/es/baseFilter/useCalcWidth.d.ts +2 -2
  5. package/es/contentDetailList/components/Content/DocItem/index.js +12 -14
  6. package/es/contentDetailList/components/Content/LiveItem/index.js +5 -6
  7. package/es/contentDetailList/components/Content/courseItem/index.js +7 -8
  8. package/es/contentDetailList/components/Content/funhdItem/index.js +7 -8
  9. package/es/contentDetailList/components/Content/index.js +2 -2
  10. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  11. package/es/contentModal/component.js +53 -14
  12. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  13. package/es/contentModal/components/Dejin/MediaFilter/index.js +128 -0
  14. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  15. package/es/contentModal/components/Dejin/index.js +236 -0
  16. package/es/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
  17. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  18. package/es/contentModal/components/storeBox/index.js +4 -4
  19. package/es/contentModal/script/api.d.ts +3 -0
  20. package/es/contentModal/script/api.js +22 -1
  21. package/es/dataTags/component.js +10 -10
  22. package/es/docHistory/component.js +2 -2
  23. package/es/docHistory/scripts/useDocHistory.d.ts +4 -4
  24. package/es/docPreview/component.js +47 -56
  25. package/es/docPreview/components/PreviewIframe.js +9 -10
  26. package/es/docPreview/scripts/hook.d.ts +16 -6
  27. package/es/editMetaInfo/component.js +35 -12
  28. package/es/editMetaInfo/components/metaInfoForm.js +4 -4
  29. package/es/emptyData/svg/acount.js +3 -5
  30. package/es/emptyData/svg/add.js +3 -5
  31. package/es/emptyData/svg/analize.js +3 -5
  32. package/es/emptyData/svg/analize_fail.js +3 -5
  33. package/es/emptyData/svg/empty.js +3 -5
  34. package/es/emptyData/svg/file.js +3 -5
  35. package/es/emptyData/svg/manager.js +3 -5
  36. package/es/emptyData/svg/message.js +14 -17
  37. package/es/emptyData/svg/noanalize.js +3 -5
  38. package/es/emptyData/svg/null.js +3 -5
  39. package/es/emptyData/svg/search.js +3 -5
  40. package/es/emptyData/svg/star.js +3 -5
  41. package/es/emptyData/svg/trash.js +3 -5
  42. package/es/emptyData/svg/user.js +3 -5
  43. package/es/hooks/batch.d.ts +1 -1
  44. package/es/hooks/dialogVisible.d.ts +1 -1
  45. package/es/hooks/source.d.ts +1 -1
  46. package/es/hooks/toggle.d.ts +1 -1
  47. package/es/hooks/useAttachement.d.ts +6 -6
  48. package/es/hooks/useMediaContext.d.ts +5 -5
  49. package/es/hooks/usePopper.d.ts +1 -1
  50. package/es/hooks/useSelection.d.ts +9 -2
  51. package/es/hooks/useUpload.d.ts +2 -2
  52. package/es/hooks/user.d.ts +1 -1
  53. package/es/imageCrop/component.js +4 -4
  54. package/es/importData/component.d.ts +0 -0
  55. package/es/importData/component.js +170 -0
  56. package/es/importData/index.d.ts +2 -0
  57. package/es/importData/index.js +7 -0
  58. package/es/importData/style/css.js +1 -0
  59. package/es/importData/style/index.css +40 -0
  60. package/es/importData/style/index.d.ts +1 -0
  61. package/es/importData/style/index.js +1 -0
  62. package/es/importData/style/index.less +48 -0
  63. package/es/index.css +40 -0
  64. package/es/index.d.ts +1 -0
  65. package/es/index.js +1 -0
  66. package/es/index.less +1 -0
  67. package/es/mediaFilter/components/DocFilter.js +1 -1
  68. package/es/mediaFilter/components/FilterGroup.js +1 -1
  69. package/es/mediaView/component.js +3 -5
  70. package/es/messageBox/component.js +2 -2
  71. package/es/previousVersion/component.js +3 -4
  72. package/es/resourceGridList/component.js +15 -18
  73. package/es/resourceModal/component.js +2 -2
  74. package/es/resourceModal/components/MediaPreviewer/index.js +7 -10
  75. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  76. package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  77. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  78. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  79. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  80. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  81. package/es/selectGategory/component.js +3 -4
  82. package/es/selectResourceModal/component.js +10 -10
  83. package/es/selectResourceModal/components/List/ListAi/index.js +7 -8
  84. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  85. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  86. package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  87. package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  88. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  89. package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
  90. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
  91. package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
  92. package/es/selectThumb/component.js +23 -28
  93. package/es/uploadBefore/components/UploadBefore.js +2 -2
  94. package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
  95. package/es/userAvater/component.js +2 -2
  96. package/es/userDirector/component.js +2 -2
  97. package/es/utils/filter.d.ts +12 -0
  98. package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
  99. package/lib/baseFilter/components/FilterGroup.js +1 -1
  100. package/lib/contentDetailList/components/Content/DocItem/index.js +12 -14
  101. package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
  102. package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
  103. package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
  104. package/lib/contentDetailList/components/Content/index.js +2 -2
  105. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  106. package/lib/contentModal/component.js +53 -14
  107. package/lib/contentModal/components/Dejin/MediaFilter/index.js +129 -0
  108. package/lib/contentModal/components/Dejin/index.js +237 -0
  109. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
  110. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  111. package/lib/contentModal/components/storeBox/index.js +4 -4
  112. package/lib/contentModal/script/api.js +24 -0
  113. package/lib/dataTags/component.js +10 -10
  114. package/lib/docHistory/component.js +2 -2
  115. package/lib/docPreview/component.js +47 -56
  116. package/lib/docPreview/components/PreviewIframe.js +9 -10
  117. package/lib/editMetaInfo/component.js +34 -11
  118. package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
  119. package/lib/emptyData/svg/acount.js +3 -5
  120. package/lib/emptyData/svg/add.js +3 -5
  121. package/lib/emptyData/svg/analize.js +3 -5
  122. package/lib/emptyData/svg/analize_fail.js +3 -5
  123. package/lib/emptyData/svg/empty.js +3 -5
  124. package/lib/emptyData/svg/file.js +3 -5
  125. package/lib/emptyData/svg/manager.js +3 -5
  126. package/lib/emptyData/svg/message.js +14 -17
  127. package/lib/emptyData/svg/noanalize.js +3 -5
  128. package/lib/emptyData/svg/null.js +3 -5
  129. package/lib/emptyData/svg/search.js +3 -5
  130. package/lib/emptyData/svg/star.js +3 -5
  131. package/lib/emptyData/svg/trash.js +3 -5
  132. package/lib/emptyData/svg/user.js +3 -5
  133. package/lib/imageCrop/component.js +4 -4
  134. package/lib/importData/component.js +171 -0
  135. package/lib/importData/index.js +8 -0
  136. package/lib/importData/style/css.js +2 -0
  137. package/lib/importData/style/index.css +40 -0
  138. package/lib/importData/style/index.js +2 -0
  139. package/lib/importData/style/index.less +48 -0
  140. package/lib/index.css +40 -0
  141. package/lib/index.js +2 -0
  142. package/lib/index.less +1 -0
  143. package/lib/mediaFilter/components/DocFilter.js +1 -1
  144. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  145. package/lib/mediaView/component.js +3 -5
  146. package/lib/messageBox/component.js +2 -2
  147. package/lib/previousVersion/component.js +3 -4
  148. package/lib/resourceGridList/component.js +15 -18
  149. package/lib/resourceModal/component.js +2 -2
  150. package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
  151. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  152. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  153. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  154. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  155. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  156. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  157. package/lib/selectGategory/component.js +3 -4
  158. package/lib/selectResourceModal/component.js +10 -10
  159. package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
  160. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  161. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  162. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  163. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  164. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  165. package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
  166. package/lib/selectThumb/component.js +23 -28
  167. package/lib/uploadBefore/components/UploadBefore.js +2 -2
  168. package/lib/userAvater/component.js +2 -2
  169. package/lib/userDirector/component.js +2 -2
  170. package/package.json +1 -1
@@ -19,16 +19,14 @@ const _hoisted_6 = { class: "abttrite-v" };
19
19
  const _hoisted_7 = { class: "left" };
20
20
  const _hoisted_8 = { class: "tags" };
21
21
  const _hoisted_9 = { key: 0 };
22
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1);
23
- const _hoisted_11 = { key: 1 };
24
- const _hoisted_12 = { class: "abttr" };
25
- const _hoisted_13 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
26
- const _hoisted_14 = /* @__PURE__ */ createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1);
27
- const _hoisted_15 = {
22
+ const _hoisted_10 = { key: 1 };
23
+ const _hoisted_11 = { class: "abttr" };
24
+ const _hoisted_12 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
25
+ const _hoisted_13 = {
28
26
  key: 1,
29
27
  style: { "font-size": "10px" }
30
28
  };
31
- const _hoisted_16 = { class: "right" };
29
+ const _hoisted_14 = { class: "right" };
32
30
  const _sfc_main = defineComponent({
33
31
  __name: "index",
34
32
  props: {
@@ -146,14 +144,14 @@ const _sfc_main = defineComponent({
146
144
  return openBlock(), createElementBlock(Fragment, { key: i }, [
147
145
  createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
148
146
  column.key === "approval_status" ? (openBlock(), createElementBlock("span", _hoisted_9, [
149
- _hoisted_10,
147
+ _cache[2] || (_cache[2] = createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1)),
150
148
  unref(approvalItem)(_ctx.item) ? (openBlock(), createBlock(_sfc_main$4, {
151
149
  key: 0,
152
150
  item: unref(approvalItem)(_ctx.item)
153
- }, null, 8, ["item"])) : (openBlock(), createElementBlock("span", _hoisted_11, "--"))
151
+ }, null, 8, ["item"])) : (openBlock(), createElementBlock("span", _hoisted_10, "--"))
154
152
  ])) : column.key === "state" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
155
153
  createCommentVNode(" \u72B6\u6001 "),
156
- createElementVNode("span", _hoisted_12, [
154
+ createElementVNode("span", _hoisted_11, [
157
155
  createVNode(unref(Tooltip), {
158
156
  content: `\u72B6\u6001: ${unref(docStateMap)[_ctx.item.state]}`,
159
157
  position: "top"
@@ -173,12 +171,12 @@ const _sfc_main = defineComponent({
173
171
  }, {
174
172
  content: withCtx(() => [
175
173
  _ctx.item.other_categories ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
176
- createElementVNode("div", _hoisted_13, "\u680F\u76EE: " + toDisplayString(_ctx.item.primary_category || "--"), 1),
174
+ createElementVNode("div", _hoisted_12, "\u680F\u76EE: " + toDisplayString(_ctx.item.primary_category || "--"), 1),
177
175
  createElementVNode("span", null, [
178
- _hoisted_14,
176
+ _cache[3] || (_cache[3] = createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1)),
179
177
  createTextVNode(" " + toDisplayString(_ctx.item.other_categories.join("\u3001")), 1)
180
178
  ])
181
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, "\u680F\u76EE: " + toDisplayString(_ctx.item.primary_category || "--"), 1))
179
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_13, "\u680F\u76EE: " + toDisplayString(_ctx.item.primary_category || "--"), 1))
182
180
  ]),
183
181
  default: withCtx(() => [
184
182
  createVNode(unref(Button), {
@@ -230,7 +228,7 @@ const _sfc_main = defineComponent({
230
228
  ], 64);
231
229
  }), 128))
232
230
  ]),
233
- createElementVNode("div", _hoisted_16, [
231
+ createElementVNode("div", _hoisted_14, [
234
232
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
235
233
  ])
236
234
  ])
@@ -12,9 +12,8 @@ const _hoisted_4 = { class: "info-view" };
12
12
  const _hoisted_5 = { class: "title_i" };
13
13
  const _hoisted_6 = { class: "abttrite-v" };
14
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" };
15
+ const _hoisted_8 = { class: "abttr time" };
16
+ const _hoisted_9 = { class: "right" };
18
17
  const _sfc_main = defineComponent({
19
18
  __name: "index",
20
19
  props: {
@@ -84,10 +83,10 @@ const _sfc_main = defineComponent({
84
83
  type: _ctx.item.series
85
84
  }, null, 8, ["type"]),
86
85
  renderSlot(_ctx.$slots, "tip"),
87
- _hoisted_8,
88
- createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
86
+ _cache[2] || (_cache[2] = createElementVNode("span", { class: "abttr tags" }, null, -1)),
87
+ createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
89
88
  ]),
90
- createElementVNode("div", _hoisted_10, [
89
+ createElementVNode("div", _hoisted_9, [
91
90
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
92
91
  ])
93
92
  ])
@@ -12,10 +12,9 @@ const _hoisted_4 = { class: "info-view" };
12
12
  const _hoisted_5 = { class: "title_i" };
13
13
  const _hoisted_6 = { class: "abttrite-v" };
14
14
  const _hoisted_7 = { class: "left" };
15
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
16
- const _hoisted_9 = { class: "abttr tags" };
17
- const _hoisted_10 = { class: "abttr time" };
18
- const _hoisted_11 = { class: "right" };
15
+ const _hoisted_8 = { class: "abttr tags" };
16
+ const _hoisted_9 = { class: "abttr time" };
17
+ const _hoisted_10 = { class: "right" };
19
18
  const _sfc_main = defineComponent({
20
19
  __name: "index",
21
20
  props: {
@@ -85,19 +84,19 @@ const _sfc_main = defineComponent({
85
84
  type: "course"
86
85
  }),
87
86
  renderSlot(_ctx.$slots, "tip"),
88
- _hoisted_8,
87
+ _cache[2] || (_cache[2] = createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1)),
89
88
  createVNode(unref(Tooltip), {
90
89
  content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
91
90
  position: "top"
92
91
  }, {
93
92
  default: withCtx(() => [
94
- createElementVNode("span", _hoisted_9, toDisplayString(_ctx.item.pub_user_alias), 1)
93
+ createElementVNode("span", _hoisted_8, toDisplayString(_ctx.item.pub_user_alias), 1)
95
94
  ]),
96
95
  _: 1
97
96
  }, 8, ["content"]),
98
- createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
97
+ createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
99
98
  ]),
100
- createElementVNode("div", _hoisted_11, [
99
+ createElementVNode("div", _hoisted_10, [
101
100
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
102
101
  ])
103
102
  ])
@@ -12,10 +12,9 @@ const _hoisted_4 = { class: "info-view" };
12
12
  const _hoisted_5 = { class: "title_i" };
13
13
  const _hoisted_6 = { class: "abttrite-v" };
14
14
  const _hoisted_7 = { class: "left" };
15
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
16
- const _hoisted_9 = { class: "abttr tags" };
17
- const _hoisted_10 = { class: "abttr time" };
18
- const _hoisted_11 = { class: "right" };
15
+ const _hoisted_8 = { class: "abttr tags" };
16
+ const _hoisted_9 = { class: "abttr time" };
17
+ const _hoisted_10 = { class: "right" };
19
18
  const _sfc_main = defineComponent({
20
19
  __name: "index",
21
20
  props: {
@@ -85,19 +84,19 @@ const _sfc_main = defineComponent({
85
84
  type: "funhd"
86
85
  }),
87
86
  renderSlot(_ctx.$slots, "tip"),
88
- _hoisted_8,
87
+ _cache[2] || (_cache[2] = createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1)),
89
88
  createVNode(unref(Tooltip), {
90
89
  content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
91
90
  position: "top"
92
91
  }, {
93
92
  default: withCtx(() => [
94
- createElementVNode("span", _hoisted_9, toDisplayString(_ctx.item.pub_user_alias), 1)
93
+ createElementVNode("span", _hoisted_8, toDisplayString(_ctx.item.pub_user_alias), 1)
95
94
  ]),
96
95
  _: 1
97
96
  }, 8, ["content"]),
98
- createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
97
+ createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
99
98
  ]),
100
- createElementVNode("div", _hoisted_11, [
99
+ createElementVNode("div", _hoisted_10, [
101
100
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
102
101
  ])
103
102
  ])
@@ -470,11 +470,11 @@ const _sfc_main = defineComponent({
470
470
  onCellMouseEnter: cellMouseEnter,
471
471
  onCellMouseLeave: cellMouseLeave
472
472
  }, {
473
- batch: withCtx(() => []),
473
+ batch: withCtx(() => _cache[0] || (_cache[0] = [])),
474
474
  index: withCtx(() => [
475
475
  createElementVNode("span", _hoisted_37, toDisplayString(_ctx.index + 1), 1)
476
476
  ]),
477
- tip: withCtx(() => []),
477
+ tip: withCtx(() => _cache[1] || (_cache[1] = [])),
478
478
  option: withCtx(() => [
479
479
  renderSlot(_ctx.$slots, "option", {
480
480
  row: _ctx.item,
@@ -24,16 +24,15 @@ const _hoisted_8 = {
24
24
  key: 3,
25
25
  class: "setting"
26
26
  };
27
- const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
28
- const _hoisted_10 = {
27
+ const _hoisted_9 = {
29
28
  key: 4,
30
29
  class: "time-go"
31
30
  };
32
- const _hoisted_11 = {
31
+ const _hoisted_10 = {
33
32
  key: 5,
34
33
  class: "time-go"
35
34
  };
36
- const _hoisted_12 = { class: "btns" };
35
+ const _hoisted_11 = { class: "btns" };
37
36
  const _sfc_main = defineComponent({
38
37
  __name: "index",
39
38
  props: {
@@ -217,7 +216,7 @@ const _sfc_main = defineComponent({
217
216
  ])) : (openBlock(), createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
218
217
  ], 64)),
219
218
  is_share.value ? (openBlock(), createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (openBlock(), createElementBlock("div", _hoisted_8, [
220
- _hoisted_9,
219
+ _cache[4] || (_cache[4] = createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
221
220
  createElementVNode("span", null, [
222
221
  createVNode(unref(Select), {
223
222
  modelValue: expiration.value,
@@ -238,17 +237,17 @@ const _sfc_main = defineComponent({
238
237
  }, 8, ["modelValue"])
239
238
  ])
240
239
  ])),
241
- is_share.value && time.value ? (openBlock(), createElementBlock("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (openBlock(), createElementBlock("div", _hoisted_11, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : createCommentVNode("v-if", true),
242
- createElementVNode("div", _hoisted_12, [
240
+ is_share.value && time.value ? (openBlock(), createElementBlock("div", _hoisted_9, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (openBlock(), createElementBlock("div", _hoisted_10, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : createCommentVNode("v-if", true),
241
+ createElementVNode("div", _hoisted_11, [
243
242
  showGetLink.value ? (openBlock(), createBlock(unref(Button), {
244
243
  key: 0,
245
244
  type: "primary",
246
245
  light: "",
247
246
  onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
248
247
  }, {
249
- default: withCtx(() => [
248
+ default: withCtx(() => _cache[5] || (_cache[5] = [
250
249
  createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
251
- ]),
250
+ ])),
252
251
  _: 1
253
252
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
254
253
  createVNode(unref(Button), {
@@ -256,9 +255,9 @@ const _sfc_main = defineComponent({
256
255
  light: "",
257
256
  onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
258
257
  }, {
259
- default: withCtx(() => [
258
+ default: withCtx(() => _cache[6] || (_cache[6] = [
260
259
  createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
261
- ]),
260
+ ])),
262
261
  _: 1
263
262
  }),
264
263
  createVNode(unref(Button), {
@@ -8,6 +8,7 @@ import _sfc_main$3 from "./components/ContentList/index.js";
8
8
  import _sfc_main$5 from "./components/LiveList/index.js";
9
9
  import _sfc_main$8 from "./components/EqxiuList/index.js";
10
10
  import _sfc_main$7 from "./components/MpContentList/index.js";
11
+ import _sfc_main$9 from "./components/Dejin/index.js";
11
12
  import _sfc_main$2 from "./components/storeBox/index.js";
12
13
  import "../typeIcons/style/index.js";
13
14
  import { getConfigurationNew } from "./script/api.js";
@@ -167,9 +168,9 @@ const _sfc_main = defineComponent({
167
168
  type: "primary",
168
169
  onClick: comfirm
169
170
  }, {
170
- default: withCtx(() => [
171
+ default: withCtx(() => _cache[8] || (_cache[8] = [
171
172
  createTextVNode("\u6DFB\u52A0 ")
172
- ]),
173
+ ])),
173
174
  _: 1
174
175
  }, 8, ["disabled"])
175
176
  ]),
@@ -206,9 +207,9 @@ const _sfc_main = defineComponent({
206
207
  type: "primary",
207
208
  onClick: comfirm
208
209
  }, {
209
- default: withCtx(() => [
210
+ default: withCtx(() => _cache[9] || (_cache[9] = [
210
211
  createTextVNode(" \u6DFB\u52A0 ")
211
- ]),
212
+ ])),
212
213
  _: 1
213
214
  }, 8, ["disabled"])
214
215
  ]),
@@ -246,9 +247,9 @@ const _sfc_main = defineComponent({
246
247
  type: "primary",
247
248
  onClick: comfirm
248
249
  }, {
249
- default: withCtx(() => [
250
+ default: withCtx(() => _cache[10] || (_cache[10] = [
250
251
  createTextVNode(" \u6DFB\u52A0 ")
251
- ]),
252
+ ])),
252
253
  _: 1
253
254
  }, 8, ["disabled"])
254
255
  ]),
@@ -285,9 +286,9 @@ const _sfc_main = defineComponent({
285
286
  type: "primary",
286
287
  onClick: comfirm
287
288
  }, {
288
- default: withCtx(() => [
289
+ default: withCtx(() => _cache[11] || (_cache[11] = [
289
290
  createTextVNode(" \u6DFB\u52A0 ")
290
- ]),
291
+ ])),
291
292
  _: 1
292
293
  }, 8, ["disabled"])
293
294
  ]),
@@ -324,9 +325,9 @@ const _sfc_main = defineComponent({
324
325
  type: "primary",
325
326
  onClick: comfirm
326
327
  }, {
327
- default: withCtx(() => [
328
+ default: withCtx(() => _cache[12] || (_cache[12] = [
328
329
  createTextVNode(" \u6DFB\u52A0 ")
329
- ]),
330
+ ])),
330
331
  _: 1
331
332
  }, 8, ["disabled"])
332
333
  ]),
@@ -363,9 +364,9 @@ const _sfc_main = defineComponent({
363
364
  type: "primary",
364
365
  onClick: comfirm
365
366
  }, {
366
- default: withCtx(() => [
367
+ default: withCtx(() => _cache[13] || (_cache[13] = [
367
368
  createTextVNode(" \u6DFB\u52A0 ")
368
- ]),
369
+ ])),
369
370
  _: 1
370
371
  }, 8, ["disabled"])
371
372
  ]),
@@ -402,9 +403,9 @@ const _sfc_main = defineComponent({
402
403
  type: "primary",
403
404
  onClick: comfirm
404
405
  }, {
405
- default: withCtx(() => [
406
+ default: withCtx(() => _cache[14] || (_cache[14] = [
406
407
  createTextVNode(" \u6DFB\u52A0 ")
407
- ]),
408
+ ])),
408
409
  _: 1
409
410
  }, 8, ["disabled"])
410
411
  ]),
@@ -412,6 +413,44 @@ const _sfc_main = defineComponent({
412
413
  }, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : createCommentVNode("v-if", true)
413
414
  ]),
414
415
  _: 1
416
+ })) : createCommentVNode("v-if", true),
417
+ createCommentVNode(" \u62A5\u6599\u5185\u5BB9 "),
418
+ typeDataController.value.addDejin ? (openBlock(), createBlock(unref(TabPane), {
419
+ key: "10",
420
+ title: "\u62A5\u6599\u5185\u5BB9"
421
+ }, {
422
+ default: withCtx(() => [
423
+ unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$9, {
424
+ key: 0,
425
+ "default-selected-data": selectedData.value,
426
+ "max-select": _ctx.maxSelect,
427
+ "outside-select-data": _ctx.outsideSelectData || [],
428
+ "type-data": typeDataController.value,
429
+ "user-info": unref(userInfo),
430
+ onChange: selectedDataChangeHandle
431
+ }, {
432
+ store: withCtx(() => [
433
+ createVNode(_sfc_main$2, {
434
+ selectData: selectedData.value,
435
+ "onUpdate:selectData": _cache[7] || (_cache[7] = ($event) => selectedData.value = $event)
436
+ }, null, 8, ["selectData"])
437
+ ]),
438
+ options: withCtx(() => [
439
+ createVNode(unref(Button), {
440
+ disabled: !hasSelected.value,
441
+ type: "primary",
442
+ onClick: comfirm
443
+ }, {
444
+ default: withCtx(() => _cache[15] || (_cache[15] = [
445
+ createTextVNode(" \u6DFB\u52A0 ")
446
+ ])),
447
+ _: 1
448
+ }, 8, ["disabled"])
449
+ ]),
450
+ _: 1
451
+ }, 8, ["default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : createCommentVNode("v-if", true)
452
+ ]),
453
+ _: 1
415
454
  })) : createCommentVNode("v-if", true)
416
455
  ]),
417
456
  _: 1
@@ -0,0 +1,128 @@
1
+ import { defineComponent, ref, watch, onMounted, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock } from "vue";
2
+ import { Row, Col, Input, Select, Option } from "@arco-design/web-vue";
3
+ import { getReporterContent, getTypeConfig } from "../../../script/api.js";
4
+ const _hoisted_1 = { class: "media-filter-container" };
5
+ const _sfc_main = defineComponent({
6
+ ...{ name: "MediaFilter" },
7
+ __name: "index",
8
+ props: {
9
+ userInfo: {}
10
+ },
11
+ emits: ["update:group_id", "search"],
12
+ setup(__props, { emit: __emit }) {
13
+ const props = __props;
14
+ const emit = __emit;
15
+ const filter = ref({ title: "", classify_id: "", related_journalist: "" });
16
+ const reporterOptions = ref([]);
17
+ const getReporterOptions = async (params) => {
18
+ var _a;
19
+ const res = await getReporterContent(props.userInfo.BASE_API, {
20
+ offset: 0,
21
+ limit: 100,
22
+ ...params
23
+ });
24
+ if (res.code === 0) {
25
+ reporterOptions.value = (((_a = res.message) == null ? void 0 : _a.data) || []).map((item) => {
26
+ return {
27
+ label: item.alias || "\u533F\u540D\u8BB0\u8005",
28
+ value: item.uuid
29
+ };
30
+ });
31
+ }
32
+ };
33
+ const dejinTypeOptions = ref([]);
34
+ const getDejinTypeOptions = async (params) => {
35
+ var _a;
36
+ const res = await getTypeConfig(props.userInfo.BASE_API, {
37
+ offset: 0,
38
+ limit: 100,
39
+ ...params
40
+ });
41
+ if (res.code === 0) {
42
+ dejinTypeOptions.value = (((_a = res.message) == null ? void 0 : _a.data) || []).map((item) => {
43
+ return {
44
+ label: item.name,
45
+ value: item.id
46
+ };
47
+ });
48
+ }
49
+ };
50
+ const handleSearch = () => {
51
+ emit("search", filter.value);
52
+ };
53
+ watch(
54
+ () => filter.value,
55
+ () => handleSearch(),
56
+ { deep: true }
57
+ );
58
+ onMounted(() => {
59
+ getDejinTypeOptions();
60
+ getReporterOptions();
61
+ });
62
+ return (_ctx, _cache) => {
63
+ return openBlock(), createElementBlock("div", _hoisted_1, [
64
+ createVNode(unref(Row), {
65
+ justify: "space-between",
66
+ style: { "width": "100%" }
67
+ }, {
68
+ default: withCtx(() => [
69
+ createVNode(unref(Col), { span: 20 }, {
70
+ default: withCtx(() => [
71
+ createVNode(unref(Input), {
72
+ modelValue: filter.value.title,
73
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter.value.title = $event),
74
+ class: "filter-item",
75
+ style: { "margin-right": "10px" },
76
+ "allow-clear": "",
77
+ placeholder: "\u8BF7\u8F93\u5165\u6807\u9898\u68C0\u7D22",
78
+ onPressEnter: handleSearch
79
+ }, null, 8, ["modelValue"]),
80
+ createVNode(unref(Select), {
81
+ modelValue: filter.value.classify_id,
82
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filter.value.classify_id = $event),
83
+ class: "filter-item",
84
+ placeholder: "\u62A5\u6599\u7C7B\u578B",
85
+ "allow-clear": "",
86
+ style: { "width": "120px", "margin-right": "10px" }
87
+ }, {
88
+ default: withCtx(() => [
89
+ (openBlock(true), createElementBlock(Fragment, null, renderList(dejinTypeOptions.value, (item) => {
90
+ return openBlock(), createBlock(unref(Option), {
91
+ key: item.id,
92
+ label: item.label,
93
+ value: item.value
94
+ }, null, 8, ["label", "value"]);
95
+ }), 128))
96
+ ]),
97
+ _: 1
98
+ }, 8, ["modelValue"]),
99
+ createVNode(unref(Select), {
100
+ modelValue: filter.value.related_journalist,
101
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.related_journalist = $event),
102
+ class: "filter-item",
103
+ placeholder: "\u5173\u8054\u8BB0\u8005",
104
+ "allow-clear": "",
105
+ style: { "width": "120px" }
106
+ }, {
107
+ default: withCtx(() => [
108
+ (openBlock(true), createElementBlock(Fragment, null, renderList(reporterOptions.value, (item) => {
109
+ return openBlock(), createBlock(unref(Option), {
110
+ key: item.value,
111
+ label: item.label,
112
+ value: item.value
113
+ }, null, 8, ["label", "value"]);
114
+ }), 128))
115
+ ]),
116
+ _: 1
117
+ }, 8, ["modelValue"])
118
+ ]),
119
+ _: 1
120
+ })
121
+ ]),
122
+ _: 1
123
+ })
124
+ ]);
125
+ };
126
+ }
127
+ });
128
+ export { _sfc_main as default };
File without changes