@cmstops/pro-compo 0.3.84 → 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 (148) hide show
  1. package/es/baseFilter/components/FilterGroup.js +1 -1
  2. package/es/baseFilter/useCalcWidth.d.ts +2 -2
  3. package/es/contentDetailList/components/Content/DocItem/index.js +12 -14
  4. package/es/contentDetailList/components/Content/LiveItem/index.js +5 -6
  5. package/es/contentDetailList/components/Content/courseItem/index.js +7 -8
  6. package/es/contentDetailList/components/Content/funhdItem/index.js +7 -8
  7. package/es/contentDetailList/components/Content/index.js +2 -2
  8. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  9. package/es/contentModal/component.js +53 -14
  10. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  11. package/es/contentModal/components/Dejin/MediaFilter/index.js +128 -0
  12. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  13. package/es/contentModal/components/Dejin/index.js +236 -0
  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 +3 -0
  18. package/es/contentModal/script/api.js +22 -1
  19. package/es/dataTags/component.js +10 -10
  20. package/es/docHistory/component.js +2 -2
  21. package/es/docHistory/scripts/useDocHistory.d.ts +4 -4
  22. package/es/docPreview/component.js +47 -56
  23. package/es/docPreview/components/PreviewIframe.js +9 -10
  24. package/es/docPreview/scripts/hook.d.ts +16 -6
  25. package/es/editMetaInfo/component.js +35 -12
  26. package/es/editMetaInfo/components/metaInfoForm.js +4 -4
  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/batch.d.ts +1 -1
  42. package/es/hooks/dialogVisible.d.ts +1 -1
  43. package/es/hooks/source.d.ts +1 -1
  44. package/es/hooks/toggle.d.ts +1 -1
  45. package/es/hooks/useAttachement.d.ts +6 -6
  46. package/es/hooks/useMediaContext.d.ts +5 -5
  47. package/es/hooks/usePopper.d.ts +1 -1
  48. package/es/hooks/useSelection.d.ts +9 -2
  49. package/es/hooks/useUpload.d.ts +2 -2
  50. package/es/hooks/user.d.ts +1 -1
  51. package/es/imageCrop/component.js +4 -4
  52. package/es/importData/component.js +18 -21
  53. package/es/mediaFilter/components/DocFilter.js +1 -1
  54. package/es/mediaFilter/components/FilterGroup.js +1 -1
  55. package/es/mediaView/component.js +3 -5
  56. package/es/messageBox/component.js +2 -2
  57. package/es/previousVersion/component.js +3 -4
  58. package/es/resourceGridList/component.js +15 -18
  59. package/es/resourceModal/component.js +2 -2
  60. package/es/resourceModal/components/MediaPreviewer/index.js +7 -10
  61. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  62. package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  63. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  64. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  65. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  66. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  67. package/es/selectGategory/component.js +3 -4
  68. package/es/selectResourceModal/component.js +10 -10
  69. package/es/selectResourceModal/components/List/ListAi/index.js +7 -8
  70. package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  71. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  72. package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  73. package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  74. package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  75. package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
  76. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
  77. package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
  78. package/es/selectThumb/component.js +23 -28
  79. package/es/uploadBefore/components/UploadBefore.js +2 -2
  80. package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
  81. package/es/userAvater/component.js +2 -2
  82. package/es/userDirector/component.js +2 -2
  83. package/es/utils/filter.d.ts +12 -0
  84. package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
  85. package/lib/baseFilter/components/FilterGroup.js +1 -1
  86. package/lib/contentDetailList/components/Content/DocItem/index.js +12 -14
  87. package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
  88. package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
  89. package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
  90. package/lib/contentDetailList/components/Content/index.js +2 -2
  91. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  92. package/lib/contentModal/component.js +53 -14
  93. package/lib/contentModal/components/Dejin/MediaFilter/index.js +129 -0
  94. package/lib/contentModal/components/Dejin/index.js +237 -0
  95. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
  96. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  97. package/lib/contentModal/components/storeBox/index.js +4 -4
  98. package/lib/contentModal/script/api.js +24 -0
  99. package/lib/dataTags/component.js +10 -10
  100. package/lib/docHistory/component.js +2 -2
  101. package/lib/docPreview/component.js +47 -56
  102. package/lib/docPreview/components/PreviewIframe.js +9 -10
  103. package/lib/editMetaInfo/component.js +34 -11
  104. package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
  105. package/lib/emptyData/svg/acount.js +3 -5
  106. package/lib/emptyData/svg/add.js +3 -5
  107. package/lib/emptyData/svg/analize.js +3 -5
  108. package/lib/emptyData/svg/analize_fail.js +3 -5
  109. package/lib/emptyData/svg/empty.js +3 -5
  110. package/lib/emptyData/svg/file.js +3 -5
  111. package/lib/emptyData/svg/manager.js +3 -5
  112. package/lib/emptyData/svg/message.js +14 -17
  113. package/lib/emptyData/svg/noanalize.js +3 -5
  114. package/lib/emptyData/svg/null.js +3 -5
  115. package/lib/emptyData/svg/search.js +3 -5
  116. package/lib/emptyData/svg/star.js +3 -5
  117. package/lib/emptyData/svg/trash.js +3 -5
  118. package/lib/emptyData/svg/user.js +3 -5
  119. package/lib/imageCrop/component.js +4 -4
  120. package/lib/importData/component.js +18 -21
  121. package/lib/mediaFilter/components/DocFilter.js +1 -1
  122. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  123. package/lib/mediaView/component.js +3 -5
  124. package/lib/messageBox/component.js +2 -2
  125. package/lib/previousVersion/component.js +3 -4
  126. package/lib/resourceGridList/component.js +15 -18
  127. package/lib/resourceModal/component.js +2 -2
  128. package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
  129. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  130. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  131. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  132. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  133. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  134. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  135. package/lib/selectGategory/component.js +3 -4
  136. package/lib/selectResourceModal/component.js +10 -10
  137. package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
  138. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  139. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  140. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  141. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  142. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  143. package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
  144. package/lib/selectThumb/component.js +23 -28
  145. package/lib/uploadBefore/components/UploadBefore.js +2 -2
  146. package/lib/userAvater/component.js +2 -2
  147. package/lib/userDirector/component.js +2 -2
  148. package/package.json +1 -1
@@ -0,0 +1,236 @@
1
+ import { defineComponent, ref, computed, watch, onMounted, openBlock, createElementBlock, createVNode, createElementVNode, unref, withCtx, withModifiers, createBlock, toDisplayString, renderSlot, withDirectives, vShow } from "vue";
2
+ import { Table, Checkbox, Pagination, Message } from "@arco-design/web-vue";
3
+ import _sfc_main$2 from "../../../typeIcons/component.js";
4
+ import _sfc_main$1 from "./MediaFilter/index.js";
5
+ import useTableBatch from "../../../hooks/batch.js";
6
+ import { getRevealContent } from "../../script/api.js";
7
+ const _hoisted_1 = { class: "view-all-column-container" };
8
+ const _hoisted_2 = { class: "content-table-view" };
9
+ const _hoisted_3 = { class: "title-span" };
10
+ const _hoisted_4 = ["onClick"];
11
+ const _hoisted_5 = { class: "title" };
12
+ const _hoisted_6 = { class: "bottom-view" };
13
+ const _hoisted_7 = { class: "left" };
14
+ const _sfc_main = defineComponent({
15
+ ...{ name: "LiveList" },
16
+ __name: "index",
17
+ props: {
18
+ maxSelect: {},
19
+ outsideSelectData: {},
20
+ defaultSelectedData: {},
21
+ userInfo: {}
22
+ },
23
+ emits: ["change"],
24
+ setup(__props, { emit: __emit }) {
25
+ const emit = __emit;
26
+ const props = __props;
27
+ const _maxSelect = props.maxSelect || 100;
28
+ const selectedData = ref([]);
29
+ const group_id = ref("all");
30
+ const mediaFileData = ref([]);
31
+ const dataLoading = ref(false);
32
+ const page = ref({
33
+ index: 1,
34
+ size: 10,
35
+ total: 0
36
+ });
37
+ const filter = ref(null);
38
+ const columns = [
39
+ {
40
+ title: "\u6807\u9898",
41
+ dataIndex: "title",
42
+ slotName: "title"
43
+ },
44
+ {
45
+ title: "\u62A5\u6599\u7C7B\u578B",
46
+ dataIndex: "classify_name",
47
+ slotName: "classify_name"
48
+ },
49
+ {
50
+ title: "@\u8BB0\u8005",
51
+ dataIndex: "report_user",
52
+ slotName: "pub_report_usertime"
53
+ },
54
+ {
55
+ title: "\u72B6\u6001",
56
+ dataIndex: "adopted",
57
+ slotName: "adopted"
58
+ },
59
+ {
60
+ title: "\u8054\u7CFB\u7535\u8BDD",
61
+ dataIndex: "contract_phone",
62
+ slotName: "contract_phone"
63
+ },
64
+ {
65
+ title: "\u63D0\u4EA4\u65F6\u95F4",
66
+ dataIndex: "created_at",
67
+ slotName: "created_at"
68
+ }
69
+ ];
70
+ const scrollPercent = { y: "100%" };
71
+ const tempSelectedData = computed(() => {
72
+ return props.defaultSelectedData || [];
73
+ });
74
+ const search = (_filter) => {
75
+ if (_filter.title || _filter.classify_id || _filter.related_journalist) {
76
+ filter.value = { ..._filter };
77
+ } else {
78
+ filter.value = null;
79
+ }
80
+ page.value.index = 1;
81
+ loadData();
82
+ };
83
+ const loadData = async () => {
84
+ let params = {
85
+ page: page.value.index,
86
+ page_size: page.value.size
87
+ };
88
+ if (filter.value) {
89
+ params = { ...params, ...filter.value };
90
+ }
91
+ dataLoading.value = true;
92
+ const { code, message } = await getRevealContent(
93
+ props.userInfo.BASE_API,
94
+ params
95
+ );
96
+ dataLoading.value = false;
97
+ if (code === 0) {
98
+ page.value.total = message.total;
99
+ mediaFileData.value = message.data;
100
+ page.value.total = message.total || message.count;
101
+ }
102
+ };
103
+ const pageChangeHandle = (index) => {
104
+ page.value.index = index;
105
+ loadData();
106
+ };
107
+ const clickCheckbox = (e, record) => {
108
+ e.stopPropagation();
109
+ e.preventDefault();
110
+ selectData(record);
111
+ };
112
+ const selectTableCell = (record) => {
113
+ selectData(record);
114
+ };
115
+ const selectData = (record) => {
116
+ if (checkSameAdd(record)) {
117
+ Message.warning({ content: "\u8BF7\u52FF\u6DFB\u52A0\u91CD\u590D\u6570\u636E", duration: 3e3 });
118
+ return;
119
+ }
120
+ addDataToSelectedList(record);
121
+ };
122
+ const checkSameAdd = (record) => {
123
+ const selected = props.outsideSelectData;
124
+ if (!selected.length)
125
+ return false;
126
+ return selected.map((row) => row.id).includes(record.id);
127
+ };
128
+ const addDataToSelectedList = async (record) => {
129
+ const index = selectedData.value.findIndex((v) => v.id === record.id);
130
+ if (selectedData.value.length < _maxSelect) {
131
+ if (index === -1) {
132
+ selectedData.value.push(record);
133
+ } else {
134
+ selectedData.value.splice(index, 1);
135
+ }
136
+ emitChange();
137
+ } else {
138
+ if (index === -1) {
139
+ selectedData.value.splice(selectedData.value.length - 1, 1);
140
+ selectedData.value.push(record);
141
+ } else {
142
+ selectedData.value.splice(index, 1);
143
+ }
144
+ Message.warning({ content: "\u5DF2\u8FBE\u5230\u9009\u62E9\u6570\u91CF\u7684\u4E0A\u9650", duration: 3e3 });
145
+ emitChange();
146
+ }
147
+ };
148
+ const emitChange = () => {
149
+ emit("change", selectedData.value);
150
+ };
151
+ const {
152
+ isItemChecked,
153
+ hoverBatchBox,
154
+ tableCellMouseEnter,
155
+ tableCellMouseLeave
156
+ } = useTableBatch();
157
+ watch(
158
+ () => tempSelectedData.value,
159
+ (val) => {
160
+ selectedData.value = val;
161
+ }
162
+ );
163
+ watch(
164
+ () => group_id.value,
165
+ () => {
166
+ page.value.index = 1;
167
+ loadData();
168
+ }
169
+ );
170
+ onMounted(() => {
171
+ loadData();
172
+ });
173
+ return (_ctx, _cache) => {
174
+ return openBlock(), createElementBlock("div", _hoisted_1, [
175
+ createVNode(_sfc_main$1, {
176
+ group_id: group_id.value,
177
+ "onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
178
+ "user-info": _ctx.userInfo,
179
+ onSearch: search
180
+ }, null, 8, ["group_id", "user-info"]),
181
+ createElementVNode("div", _hoisted_2, [
182
+ createVNode(unref(Table), {
183
+ columns,
184
+ scroll: scrollPercent,
185
+ pagination: false,
186
+ bordered: false,
187
+ data: mediaFileData.value,
188
+ loading: dataLoading.value,
189
+ onCellMouseEnter: unref(tableCellMouseEnter),
190
+ onCellMouseLeave: unref(tableCellMouseLeave),
191
+ onRowClick: selectTableCell
192
+ }, {
193
+ title: withCtx(({ record }) => [
194
+ createElementVNode("span", _hoisted_3, [
195
+ unref(hoverBatchBox)(selectedData.value, record) ? (openBlock(), createElementBlock("span", {
196
+ key: 0,
197
+ onClick: withModifiers(($event) => clickCheckbox($event, record), ["stop"])
198
+ }, [
199
+ createVNode(unref(Checkbox), {
200
+ class: "icon",
201
+ "model-value": unref(isItemChecked)(selectedData.value, record)
202
+ }, null, 8, ["model-value"])
203
+ ], 8, _hoisted_4)) : (openBlock(), createBlock(_sfc_main$2, {
204
+ key: 1,
205
+ class: "icon",
206
+ doc: true,
207
+ type: record.series
208
+ }, null, 8, ["type"])),
209
+ createElementVNode("span", _hoisted_5, toDisplayString(record.title || record.alias || "--"), 1)
210
+ ])
211
+ ]),
212
+ pub_time: withCtx(({ record }) => [
213
+ createElementVNode("span", null, toDisplayString(record.pub_time), 1)
214
+ ]),
215
+ _: 1
216
+ }, 8, ["data", "loading", "onCellMouseEnter", "onCellMouseLeave"])
217
+ ]),
218
+ createElementVNode("div", _hoisted_6, [
219
+ createElementVNode("div", _hoisted_7, [
220
+ renderSlot(_ctx.$slots, "store"),
221
+ withDirectives(createVNode(unref(Pagination), {
222
+ current: page.value.index,
223
+ "page-size": page.value.size,
224
+ total: page.value.total,
225
+ onChange: pageChangeHandle
226
+ }, null, 8, ["current", "page-size", "total"]), [
227
+ [vShow, mediaFileData.value.length > 0]
228
+ ])
229
+ ]),
230
+ renderSlot(_ctx.$slots, "options")
231
+ ])
232
+ ]);
233
+ };
234
+ }
235
+ });
236
+ export { _sfc_main as default };
@@ -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
  ]),
@@ -11,5 +11,8 @@ export declare function searchMpaccount(BASE_API: string, params?: Params): Prom
11
11
  export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
12
12
  export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
13
13
  export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
14
+ export declare function getRevealContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
14
15
  export declare function getConfigurationNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
16
+ export declare function getReporterContent(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
17
+ export declare function getTypeConfig(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
15
18
  export {};
@@ -70,6 +70,13 @@ function getMpContentList(BASE_API, params) {
70
70
  params
71
71
  });
72
72
  }
73
+ function getRevealContent(BASE_API, params) {
74
+ return request(BASE_API, {
75
+ url: "/poplar/v3/clue_report/content/clues",
76
+ method: "get",
77
+ params
78
+ });
79
+ }
73
80
  function getConfigurationNew(BASE_API, params) {
74
81
  return request(BASE_API, {
75
82
  url: `/poplar/v2/settings`,
@@ -77,4 +84,18 @@ function getConfigurationNew(BASE_API, params) {
77
84
  params
78
85
  });
79
86
  }
80
- export { checkCommitFulfillment, getBroadcastList, getCategoryCategoriesTree, getCategoryMediaNew, getCategoryPath, getCategorylistsGroups, getConfigurationNew, getEqxiuList, getMpContentList, searchMlists, searchMpaccount };
87
+ function getReporterContent(BASE_API, params) {
88
+ return request(BASE_API, {
89
+ url: "/poplar/v3/clue_report/journalist/list",
90
+ method: "get",
91
+ params
92
+ });
93
+ }
94
+ function getTypeConfig(BASE_API, params) {
95
+ return request(BASE_API, {
96
+ url: `/poplar/v3/clue_report/clue/classify/list`,
97
+ method: "get",
98
+ params
99
+ });
100
+ }
101
+ export { checkCommitFulfillment, getBroadcastList, getCategoryCategoriesTree, getCategoryMediaNew, getCategoryPath, getCategorylistsGroups, getConfigurationNew, getEqxiuList, getMpContentList, getReporterContent, getRevealContent, getTypeConfig, searchMlists, searchMpaccount };
@@ -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
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
  ])
@@ -2,13 +2,9 @@ import { defineComponent, openBlock, createElementBlock, createElementVNode, cre
2
2
  import _imports_0 from "../images/phone.js";
3
3
  import { Spin } from "@arco-design/web-vue";
4
4
  const _hoisted_1 = { class: "iframe-container" };
5
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("img", {
6
- src: _imports_0,
7
- alt: ""
8
- }, null, -1);
9
- const _hoisted_3 = { class: "iframe-content" };
10
- const _hoisted_4 = ["src"];
11
- const _hoisted_5 = {
5
+ const _hoisted_2 = { class: "iframe-content" };
6
+ const _hoisted_3 = ["src"];
7
+ const _hoisted_4 = {
12
8
  key: 1,
13
9
  class: "loading-wrapper"
14
10
  };
@@ -20,13 +16,16 @@ const _sfc_main = defineComponent({
20
16
  setup(__props) {
21
17
  return (_ctx, _cache) => {
22
18
  return openBlock(), createElementBlock("div", _hoisted_1, [
23
- _hoisted_2,
24
- createElementVNode("div", _hoisted_3, [
19
+ _cache[0] || (_cache[0] = createElementVNode("img", {
20
+ src: _imports_0,
21
+ alt: ""
22
+ }, null, -1)),
23
+ createElementVNode("div", _hoisted_2, [
25
24
  _ctx.src ? (openBlock(), createElementBlock("iframe", {
26
25
  key: 0,
27
26
  style: { "overflow": "hidden" },
28
27
  src: _ctx.src
29
- }, null, 8, _hoisted_4)) : (openBlock(), createElementBlock("div", _hoisted_5, [
28
+ }, null, 8, _hoisted_3)) : (openBlock(), createElementBlock("div", _hoisted_4, [
30
29
  createVNode(unref(Spin), { loading: true })
31
30
  ]))
32
31
  ])