@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
@@ -137,9 +137,9 @@ const _sfc_main = defineComponent({
137
137
  type: "text",
138
138
  onClick: _cache[1] || (_cache[1] = ($event) => loginOut())
139
139
  }, {
140
- default: withCtx(() => [
140
+ default: withCtx(() => _cache[2] || (_cache[2] = [
141
141
  createTextVNode("\u9000\u51FA")
142
- ]),
142
+ ])),
143
143
  _: 1
144
144
  })
145
145
  ])
@@ -225,9 +225,9 @@ const _sfc_main = defineComponent({
225
225
  size: "mini",
226
226
  onClick: clearUserSelectedList
227
227
  }, {
228
- default: withCtx(() => [
228
+ default: withCtx(() => _cache[0] || (_cache[0] = [
229
229
  createTextVNode("\u5168\u90E8\u6E05\u9664")
230
- ]),
230
+ ])),
231
231
  _: 1
232
232
  })
233
233
  ]),
@@ -1,9 +1,21 @@
1
1
  export declare const rateOptions: import("vue").Ref<{
2
2
  label: string;
3
3
  value: string;
4
+ }[], {
5
+ label: string;
6
+ value: string;
7
+ }[] | {
8
+ label: string;
9
+ value: string;
4
10
  }[]>;
5
11
  export declare const keywordsSelection: import("vue").Ref<{
6
12
  name: string;
7
13
  value: string;
14
+ }[], {
15
+ name: string;
16
+ value: string;
17
+ }[] | {
18
+ name: string;
19
+ value: string;
8
20
  }[]>;
9
21
  export declare const timeFormat: import("vue").ComputedRef<(value: any) => string>;
@@ -1,12 +1,12 @@
1
1
  export declare function getHMSF(time: string): string;
2
2
  export declare function useVideoThumbs(): {
3
- loading: import("vue").Ref<boolean>;
4
- thumbs: import("vue").Ref<any[]>;
5
- curThumb: import("vue").Ref<string | undefined>;
3
+ loading: import("vue").Ref<boolean, boolean>;
4
+ thumbs: import("vue").Ref<any[], any[]>;
5
+ curThumb: import("vue").Ref<string | undefined, string | undefined>;
6
6
  getVideoThumbs: (BASE_API: string, url: string, duration: number) => Promise<void>;
7
7
  handleSelectThumb: (idx: number) => void;
8
8
  };
9
9
  export declare function useDragger(moveCallback: any, upCallback: any, downCallback: any): {
10
- isDrag: import("vue").Ref<boolean>;
10
+ isDrag: import("vue").Ref<boolean, boolean>;
11
11
  handleMousedown: (e: MouseEvent) => void;
12
12
  };
@@ -116,7 +116,7 @@ const _sfc_main = vue.defineComponent({
116
116
  }, {
117
117
  default: vue.withCtx(() => [
118
118
  vue.createElementVNode("span", _hoisted_3, [
119
- vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 "),
119
+ _cache[1] || (_cache[1] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
120
120
  vue.createVNode(vue.unref(icon.IconCaretDown))
121
121
  ])
122
122
  ]),
@@ -20,16 +20,14 @@ const _hoisted_6 = { class: "abttrite-v" };
20
20
  const _hoisted_7 = { class: "left" };
21
21
  const _hoisted_8 = { class: "tags" };
22
22
  const _hoisted_9 = { key: 0 };
23
- const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1);
24
- const _hoisted_11 = { key: 1 };
25
- const _hoisted_12 = { class: "abttr" };
26
- const _hoisted_13 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
27
- const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1);
28
- const _hoisted_15 = {
23
+ const _hoisted_10 = { key: 1 };
24
+ const _hoisted_11 = { class: "abttr" };
25
+ const _hoisted_12 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
26
+ const _hoisted_13 = {
29
27
  key: 1,
30
28
  style: { "font-size": "10px" }
31
29
  };
32
- const _hoisted_16 = { class: "right" };
30
+ const _hoisted_14 = { class: "right" };
33
31
  const _sfc_main = vue.defineComponent({
34
32
  __name: "index",
35
33
  props: {
@@ -147,14 +145,14 @@ const _sfc_main = vue.defineComponent({
147
145
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i }, [
148
146
  vue.createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
149
147
  column.key === "approval_status" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9, [
150
- _hoisted_10,
148
+ _cache[2] || (_cache[2] = vue.createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1)),
151
149
  vue.unref(doc.approvalItem)(_ctx.item) ? (vue.openBlock(), vue.createBlock(index$2, {
152
150
  key: 0,
153
151
  item: vue.unref(doc.approvalItem)(_ctx.item)
154
- }, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_11, "--"))
152
+ }, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, "--"))
155
153
  ])) : column.key === "state" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
156
154
  vue.createCommentVNode(" \u72B6\u6001 "),
157
- vue.createElementVNode("span", _hoisted_12, [
155
+ vue.createElementVNode("span", _hoisted_11, [
158
156
  vue.createVNode(vue.unref(webVue.Tooltip), {
159
157
  content: `\u72B6\u6001: ${vue.unref(doc.docStateMap)[_ctx.item.state]}`,
160
158
  position: "top"
@@ -174,12 +172,12 @@ const _sfc_main = vue.defineComponent({
174
172
  }, {
175
173
  content: vue.withCtx(() => [
176
174
  _ctx.item.other_categories ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
177
- vue.createElementVNode("div", _hoisted_13, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1),
175
+ vue.createElementVNode("div", _hoisted_12, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1),
178
176
  vue.createElementVNode("span", null, [
179
- _hoisted_14,
177
+ _cache[3] || (_cache[3] = vue.createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1)),
180
178
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.other_categories.join("\u3001")), 1)
181
179
  ])
182
- ], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1))
180
+ ], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1))
183
181
  ]),
184
182
  default: vue.withCtx(() => [
185
183
  vue.createVNode(vue.unref(webVue.Button), {
@@ -231,7 +229,7 @@ const _sfc_main = vue.defineComponent({
231
229
  ], 64);
232
230
  }), 128))
233
231
  ]),
234
- vue.createElementVNode("div", _hoisted_16, [
232
+ vue.createElementVNode("div", _hoisted_14, [
235
233
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
236
234
  ])
237
235
  ])
@@ -13,9 +13,8 @@ const _hoisted_4 = { class: "info-view" };
13
13
  const _hoisted_5 = { class: "title_i" };
14
14
  const _hoisted_6 = { class: "abttrite-v" };
15
15
  const _hoisted_7 = { class: "left" };
16
- const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, null, -1);
17
- const _hoisted_9 = { class: "abttr time" };
18
- const _hoisted_10 = { class: "right" };
16
+ const _hoisted_8 = { class: "abttr time" };
17
+ const _hoisted_9 = { class: "right" };
19
18
  const _sfc_main = vue.defineComponent({
20
19
  __name: "index",
21
20
  props: {
@@ -85,10 +84,10 @@ const _sfc_main = vue.defineComponent({
85
84
  type: _ctx.item.series
86
85
  }, null, 8, ["type"]),
87
86
  vue.renderSlot(_ctx.$slots, "tip"),
88
- _hoisted_8,
89
- vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
87
+ _cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, null, -1)),
88
+ vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
90
89
  ]),
91
- vue.createElementVNode("div", _hoisted_10, [
90
+ vue.createElementVNode("div", _hoisted_9, [
92
91
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
93
92
  ])
94
93
  ])
@@ -13,10 +13,9 @@ const _hoisted_4 = { class: "info-view" };
13
13
  const _hoisted_5 = { class: "title_i" };
14
14
  const _hoisted_6 = { class: "abttrite-v" };
15
15
  const _hoisted_7 = { class: "left" };
16
- const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
17
- const _hoisted_9 = { class: "abttr tags" };
18
- const _hoisted_10 = { class: "abttr time" };
19
- const _hoisted_11 = { class: "right" };
16
+ const _hoisted_8 = { class: "abttr tags" };
17
+ const _hoisted_9 = { class: "abttr time" };
18
+ const _hoisted_10 = { class: "right" };
20
19
  const _sfc_main = vue.defineComponent({
21
20
  __name: "index",
22
21
  props: {
@@ -86,19 +85,19 @@ const _sfc_main = vue.defineComponent({
86
85
  type: "course"
87
86
  }),
88
87
  vue.renderSlot(_ctx.$slots, "tip"),
89
- _hoisted_8,
88
+ _cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1)),
90
89
  vue.createVNode(vue.unref(webVue.Tooltip), {
91
90
  content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
92
91
  position: "top"
93
92
  }, {
94
93
  default: vue.withCtx(() => [
95
- vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
94
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
96
95
  ]),
97
96
  _: 1
98
97
  }, 8, ["content"]),
99
- vue.createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
98
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
100
99
  ]),
101
- vue.createElementVNode("div", _hoisted_11, [
100
+ vue.createElementVNode("div", _hoisted_10, [
102
101
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
103
102
  ])
104
103
  ])
@@ -13,10 +13,9 @@ const _hoisted_4 = { class: "info-view" };
13
13
  const _hoisted_5 = { class: "title_i" };
14
14
  const _hoisted_6 = { class: "abttrite-v" };
15
15
  const _hoisted_7 = { class: "left" };
16
- const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
17
- const _hoisted_9 = { class: "abttr tags" };
18
- const _hoisted_10 = { class: "abttr time" };
19
- const _hoisted_11 = { class: "right" };
16
+ const _hoisted_8 = { class: "abttr tags" };
17
+ const _hoisted_9 = { class: "abttr time" };
18
+ const _hoisted_10 = { class: "right" };
20
19
  const _sfc_main = vue.defineComponent({
21
20
  __name: "index",
22
21
  props: {
@@ -86,19 +85,19 @@ const _sfc_main = vue.defineComponent({
86
85
  type: "funhd"
87
86
  }),
88
87
  vue.renderSlot(_ctx.$slots, "tip"),
89
- _hoisted_8,
88
+ _cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1)),
90
89
  vue.createVNode(vue.unref(webVue.Tooltip), {
91
90
  content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
92
91
  position: "top"
93
92
  }, {
94
93
  default: vue.withCtx(() => [
95
- vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
94
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
96
95
  ]),
97
96
  _: 1
98
97
  }, 8, ["content"]),
99
- vue.createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
98
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
100
99
  ]),
101
- vue.createElementVNode("div", _hoisted_11, [
100
+ vue.createElementVNode("div", _hoisted_10, [
102
101
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
103
102
  ])
104
103
  ])
@@ -471,11 +471,11 @@ const _sfc_main = vue.defineComponent({
471
471
  onCellMouseEnter: cellMouseEnter,
472
472
  onCellMouseLeave: cellMouseLeave
473
473
  }, {
474
- batch: vue.withCtx(() => []),
474
+ batch: vue.withCtx(() => _cache[0] || (_cache[0] = [])),
475
475
  index: vue.withCtx(() => [
476
476
  vue.createElementVNode("span", _hoisted_37, vue.toDisplayString(_ctx.index + 1), 1)
477
477
  ]),
478
- tip: vue.withCtx(() => []),
478
+ tip: vue.withCtx(() => _cache[1] || (_cache[1] = [])),
479
479
  option: vue.withCtx(() => [
480
480
  vue.renderSlot(_ctx.$slots, "option", {
481
481
  row: _ctx.item,
@@ -29,16 +29,15 @@ const _hoisted_8 = {
29
29
  key: 3,
30
30
  class: "setting"
31
31
  };
32
- const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
33
- const _hoisted_10 = {
32
+ const _hoisted_9 = {
34
33
  key: 4,
35
34
  class: "time-go"
36
35
  };
37
- const _hoisted_11 = {
36
+ const _hoisted_10 = {
38
37
  key: 5,
39
38
  class: "time-go"
40
39
  };
41
- const _hoisted_12 = { class: "btns" };
40
+ const _hoisted_11 = { class: "btns" };
42
41
  const _sfc_main = vue.defineComponent({
43
42
  __name: "index",
44
43
  props: {
@@ -222,7 +221,7 @@ const _sfc_main = vue.defineComponent({
222
221
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
223
222
  ], 64)),
224
223
  is_share.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
225
- _hoisted_9,
224
+ _cache[4] || (_cache[4] = vue.createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
226
225
  vue.createElementVNode("span", null, [
227
226
  vue.createVNode(vue.unref(webVue.Select), {
228
227
  modelValue: expiration.value,
@@ -243,17 +242,17 @@ const _sfc_main = vue.defineComponent({
243
242
  }, 8, ["modelValue"])
244
243
  ])
245
244
  ])),
246
- is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
247
- vue.createElementVNode("div", _hoisted_12, [
245
+ is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
246
+ vue.createElementVNode("div", _hoisted_11, [
248
247
  showGetLink.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
249
248
  key: 0,
250
249
  type: "primary",
251
250
  light: "",
252
251
  onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
253
252
  }, {
254
- default: vue.withCtx(() => [
253
+ default: vue.withCtx(() => _cache[5] || (_cache[5] = [
255
254
  vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
256
- ]),
255
+ ])),
257
256
  _: 1
258
257
  })) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
259
258
  vue.createVNode(vue.unref(webVue.Button), {
@@ -261,9 +260,9 @@ const _sfc_main = vue.defineComponent({
261
260
  light: "",
262
261
  onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
263
262
  }, {
264
- default: vue.withCtx(() => [
263
+ default: vue.withCtx(() => _cache[6] || (_cache[6] = [
265
264
  vue.createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
266
- ]),
265
+ ])),
267
266
  _: 1
268
267
  }),
269
268
  vue.createVNode(vue.unref(webVue.Button), {
@@ -9,6 +9,7 @@ var index$2 = require("./components/ContentList/index.js");
9
9
  var index$4 = require("./components/LiveList/index.js");
10
10
  var index$7 = require("./components/EqxiuList/index.js");
11
11
  var index$6 = require("./components/MpContentList/index.js");
12
+ var index$8 = require("./components/Dejin/index.js");
12
13
  var index$1 = require("./components/storeBox/index.js");
13
14
  require("../typeIcons/style/index.js");
14
15
  var api = require("./script/api.js");
@@ -168,9 +169,9 @@ const _sfc_main = vue.defineComponent({
168
169
  type: "primary",
169
170
  onClick: comfirm
170
171
  }, {
171
- default: vue.withCtx(() => [
172
+ default: vue.withCtx(() => _cache[8] || (_cache[8] = [
172
173
  vue.createTextVNode("\u6DFB\u52A0 ")
173
- ]),
174
+ ])),
174
175
  _: 1
175
176
  }, 8, ["disabled"])
176
177
  ]),
@@ -207,9 +208,9 @@ const _sfc_main = vue.defineComponent({
207
208
  type: "primary",
208
209
  onClick: comfirm
209
210
  }, {
210
- default: vue.withCtx(() => [
211
+ default: vue.withCtx(() => _cache[9] || (_cache[9] = [
211
212
  vue.createTextVNode(" \u6DFB\u52A0 ")
212
- ]),
213
+ ])),
213
214
  _: 1
214
215
  }, 8, ["disabled"])
215
216
  ]),
@@ -247,9 +248,9 @@ const _sfc_main = vue.defineComponent({
247
248
  type: "primary",
248
249
  onClick: comfirm
249
250
  }, {
250
- default: vue.withCtx(() => [
251
+ default: vue.withCtx(() => _cache[10] || (_cache[10] = [
251
252
  vue.createTextVNode(" \u6DFB\u52A0 ")
252
- ]),
253
+ ])),
253
254
  _: 1
254
255
  }, 8, ["disabled"])
255
256
  ]),
@@ -286,9 +287,9 @@ const _sfc_main = vue.defineComponent({
286
287
  type: "primary",
287
288
  onClick: comfirm
288
289
  }, {
289
- default: vue.withCtx(() => [
290
+ default: vue.withCtx(() => _cache[11] || (_cache[11] = [
290
291
  vue.createTextVNode(" \u6DFB\u52A0 ")
291
- ]),
292
+ ])),
292
293
  _: 1
293
294
  }, 8, ["disabled"])
294
295
  ]),
@@ -325,9 +326,9 @@ const _sfc_main = vue.defineComponent({
325
326
  type: "primary",
326
327
  onClick: comfirm
327
328
  }, {
328
- default: vue.withCtx(() => [
329
+ default: vue.withCtx(() => _cache[12] || (_cache[12] = [
329
330
  vue.createTextVNode(" \u6DFB\u52A0 ")
330
- ]),
331
+ ])),
331
332
  _: 1
332
333
  }, 8, ["disabled"])
333
334
  ]),
@@ -364,9 +365,9 @@ const _sfc_main = vue.defineComponent({
364
365
  type: "primary",
365
366
  onClick: comfirm
366
367
  }, {
367
- default: vue.withCtx(() => [
368
+ default: vue.withCtx(() => _cache[13] || (_cache[13] = [
368
369
  vue.createTextVNode(" \u6DFB\u52A0 ")
369
- ]),
370
+ ])),
370
371
  _: 1
371
372
  }, 8, ["disabled"])
372
373
  ]),
@@ -403,9 +404,9 @@ const _sfc_main = vue.defineComponent({
403
404
  type: "primary",
404
405
  onClick: comfirm
405
406
  }, {
406
- default: vue.withCtx(() => [
407
+ default: vue.withCtx(() => _cache[14] || (_cache[14] = [
407
408
  vue.createTextVNode(" \u6DFB\u52A0 ")
408
- ]),
409
+ ])),
409
410
  _: 1
410
411
  }, 8, ["disabled"])
411
412
  ]),
@@ -413,6 +414,44 @@ const _sfc_main = vue.defineComponent({
413
414
  }, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
414
415
  ]),
415
416
  _: 1
417
+ })) : vue.createCommentVNode("v-if", true),
418
+ vue.createCommentVNode(" \u62A5\u6599\u5185\u5BB9 "),
419
+ typeDataController.value.addDejin ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
420
+ key: "10",
421
+ title: "\u62A5\u6599\u5185\u5BB9"
422
+ }, {
423
+ default: vue.withCtx(() => [
424
+ vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$8, {
425
+ key: 0,
426
+ "default-selected-data": selectedData.value,
427
+ "max-select": _ctx.maxSelect,
428
+ "outside-select-data": _ctx.outsideSelectData || [],
429
+ "type-data": typeDataController.value,
430
+ "user-info": vue.unref(userInfo),
431
+ onChange: selectedDataChangeHandle
432
+ }, {
433
+ store: vue.withCtx(() => [
434
+ vue.createVNode(index$1, {
435
+ selectData: selectedData.value,
436
+ "onUpdate:selectData": _cache[7] || (_cache[7] = ($event) => selectedData.value = $event)
437
+ }, null, 8, ["selectData"])
438
+ ]),
439
+ options: vue.withCtx(() => [
440
+ vue.createVNode(vue.unref(webVue.Button), {
441
+ disabled: !hasSelected.value,
442
+ type: "primary",
443
+ onClick: comfirm
444
+ }, {
445
+ default: vue.withCtx(() => _cache[15] || (_cache[15] = [
446
+ vue.createTextVNode(" \u6DFB\u52A0 ")
447
+ ])),
448
+ _: 1
449
+ }, 8, ["disabled"])
450
+ ]),
451
+ _: 1
452
+ }, 8, ["default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
453
+ ]),
454
+ _: 1
416
455
  })) : vue.createCommentVNode("v-if", true)
417
456
  ]),
418
457
  _: 1
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var api = require("../../../script/api.js");
5
+ const _hoisted_1 = { class: "media-filter-container" };
6
+ const _sfc_main = vue.defineComponent({
7
+ ...{ name: "MediaFilter" },
8
+ __name: "index",
9
+ props: {
10
+ userInfo: {}
11
+ },
12
+ emits: ["update:group_id", "search"],
13
+ setup(__props, { emit: __emit }) {
14
+ const props = __props;
15
+ const emit = __emit;
16
+ const filter = vue.ref({ title: "", classify_id: "", related_journalist: "" });
17
+ const reporterOptions = vue.ref([]);
18
+ const getReporterOptions = async (params) => {
19
+ var _a;
20
+ const res = await api.getReporterContent(props.userInfo.BASE_API, {
21
+ offset: 0,
22
+ limit: 100,
23
+ ...params
24
+ });
25
+ if (res.code === 0) {
26
+ reporterOptions.value = (((_a = res.message) == null ? void 0 : _a.data) || []).map((item) => {
27
+ return {
28
+ label: item.alias || "\u533F\u540D\u8BB0\u8005",
29
+ value: item.uuid
30
+ };
31
+ });
32
+ }
33
+ };
34
+ const dejinTypeOptions = vue.ref([]);
35
+ const getDejinTypeOptions = async (params) => {
36
+ var _a;
37
+ const res = await api.getTypeConfig(props.userInfo.BASE_API, {
38
+ offset: 0,
39
+ limit: 100,
40
+ ...params
41
+ });
42
+ if (res.code === 0) {
43
+ dejinTypeOptions.value = (((_a = res.message) == null ? void 0 : _a.data) || []).map((item) => {
44
+ return {
45
+ label: item.name,
46
+ value: item.id
47
+ };
48
+ });
49
+ }
50
+ };
51
+ const handleSearch = () => {
52
+ emit("search", filter.value);
53
+ };
54
+ vue.watch(
55
+ () => filter.value,
56
+ () => handleSearch(),
57
+ { deep: true }
58
+ );
59
+ vue.onMounted(() => {
60
+ getDejinTypeOptions();
61
+ getReporterOptions();
62
+ });
63
+ return (_ctx, _cache) => {
64
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
65
+ vue.createVNode(vue.unref(webVue.Row), {
66
+ justify: "space-between",
67
+ style: { "width": "100%" }
68
+ }, {
69
+ default: vue.withCtx(() => [
70
+ vue.createVNode(vue.unref(webVue.Col), { span: 20 }, {
71
+ default: vue.withCtx(() => [
72
+ vue.createVNode(vue.unref(webVue.Input), {
73
+ modelValue: filter.value.title,
74
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter.value.title = $event),
75
+ class: "filter-item",
76
+ style: { "margin-right": "10px" },
77
+ "allow-clear": "",
78
+ placeholder: "\u8BF7\u8F93\u5165\u6807\u9898\u68C0\u7D22",
79
+ onPressEnter: handleSearch
80
+ }, null, 8, ["modelValue"]),
81
+ vue.createVNode(vue.unref(webVue.Select), {
82
+ modelValue: filter.value.classify_id,
83
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filter.value.classify_id = $event),
84
+ class: "filter-item",
85
+ placeholder: "\u62A5\u6599\u7C7B\u578B",
86
+ "allow-clear": "",
87
+ style: { "width": "120px", "margin-right": "10px" }
88
+ }, {
89
+ default: vue.withCtx(() => [
90
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dejinTypeOptions.value, (item) => {
91
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
92
+ key: item.id,
93
+ label: item.label,
94
+ value: item.value
95
+ }, null, 8, ["label", "value"]);
96
+ }), 128))
97
+ ]),
98
+ _: 1
99
+ }, 8, ["modelValue"]),
100
+ vue.createVNode(vue.unref(webVue.Select), {
101
+ modelValue: filter.value.related_journalist,
102
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.related_journalist = $event),
103
+ class: "filter-item",
104
+ placeholder: "\u5173\u8054\u8BB0\u8005",
105
+ "allow-clear": "",
106
+ style: { "width": "120px" }
107
+ }, {
108
+ default: vue.withCtx(() => [
109
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(reporterOptions.value, (item) => {
110
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
111
+ key: item.value,
112
+ label: item.label,
113
+ value: item.value
114
+ }, null, 8, ["label", "value"]);
115
+ }), 128))
116
+ ]),
117
+ _: 1
118
+ }, 8, ["modelValue"])
119
+ ]),
120
+ _: 1
121
+ })
122
+ ]),
123
+ _: 1
124
+ })
125
+ ]);
126
+ };
127
+ }
128
+ });
129
+ module.exports = _sfc_main;