@cmstops/pro-compo 0.3.77 → 0.3.79

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 (165) hide show
  1. package/dist/index.css +7 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/script/api.d.ts +5 -5
  4. package/es/baseFilter/components/FilterGroup.js +1 -1
  5. package/es/baseFilter/useCalcWidth.d.ts +2 -2
  6. package/es/contentDetailList/components/Content/DocItem/index.js +12 -14
  7. package/es/contentDetailList/components/Content/LiveItem/index.js +5 -6
  8. package/es/contentDetailList/components/Content/courseItem/index.js +7 -8
  9. package/es/contentDetailList/components/Content/funhdItem/index.js +7 -8
  10. package/es/contentDetailList/components/Content/index.js +2 -2
  11. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  12. package/es/contentDetailList/script/api.d.ts +2 -2
  13. package/es/contentModal/component.js +14 -14
  14. package/es/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
  15. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  16. package/es/contentModal/components/storeBox/index.js +4 -4
  17. package/es/contentModal/script/api.d.ts +9 -9
  18. package/es/dataTags/component.js +10 -10
  19. package/es/docHistory/component.js +2 -2
  20. package/es/docHistory/scripts/useDocHistory.d.ts +5 -5
  21. package/es/docPreview/component.js +47 -56
  22. package/es/docPreview/components/PreviewIframe.js +9 -10
  23. package/es/docPreview/scripts/api.d.ts +1 -1
  24. package/es/docPreview/scripts/hook.d.ts +17 -7
  25. package/es/editMetaInfo/components/metaInfoForm.js +4 -4
  26. package/es/editMetaInfo/script/api.d.ts +2 -2
  27. package/es/emptyData/svg/acount.js +3 -5
  28. package/es/emptyData/svg/add.js +3 -5
  29. package/es/emptyData/svg/analize.js +3 -5
  30. package/es/emptyData/svg/analize_fail.js +3 -5
  31. package/es/emptyData/svg/empty.js +3 -5
  32. package/es/emptyData/svg/file.js +3 -5
  33. package/es/emptyData/svg/manager.js +3 -5
  34. package/es/emptyData/svg/message.js +14 -17
  35. package/es/emptyData/svg/noanalize.js +3 -5
  36. package/es/emptyData/svg/null.js +3 -5
  37. package/es/emptyData/svg/search.js +3 -5
  38. package/es/emptyData/svg/star.js +3 -5
  39. package/es/emptyData/svg/trash.js +3 -5
  40. package/es/emptyData/svg/user.js +3 -5
  41. package/es/hooks/assets.d.ts +1 -1
  42. package/es/hooks/batch.d.ts +1 -1
  43. package/es/hooks/dialogVisible.d.ts +1 -1
  44. package/es/hooks/source.d.ts +2 -2
  45. package/es/hooks/toggle.d.ts +1 -1
  46. package/es/hooks/useAttachement.d.ts +12 -12
  47. package/es/hooks/useMediaContext.d.ts +5 -5
  48. package/es/hooks/usePopper.d.ts +1 -1
  49. package/es/hooks/useSelection.d.ts +9 -2
  50. package/es/hooks/useUpload.d.ts +5 -5
  51. package/es/hooks/user.d.ts +2 -2
  52. package/es/imageCrop/component.js +4 -4
  53. package/es/imageCrop/script/api.d.ts +1 -1
  54. package/es/index.css +7 -0
  55. package/es/mediaFilter/components/DocFilter.js +1 -1
  56. package/es/mediaFilter/components/FilterGroup.js +1 -1
  57. package/es/mediaView/component.js +3 -5
  58. package/es/messageBox/component.js +2 -2
  59. package/es/messageBox/script/api.d.ts +2 -2
  60. package/es/previousVersion/component.js +3 -4
  61. package/es/previousVersion/script/api.d.ts +4 -4
  62. package/es/resourceGridList/component.js +15 -18
  63. package/es/resourceModal/component.js +2 -2
  64. package/es/resourceModal/components/MediaPreviewer/index.js +7 -10
  65. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  66. package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  67. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  68. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  69. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  70. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  71. package/es/resourceModal/script/api.d.ts +11 -11
  72. package/es/selectGategory/component.js +3 -4
  73. package/es/selectGategory/script/api.d.ts +2 -2
  74. package/es/selectResourceModal/component.js +10 -10
  75. package/es/selectResourceModal/components/List/ListAi/index.js +7 -8
  76. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  77. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  78. package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  79. package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  80. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  81. package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
  82. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
  83. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
  84. package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
  85. package/es/selectThumb/component.js +27 -31
  86. package/es/uploadBefore/components/UploadBefore.js +2 -2
  87. package/es/uploadBefore/script/api.d.ts +4 -4
  88. package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
  89. package/es/userAvater/component.js +2 -2
  90. package/es/userAvater/script/api.d.ts +4 -4
  91. package/es/userDirector/component.js +2 -2
  92. package/es/userDirector/script/api.d.ts +6 -6
  93. package/es/utils/filter.d.ts +12 -0
  94. package/es/utils/request.d.ts +1 -1
  95. package/es/utils/transcodeMedia.d.ts +1 -1
  96. package/es/videoThumb/component.js +47 -35
  97. package/es/videoThumb/scripts/api.d.ts +1 -1
  98. package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -3
  99. package/es/videoThumb/scripts/useVideoThumbs.js +1 -0
  100. package/es/videoThumb/style/index.css +7 -0
  101. package/es/videoThumb/style/index.less +8 -0
  102. package/lib/baseFilter/components/FilterGroup.js +1 -1
  103. package/lib/contentDetailList/components/Content/DocItem/index.js +12 -14
  104. package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
  105. package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
  106. package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
  107. package/lib/contentDetailList/components/Content/index.js +2 -2
  108. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  109. package/lib/contentModal/component.js +14 -14
  110. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
  111. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  112. package/lib/contentModal/components/storeBox/index.js +4 -4
  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/components/metaInfoForm.js +4 -4
  118. package/lib/emptyData/svg/acount.js +3 -5
  119. package/lib/emptyData/svg/add.js +3 -5
  120. package/lib/emptyData/svg/analize.js +3 -5
  121. package/lib/emptyData/svg/analize_fail.js +3 -5
  122. package/lib/emptyData/svg/empty.js +3 -5
  123. package/lib/emptyData/svg/file.js +3 -5
  124. package/lib/emptyData/svg/manager.js +3 -5
  125. package/lib/emptyData/svg/message.js +14 -17
  126. package/lib/emptyData/svg/noanalize.js +3 -5
  127. package/lib/emptyData/svg/null.js +3 -5
  128. package/lib/emptyData/svg/search.js +3 -5
  129. package/lib/emptyData/svg/star.js +3 -5
  130. package/lib/emptyData/svg/trash.js +3 -5
  131. package/lib/emptyData/svg/user.js +3 -5
  132. package/lib/imageCrop/component.js +4 -4
  133. package/lib/index.css +7 -0
  134. package/lib/mediaFilter/components/DocFilter.js +1 -1
  135. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  136. package/lib/mediaView/component.js +3 -5
  137. package/lib/messageBox/component.js +2 -2
  138. package/lib/previousVersion/component.js +3 -4
  139. package/lib/resourceGridList/component.js +15 -18
  140. package/lib/resourceModal/component.js +2 -2
  141. package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
  142. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  143. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  144. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  145. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  146. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  147. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  148. package/lib/selectGategory/component.js +3 -4
  149. package/lib/selectResourceModal/component.js +10 -10
  150. package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
  151. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  152. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  153. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  154. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  155. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  156. package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
  157. package/lib/selectThumb/component.js +27 -31
  158. package/lib/uploadBefore/components/UploadBefore.js +2 -2
  159. package/lib/userAvater/component.js +2 -2
  160. package/lib/userDirector/component.js +2 -2
  161. package/lib/videoThumb/component.js +46 -34
  162. package/lib/videoThumb/scripts/useVideoThumbs.js +1 -0
  163. package/lib/videoThumb/style/index.css +7 -0
  164. package/lib/videoThumb/style/index.less +8 -0
  165. package/package.json +1 -1
@@ -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), {
@@ -1,6 +1,6 @@
1
1
  interface Params {
2
2
  [key: string]: any;
3
3
  }
4
- export declare function generateDocPreviewLink(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
5
- export declare function getDocDetailsNew(BASE_API: string, query?: Params): import("axios").AxiosPromise<any>;
4
+ export declare function generateDocPreviewLink(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ export declare function getDocDetailsNew(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
6
  export {};
@@ -130,9 +130,9 @@ const _sfc_main = defineComponent({
130
130
  type: "primary",
131
131
  onClick: comfirm
132
132
  }, {
133
- default: withCtx(() => [
133
+ default: withCtx(() => _cache[7] || (_cache[7] = [
134
134
  createTextVNode("\u6DFB\u52A0 ")
135
- ]),
135
+ ])),
136
136
  _: 1
137
137
  }, 8, ["disabled"])
138
138
  ]),
@@ -169,9 +169,9 @@ const _sfc_main = defineComponent({
169
169
  type: "primary",
170
170
  onClick: comfirm
171
171
  }, {
172
- default: withCtx(() => [
172
+ default: withCtx(() => _cache[8] || (_cache[8] = [
173
173
  createTextVNode(" \u6DFB\u52A0 ")
174
- ]),
174
+ ])),
175
175
  _: 1
176
176
  }, 8, ["disabled"])
177
177
  ]),
@@ -209,9 +209,9 @@ const _sfc_main = defineComponent({
209
209
  type: "primary",
210
210
  onClick: comfirm
211
211
  }, {
212
- default: withCtx(() => [
212
+ default: withCtx(() => _cache[9] || (_cache[9] = [
213
213
  createTextVNode(" \u6DFB\u52A0 ")
214
- ]),
214
+ ])),
215
215
  _: 1
216
216
  }, 8, ["disabled"])
217
217
  ]),
@@ -248,9 +248,9 @@ const _sfc_main = defineComponent({
248
248
  type: "primary",
249
249
  onClick: comfirm
250
250
  }, {
251
- default: withCtx(() => [
251
+ default: withCtx(() => _cache[10] || (_cache[10] = [
252
252
  createTextVNode(" \u6DFB\u52A0 ")
253
- ]),
253
+ ])),
254
254
  _: 1
255
255
  }, 8, ["disabled"])
256
256
  ]),
@@ -287,9 +287,9 @@ const _sfc_main = defineComponent({
287
287
  type: "primary",
288
288
  onClick: comfirm
289
289
  }, {
290
- default: withCtx(() => [
290
+ default: withCtx(() => _cache[11] || (_cache[11] = [
291
291
  createTextVNode(" \u6DFB\u52A0 ")
292
- ]),
292
+ ])),
293
293
  _: 1
294
294
  }, 8, ["disabled"])
295
295
  ]),
@@ -326,9 +326,9 @@ const _sfc_main = defineComponent({
326
326
  type: "primary",
327
327
  onClick: comfirm
328
328
  }, {
329
- default: withCtx(() => [
329
+ default: withCtx(() => _cache[12] || (_cache[12] = [
330
330
  createTextVNode(" \u6DFB\u52A0 ")
331
- ]),
331
+ ])),
332
332
  _: 1
333
333
  }, 8, ["disabled"])
334
334
  ]),
@@ -365,9 +365,9 @@ const _sfc_main = defineComponent({
365
365
  type: "primary",
366
366
  onClick: comfirm
367
367
  }, {
368
- default: withCtx(() => [
368
+ default: withCtx(() => _cache[13] || (_cache[13] = [
369
369
  createTextVNode(" \u6DFB\u52A0 ")
370
- ]),
370
+ ])),
371
371
  _: 1
372
372
  }, 8, ["disabled"])
373
373
  ]),
@@ -4,7 +4,6 @@ import { IconSort } from "@arco-design/web-vue/es/icon";
4
4
  import { searchMpaccount } from "../../../script/api.js";
5
5
  const _hoisted_1 = { class: "media-filter-container" };
6
6
  const _hoisted_2 = { style: { "margin-right": "10px" } };
7
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, null, -1);
8
7
  const _sfc_main = defineComponent({
9
8
  ...{ name: "MediaFilter" },
10
9
  __name: "index",
@@ -111,9 +110,9 @@ const _sfc_main = defineComponent({
111
110
  ]),
112
111
  createElementVNode("span", null, toDisplayString(data == null ? void 0 : data.label), 1)
113
112
  ]),
114
- "arrow-icon": withCtx(() => [
115
- _hoisted_3
116
- ]),
113
+ "arrow-icon": withCtx(() => _cache[3] || (_cache[3] = [
114
+ createElementVNode("span", null, null, -1)
115
+ ])),
117
116
  default: withCtx(() => [
118
117
  (openBlock(true), createElementBlock(Fragment, null, renderList(sortOptions.value, (item) => {
119
118
  return openBlock(), createBlock(unref(Option), {
@@ -284,7 +284,7 @@ const _sfc_main = defineComponent({
284
284
  }, {
285
285
  default: withCtx(() => [
286
286
  createVNode(unref(IconRefresh), { class: "reset-icon" }),
287
- createTextVNode(" \u91CD\u7F6E ")
287
+ _cache[7] || (_cache[7] = createTextVNode(" \u91CD\u7F6E "))
288
288
  ]),
289
289
  _: 1
290
290
  }, 512), [
@@ -80,9 +80,9 @@ const _sfc_main = defineComponent({
80
80
  type: "text",
81
81
  onClick: clear
82
82
  }, {
83
- default: withCtx(() => [
83
+ default: withCtx(() => _cache[1] || (_cache[1] = [
84
84
  createTextVNode("\u6E05\u7A7A")
85
- ]),
85
+ ])),
86
86
  _: 1
87
87
  })
88
88
  ])
@@ -96,9 +96,9 @@ const _sfc_main = defineComponent({
96
96
  key: 0,
97
97
  class: "button"
98
98
  }, {
99
- default: withCtx(() => [
99
+ default: withCtx(() => _cache[0] || (_cache[0] = [
100
100
  createTextVNode("\u5DF2\u9009\u6570\u636E")
101
- ]),
101
+ ])),
102
102
  _: 1
103
103
  })) : createCommentVNode("v-if", true)
104
104
  ]),
@@ -1,14 +1,14 @@
1
1
  interface Params {
2
2
  [key: string]: any;
3
3
  }
4
- export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
5
- export declare function getCategoryPath(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
6
- export declare function getCategoryMediaNew(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
4
+ export declare function getCategoryCategoriesTree(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
5
+ export declare function getCategoryPath(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
6
+ export declare function getCategoryMediaNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
7
7
  export declare function checkCommitFulfillment(BASE_API: string, params?: Params): Promise<boolean>;
8
- export declare function searchMlists(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
9
- export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any>>;
10
- export declare function searchMpaccount(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
11
- export declare function getBroadcastList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
12
- export declare function getEqxiuList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
13
- export declare function getMpContentList(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
8
+ export declare function searchMlists(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
9
+ export declare function getCategorylistsGroups(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
10
+ export declare function searchMpaccount(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
11
+ export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
12
+ export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
13
+ export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
14
14
  export {};
@@ -130,9 +130,9 @@ const _sfc_main = defineComponent({
130
130
  size: "small",
131
131
  class: normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
132
132
  }, {
133
- default: withCtx(() => [
133
+ default: withCtx(() => _cache[1] || (_cache[1] = [
134
134
  createTextVNode("\u539F\u521B")
135
- ]),
135
+ ])),
136
136
  _: 1
137
137
  }, 8, ["class"])
138
138
  ]),
@@ -148,9 +148,9 @@ const _sfc_main = defineComponent({
148
148
  size: "small",
149
149
  class: normalizeClass([{ disabled: _ctx.disabled }, "star"])
150
150
  }, {
151
- default: withCtx(() => [
151
+ default: withCtx(() => _cache[2] || (_cache[2] = [
152
152
  createTextVNode("\u63A8\u8350")
153
- ]),
153
+ ])),
154
154
  _: 1
155
155
  }, 8, ["class"])
156
156
  ]),
@@ -166,9 +166,9 @@ const _sfc_main = defineComponent({
166
166
  size: "small",
167
167
  class: normalizeClass([{ disabled: _ctx.disabled }, "waring"])
168
168
  }, {
169
- default: withCtx(() => [
169
+ default: withCtx(() => _cache[3] || (_cache[3] = [
170
170
  createTextVNode("\u654F\u611F")
171
- ]),
171
+ ])),
172
172
  _: 1
173
173
  }, 8, ["class"])
174
174
  ]),
@@ -184,9 +184,9 @@ const _sfc_main = defineComponent({
184
184
  size: "small",
185
185
  class: normalizeClass([{ disabled: _ctx.disabled }, "star"])
186
186
  }, {
187
- default: withCtx(() => [
187
+ default: withCtx(() => _cache[4] || (_cache[4] = [
188
188
  createTextVNode("\u5DF2\u63A8\u9001")
189
- ]),
189
+ ])),
190
190
  _: 1
191
191
  }, 8, ["class"])
192
192
  ]),
@@ -220,9 +220,9 @@ const _sfc_main = defineComponent({
220
220
  size: "small",
221
221
  class: normalizeClass([{ disabled: _ctx.disabled }, "matrix"])
222
222
  }, {
223
- default: withCtx(() => [
223
+ default: withCtx(() => _cache[5] || (_cache[5] = [
224
224
  createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
225
- ]),
225
+ ])),
226
226
  _: 1
227
227
  }, 8, ["class"])
228
228
  ]),
@@ -69,9 +69,9 @@ const _sfc_main = defineComponent({
69
69
  disabled: !unref(current),
70
70
  onClick: handeRevert
71
71
  }, {
72
- default: withCtx(() => [
72
+ default: withCtx(() => _cache[1] || (_cache[1] = [
73
73
  createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
74
- ]),
74
+ ])),
75
75
  _: 1
76
76
  }, 8, ["disabled"])
77
77
  ]),
@@ -1,9 +1,9 @@
1
- export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): import("axios").AxiosPromise<any>;
1
+ export declare function getDocHistory(BASE_API: string, id: number, pub: boolean): Promise<import("axios").AxiosResponse<any, any>>;
2
2
  export declare function useDocHistory(BASE_API: string): {
3
- diffContent: import("vue").Ref<any>;
4
- current: import("vue").Ref<number>;
5
- loading: import("vue").Ref<boolean>;
6
- list: import("vue").Ref<any[]>;
3
+ diffContent: import("vue").Ref<any, any>;
4
+ current: import("vue").Ref<number, number>;
5
+ loading: import("vue").Ref<boolean, boolean>;
6
+ list: import("vue").Ref<any[], any[]>;
7
7
  loadData: () => Promise<void>;
8
8
  initParams: (mediaId: number, docPub: boolean) => void;
9
9
  handleSelect: (idx: number) => Promise<void>;
@@ -5,31 +5,18 @@ import { DEFAULT_BASE_API } from "../config.js";
5
5
  import _sfc_main$1 from "./components/PreviewIframe.js";
6
6
  import { useDocPreview, EXPIRE_TIME_OPTIONS } from "./scripts/hook.js";
7
7
  const _hoisted_1 = { class: "preview-close" };
8
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share" }, null, -1);
9
- const _hoisted_3 = { class: "doc-preview-share-img" };
10
- const _hoisted_4 = ["src"];
11
- const _hoisted_5 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
12
- const _hoisted_6 = { class: "doc-preview-share-header" };
13
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
14
- const _hoisted_8 = { class: "doc-preview-share-link" };
15
- const _hoisted_9 = { class: "doc-preview-share-link-value" };
16
- const _hoisted_10 = { class: "doc-preview-share-link-hint" };
17
- const _hoisted_11 = { class: "doc-preview-share-action" };
18
- const _hoisted_12 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-img" }, [
19
- /* @__PURE__ */ createElementVNode("div", { id: "qr-code-is-pub" })
20
- ], -1);
21
- const _hoisted_13 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
22
- const _hoisted_14 = { class: "doc-preview-share-header" };
23
- const _hoisted_15 = /* @__PURE__ */ createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
24
- const _hoisted_16 = { class: "doc-preview-share-link" };
25
- const _hoisted_17 = { class: "doc-preview-share-link-value" };
26
- const _hoisted_18 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-img" }, [
27
- /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
28
- ], -1);
29
- const _hoisted_19 = /* @__PURE__ */ createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1);
30
- const _hoisted_20 = { class: "doc-preview-share-header" };
31
- const _hoisted_21 = /* @__PURE__ */ createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
32
- const _hoisted_22 = { class: "doc-preview-share-action" };
8
+ const _hoisted_2 = { class: "doc-preview-share-img" };
9
+ const _hoisted_3 = ["src"];
10
+ const _hoisted_4 = { class: "doc-preview-share-header" };
11
+ const _hoisted_5 = { class: "doc-preview-share-link" };
12
+ const _hoisted_6 = { class: "doc-preview-share-link-value" };
13
+ const _hoisted_7 = { class: "doc-preview-share-link-hint" };
14
+ const _hoisted_8 = { class: "doc-preview-share-action" };
15
+ const _hoisted_9 = { class: "doc-preview-share-header" };
16
+ const _hoisted_10 = { class: "doc-preview-share-link" };
17
+ const _hoisted_11 = { class: "doc-preview-share-link-value" };
18
+ const _hoisted_12 = { class: "doc-preview-share-header" };
19
+ const _hoisted_13 = { class: "doc-preview-share-action" };
33
20
  const _sfc_main = defineComponent({
34
21
  ...{ name: "docPreview" },
35
22
  __name: "component",
@@ -74,7 +61,7 @@ const _sfc_main = defineComponent({
74
61
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emits("close"), ["stop"]))
75
62
  })
76
63
  ]),
77
- _hoisted_2,
64
+ _cache[21] || (_cache[21] = createElementVNode("div", { class: "doc-preview-share" }, null, -1)),
78
65
  createVNode(_sfc_main$1, {
79
66
  src: unref(innerUrl),
80
67
  onClick: _cache[1] || (_cache[1] = withModifiers(() => {
@@ -89,79 +76,83 @@ const _sfc_main = defineComponent({
89
76
  }, [
90
77
  unref(shareData) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
91
78
  createCommentVNode(" \u4E8C\u7EF4\u7801 "),
92
- createElementVNode("div", _hoisted_3, [
79
+ createElementVNode("div", _hoisted_2, [
93
80
  createElementVNode("img", {
94
81
  src: unref(shareData).qrCode,
95
82
  alt: ""
96
- }, null, 8, _hoisted_4)
83
+ }, null, 8, _hoisted_3)
97
84
  ]),
98
85
  createCommentVNode(" \u5907\u6CE8 "),
99
- _hoisted_5,
86
+ _cache[12] || (_cache[12] = createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
100
87
  createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
101
- createElementVNode("div", _hoisted_6, [
102
- _hoisted_7,
88
+ createElementVNode("div", _hoisted_4, [
89
+ _cache[9] || (_cache[9] = createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
103
90
  createVNode(unref(Link), {
104
91
  type: "text",
105
92
  onClick: unref(copy)
106
93
  }, {
107
- default: withCtx(() => [
94
+ default: withCtx(() => _cache[8] || (_cache[8] = [
108
95
  createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
109
- ]),
96
+ ])),
110
97
  _: 1
111
98
  }, 8, ["onClick"])
112
99
  ]),
113
100
  createCommentVNode(" \u94FE\u63A5 "),
114
- createElementVNode("div", _hoisted_8, [
115
- createElementVNode("div", _hoisted_9, toDisplayString(unref(shareData).shareUrl), 1),
116
- createElementVNode("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + toDisplayString(unref(intervalTime)), 1)
101
+ createElementVNode("div", _hoisted_5, [
102
+ createElementVNode("div", _hoisted_6, toDisplayString(unref(shareData).shareUrl), 1),
103
+ createElementVNode("div", _hoisted_7, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + toDisplayString(unref(intervalTime)), 1)
117
104
  ]),
118
105
  createCommentVNode(" \u64CD\u4F5C "),
119
- createElementVNode("div", _hoisted_11, [
106
+ createElementVNode("div", _hoisted_8, [
120
107
  createVNode(unref(Button), {
121
108
  onClick: _cache[2] || (_cache[2] = ($event) => unref(cancel)())
122
109
  }, {
123
- default: withCtx(() => [
110
+ default: withCtx(() => _cache[10] || (_cache[10] = [
124
111
  createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
125
- ]),
112
+ ])),
126
113
  _: 1
127
114
  }),
128
115
  createVNode(unref(Button), {
129
116
  type: "primary",
130
117
  onClick: _cache[3] || (_cache[3] = ($event) => unref(cancel)(true))
131
118
  }, {
132
- default: withCtx(() => [
119
+ default: withCtx(() => _cache[11] || (_cache[11] = [
133
120
  createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
134
- ]),
121
+ ])),
135
122
  _: 1
136
123
  })
137
124
  ])
138
125
  ], 64)) : unref(isPublish) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
139
126
  createCommentVNode(" \u4E8C\u7EF4\u7801 "),
140
- _hoisted_12,
127
+ _cache[15] || (_cache[15] = createElementVNode("div", { class: "doc-preview-share-img" }, [
128
+ createElementVNode("div", { id: "qr-code-is-pub" })
129
+ ], -1)),
141
130
  createCommentVNode(" \u5907\u6CE8 "),
142
- _hoisted_13,
131
+ _cache[16] || (_cache[16] = createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
143
132
  createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
144
- createElementVNode("div", _hoisted_14, [
145
- _hoisted_15,
133
+ createElementVNode("div", _hoisted_9, [
134
+ _cache[14] || (_cache[14] = createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
146
135
  createVNode(unref(Link), {
147
136
  type: "text",
148
137
  onClick: unref(copy)
149
138
  }, {
150
- default: withCtx(() => [
139
+ default: withCtx(() => _cache[13] || (_cache[13] = [
151
140
  createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
152
- ]),
141
+ ])),
153
142
  _: 1
154
143
  }, 8, ["onClick"])
155
144
  ]),
156
145
  createCommentVNode(" \u94FE\u63A5 "),
157
- createElementVNode("div", _hoisted_16, [
158
- createElementVNode("div", _hoisted_17, toDisplayString(unref(innerUrl)), 1)
146
+ createElementVNode("div", _hoisted_10, [
147
+ createElementVNode("div", _hoisted_11, toDisplayString(unref(innerUrl)), 1)
159
148
  ])
160
149
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
161
- _hoisted_18,
162
- _hoisted_19,
163
- createElementVNode("div", _hoisted_20, [
164
- _hoisted_21,
150
+ _cache[19] || (_cache[19] = createElementVNode("div", { class: "doc-preview-share-img" }, [
151
+ createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
152
+ ], -1)),
153
+ _cache[20] || (_cache[20] = createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)),
154
+ createElementVNode("div", _hoisted_12, [
155
+ _cache[17] || (_cache[17] = createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
165
156
  createVNode(unref(Select), {
166
157
  modelValue: unref(expireTime),
167
158
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(expireTime) ? expireTime.value = $event : null),
@@ -180,14 +171,14 @@ const _sfc_main = defineComponent({
180
171
  _: 1
181
172
  }, 8, ["modelValue"])
182
173
  ]),
183
- createElementVNode("div", _hoisted_22, [
174
+ createElementVNode("div", _hoisted_13, [
184
175
  createVNode(unref(Button), {
185
176
  type: "primary",
186
177
  onClick: _cache[5] || (_cache[5] = () => unref(generate)())
187
178
  }, {
188
- default: withCtx(() => [
179
+ default: withCtx(() => _cache[18] || (_cache[18] = [
189
180
  createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
190
- ]),
181
+ ])),
191
182
  _: 1
192
183
  })
193
184
  ])