@cmstops/pro-compo 0.3.84 → 0.3.86

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 (152) 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 +15 -13
  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/components/List/ListVideo/index.js +1 -0
  77. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
  78. package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
  79. package/es/selectThumb/component.js +23 -28
  80. package/es/uploadBefore/components/UploadBefore.js +2 -2
  81. package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
  82. package/es/userAvater/component.js +2 -2
  83. package/es/userDirector/component.js +2 -2
  84. package/es/utils/filter.d.ts +12 -0
  85. package/es/videoThumb/component.js +8 -5
  86. package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
  87. package/lib/baseFilter/components/FilterGroup.js +1 -1
  88. package/lib/contentDetailList/components/Content/DocItem/index.js +12 -14
  89. package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
  90. package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
  91. package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
  92. package/lib/contentDetailList/components/Content/index.js +2 -2
  93. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
  94. package/lib/contentModal/component.js +53 -14
  95. package/lib/contentModal/components/Dejin/MediaFilter/index.js +129 -0
  96. package/lib/contentModal/components/Dejin/index.js +237 -0
  97. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
  98. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  99. package/lib/contentModal/components/storeBox/index.js +4 -4
  100. package/lib/contentModal/script/api.js +24 -0
  101. package/lib/dataTags/component.js +10 -10
  102. package/lib/docHistory/component.js +2 -2
  103. package/lib/docPreview/component.js +47 -56
  104. package/lib/docPreview/components/PreviewIframe.js +9 -10
  105. package/lib/editMetaInfo/component.js +34 -11
  106. package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
  107. package/lib/emptyData/svg/acount.js +3 -5
  108. package/lib/emptyData/svg/add.js +3 -5
  109. package/lib/emptyData/svg/analize.js +3 -5
  110. package/lib/emptyData/svg/analize_fail.js +3 -5
  111. package/lib/emptyData/svg/empty.js +3 -5
  112. package/lib/emptyData/svg/file.js +3 -5
  113. package/lib/emptyData/svg/manager.js +3 -5
  114. package/lib/emptyData/svg/message.js +14 -17
  115. package/lib/emptyData/svg/noanalize.js +3 -5
  116. package/lib/emptyData/svg/null.js +3 -5
  117. package/lib/emptyData/svg/search.js +3 -5
  118. package/lib/emptyData/svg/star.js +3 -5
  119. package/lib/emptyData/svg/trash.js +3 -5
  120. package/lib/emptyData/svg/user.js +3 -5
  121. package/lib/imageCrop/component.js +4 -4
  122. package/lib/importData/component.js +18 -21
  123. package/lib/mediaFilter/components/DocFilter.js +1 -1
  124. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  125. package/lib/mediaView/component.js +3 -5
  126. package/lib/messageBox/component.js +2 -2
  127. package/lib/previousVersion/component.js +3 -4
  128. package/lib/resourceGridList/component.js +15 -18
  129. package/lib/resourceModal/component.js +2 -2
  130. package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
  131. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
  132. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
  133. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  134. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
  135. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
  136. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  137. package/lib/selectGategory/component.js +3 -4
  138. package/lib/selectResourceModal/component.js +15 -13
  139. package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
  140. package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
  141. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  142. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  143. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  144. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
  145. package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
  146. package/lib/selectResourceModal/components/List/ListVideo/index.js +1 -0
  147. package/lib/selectThumb/component.js +23 -28
  148. package/lib/uploadBefore/components/UploadBefore.js +2 -2
  149. package/lib/userAvater/component.js +2 -2
  150. package/lib/userDirector/component.js +2 -2
  151. package/lib/videoThumb/component.js +9 -6
  152. package/package.json +1 -1
@@ -0,0 +1,237 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var webVue = require("@arco-design/web-vue");
4
+ var component = require("../../../typeIcons/component.js");
5
+ var index = require("./MediaFilter/index.js");
6
+ var batch = require("../../../hooks/batch.js");
7
+ var api = require("../../script/api.js");
8
+ const _hoisted_1 = { class: "view-all-column-container" };
9
+ const _hoisted_2 = { class: "content-table-view" };
10
+ const _hoisted_3 = { class: "title-span" };
11
+ const _hoisted_4 = ["onClick"];
12
+ const _hoisted_5 = { class: "title" };
13
+ const _hoisted_6 = { class: "bottom-view" };
14
+ const _hoisted_7 = { class: "left" };
15
+ const _sfc_main = vue.defineComponent({
16
+ ...{ name: "LiveList" },
17
+ __name: "index",
18
+ props: {
19
+ maxSelect: {},
20
+ outsideSelectData: {},
21
+ defaultSelectedData: {},
22
+ userInfo: {}
23
+ },
24
+ emits: ["change"],
25
+ setup(__props, { emit: __emit }) {
26
+ const emit = __emit;
27
+ const props = __props;
28
+ const _maxSelect = props.maxSelect || 100;
29
+ const selectedData = vue.ref([]);
30
+ const group_id = vue.ref("all");
31
+ const mediaFileData = vue.ref([]);
32
+ const dataLoading = vue.ref(false);
33
+ const page = vue.ref({
34
+ index: 1,
35
+ size: 10,
36
+ total: 0
37
+ });
38
+ const filter = vue.ref(null);
39
+ const columns = [
40
+ {
41
+ title: "\u6807\u9898",
42
+ dataIndex: "title",
43
+ slotName: "title"
44
+ },
45
+ {
46
+ title: "\u62A5\u6599\u7C7B\u578B",
47
+ dataIndex: "classify_name",
48
+ slotName: "classify_name"
49
+ },
50
+ {
51
+ title: "@\u8BB0\u8005",
52
+ dataIndex: "report_user",
53
+ slotName: "pub_report_usertime"
54
+ },
55
+ {
56
+ title: "\u72B6\u6001",
57
+ dataIndex: "adopted",
58
+ slotName: "adopted"
59
+ },
60
+ {
61
+ title: "\u8054\u7CFB\u7535\u8BDD",
62
+ dataIndex: "contract_phone",
63
+ slotName: "contract_phone"
64
+ },
65
+ {
66
+ title: "\u63D0\u4EA4\u65F6\u95F4",
67
+ dataIndex: "created_at",
68
+ slotName: "created_at"
69
+ }
70
+ ];
71
+ const scrollPercent = { y: "100%" };
72
+ const tempSelectedData = vue.computed(() => {
73
+ return props.defaultSelectedData || [];
74
+ });
75
+ const search = (_filter) => {
76
+ if (_filter.title || _filter.classify_id || _filter.related_journalist) {
77
+ filter.value = { ..._filter };
78
+ } else {
79
+ filter.value = null;
80
+ }
81
+ page.value.index = 1;
82
+ loadData();
83
+ };
84
+ const loadData = async () => {
85
+ let params = {
86
+ page: page.value.index,
87
+ page_size: page.value.size
88
+ };
89
+ if (filter.value) {
90
+ params = { ...params, ...filter.value };
91
+ }
92
+ dataLoading.value = true;
93
+ const { code, message } = await api.getRevealContent(
94
+ props.userInfo.BASE_API,
95
+ params
96
+ );
97
+ dataLoading.value = false;
98
+ if (code === 0) {
99
+ page.value.total = message.total;
100
+ mediaFileData.value = message.data;
101
+ page.value.total = message.total || message.count;
102
+ }
103
+ };
104
+ const pageChangeHandle = (index2) => {
105
+ page.value.index = index2;
106
+ loadData();
107
+ };
108
+ const clickCheckbox = (e, record) => {
109
+ e.stopPropagation();
110
+ e.preventDefault();
111
+ selectData(record);
112
+ };
113
+ const selectTableCell = (record) => {
114
+ selectData(record);
115
+ };
116
+ const selectData = (record) => {
117
+ if (checkSameAdd(record)) {
118
+ webVue.Message.warning({ content: "\u8BF7\u52FF\u6DFB\u52A0\u91CD\u590D\u6570\u636E", duration: 3e3 });
119
+ return;
120
+ }
121
+ addDataToSelectedList(record);
122
+ };
123
+ const checkSameAdd = (record) => {
124
+ const selected = props.outsideSelectData;
125
+ if (!selected.length)
126
+ return false;
127
+ return selected.map((row) => row.id).includes(record.id);
128
+ };
129
+ const addDataToSelectedList = async (record) => {
130
+ const index2 = selectedData.value.findIndex((v) => v.id === record.id);
131
+ if (selectedData.value.length < _maxSelect) {
132
+ if (index2 === -1) {
133
+ selectedData.value.push(record);
134
+ } else {
135
+ selectedData.value.splice(index2, 1);
136
+ }
137
+ emitChange();
138
+ } else {
139
+ if (index2 === -1) {
140
+ selectedData.value.splice(selectedData.value.length - 1, 1);
141
+ selectedData.value.push(record);
142
+ } else {
143
+ selectedData.value.splice(index2, 1);
144
+ }
145
+ webVue.Message.warning({ content: "\u5DF2\u8FBE\u5230\u9009\u62E9\u6570\u91CF\u7684\u4E0A\u9650", duration: 3e3 });
146
+ emitChange();
147
+ }
148
+ };
149
+ const emitChange = () => {
150
+ emit("change", selectedData.value);
151
+ };
152
+ const {
153
+ isItemChecked,
154
+ hoverBatchBox,
155
+ tableCellMouseEnter,
156
+ tableCellMouseLeave
157
+ } = batch();
158
+ vue.watch(
159
+ () => tempSelectedData.value,
160
+ (val) => {
161
+ selectedData.value = val;
162
+ }
163
+ );
164
+ vue.watch(
165
+ () => group_id.value,
166
+ () => {
167
+ page.value.index = 1;
168
+ loadData();
169
+ }
170
+ );
171
+ vue.onMounted(() => {
172
+ loadData();
173
+ });
174
+ return (_ctx, _cache) => {
175
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
176
+ vue.createVNode(index, {
177
+ group_id: group_id.value,
178
+ "onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
179
+ "user-info": _ctx.userInfo,
180
+ onSearch: search
181
+ }, null, 8, ["group_id", "user-info"]),
182
+ vue.createElementVNode("div", _hoisted_2, [
183
+ vue.createVNode(vue.unref(webVue.Table), {
184
+ columns,
185
+ scroll: scrollPercent,
186
+ pagination: false,
187
+ bordered: false,
188
+ data: mediaFileData.value,
189
+ loading: dataLoading.value,
190
+ onCellMouseEnter: vue.unref(tableCellMouseEnter),
191
+ onCellMouseLeave: vue.unref(tableCellMouseLeave),
192
+ onRowClick: selectTableCell
193
+ }, {
194
+ title: vue.withCtx(({ record }) => [
195
+ vue.createElementVNode("span", _hoisted_3, [
196
+ vue.unref(hoverBatchBox)(selectedData.value, record) ? (vue.openBlock(), vue.createElementBlock("span", {
197
+ key: 0,
198
+ onClick: vue.withModifiers(($event) => clickCheckbox($event, record), ["stop"])
199
+ }, [
200
+ vue.createVNode(vue.unref(webVue.Checkbox), {
201
+ class: "icon",
202
+ "model-value": vue.unref(isItemChecked)(selectedData.value, record)
203
+ }, null, 8, ["model-value"])
204
+ ], 8, _hoisted_4)) : (vue.openBlock(), vue.createBlock(component, {
205
+ key: 1,
206
+ class: "icon",
207
+ doc: true,
208
+ type: record.series
209
+ }, null, 8, ["type"])),
210
+ vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(record.title || record.alias || "--"), 1)
211
+ ])
212
+ ]),
213
+ pub_time: vue.withCtx(({ record }) => [
214
+ vue.createElementVNode("span", null, vue.toDisplayString(record.pub_time), 1)
215
+ ]),
216
+ _: 1
217
+ }, 8, ["data", "loading", "onCellMouseEnter", "onCellMouseLeave"])
218
+ ]),
219
+ vue.createElementVNode("div", _hoisted_6, [
220
+ vue.createElementVNode("div", _hoisted_7, [
221
+ vue.renderSlot(_ctx.$slots, "store"),
222
+ vue.withDirectives(vue.createVNode(vue.unref(webVue.Pagination), {
223
+ current: page.value.index,
224
+ "page-size": page.value.size,
225
+ total: page.value.total,
226
+ onChange: pageChangeHandle
227
+ }, null, 8, ["current", "page-size", "total"]), [
228
+ [vue.vShow, mediaFileData.value.length > 0]
229
+ ])
230
+ ]),
231
+ vue.renderSlot(_ctx.$slots, "options")
232
+ ])
233
+ ]);
234
+ };
235
+ }
236
+ });
237
+ module.exports = _sfc_main;
@@ -5,7 +5,6 @@ var icon = require("@arco-design/web-vue/es/icon");
5
5
  var api = require("../../../script/api.js");
6
6
  const _hoisted_1 = { class: "media-filter-container" };
7
7
  const _hoisted_2 = { style: { "margin-right": "10px" } };
8
- const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
9
8
  const _sfc_main = vue.defineComponent({
10
9
  ...{ name: "MediaFilter" },
11
10
  __name: "index",
@@ -112,9 +111,9 @@ const _sfc_main = vue.defineComponent({
112
111
  ]),
113
112
  vue.createElementVNode("span", null, vue.toDisplayString(data == null ? void 0 : data.label), 1)
114
113
  ]),
115
- "arrow-icon": vue.withCtx(() => [
116
- _hoisted_3
117
- ]),
114
+ "arrow-icon": vue.withCtx(() => _cache[3] || (_cache[3] = [
115
+ vue.createElementVNode("span", null, null, -1)
116
+ ])),
118
117
  default: vue.withCtx(() => [
119
118
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(sortOptions.value, (item) => {
120
119
  return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
@@ -285,7 +285,7 @@ const _sfc_main = vue.defineComponent({
285
285
  }, {
286
286
  default: vue.withCtx(() => [
287
287
  vue.createVNode(vue.unref(icon.IconRefresh), { class: "reset-icon" }),
288
- vue.createTextVNode(" \u91CD\u7F6E ")
288
+ _cache[7] || (_cache[7] = vue.createTextVNode(" \u91CD\u7F6E "))
289
289
  ]),
290
290
  _: 1
291
291
  }, 512), [
@@ -81,9 +81,9 @@ const _sfc_main = vue.defineComponent({
81
81
  type: "text",
82
82
  onClick: clear
83
83
  }, {
84
- default: vue.withCtx(() => [
84
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
85
85
  vue.createTextVNode("\u6E05\u7A7A")
86
- ]),
86
+ ])),
87
87
  _: 1
88
88
  })
89
89
  ])
@@ -97,9 +97,9 @@ const _sfc_main = vue.defineComponent({
97
97
  key: 0,
98
98
  class: "button"
99
99
  }, {
100
- default: vue.withCtx(() => [
100
+ default: vue.withCtx(() => _cache[0] || (_cache[0] = [
101
101
  vue.createTextVNode("\u5DF2\u9009\u6570\u636E")
102
- ]),
102
+ ])),
103
103
  _: 1
104
104
  })) : vue.createCommentVNode("v-if", true)
105
105
  ]),
@@ -72,6 +72,13 @@ function getMpContentList(BASE_API, params) {
72
72
  params
73
73
  });
74
74
  }
75
+ function getRevealContent(BASE_API, params) {
76
+ return request(BASE_API, {
77
+ url: "/poplar/v3/clue_report/content/clues",
78
+ method: "get",
79
+ params
80
+ });
81
+ }
75
82
  function getConfigurationNew(BASE_API, params) {
76
83
  return request(BASE_API, {
77
84
  url: `/poplar/v2/settings`,
@@ -79,6 +86,20 @@ function getConfigurationNew(BASE_API, params) {
79
86
  params
80
87
  });
81
88
  }
89
+ function getReporterContent(BASE_API, params) {
90
+ return request(BASE_API, {
91
+ url: "/poplar/v3/clue_report/journalist/list",
92
+ method: "get",
93
+ params
94
+ });
95
+ }
96
+ function getTypeConfig(BASE_API, params) {
97
+ return request(BASE_API, {
98
+ url: `/poplar/v3/clue_report/clue/classify/list`,
99
+ method: "get",
100
+ params
101
+ });
102
+ }
82
103
  exports.checkCommitFulfillment = checkCommitFulfillment;
83
104
  exports.getBroadcastList = getBroadcastList;
84
105
  exports.getCategoryCategoriesTree = getCategoryCategoriesTree;
@@ -88,5 +109,8 @@ exports.getCategorylistsGroups = getCategorylistsGroups;
88
109
  exports.getConfigurationNew = getConfigurationNew;
89
110
  exports.getEqxiuList = getEqxiuList;
90
111
  exports.getMpContentList = getMpContentList;
112
+ exports.getReporterContent = getReporterContent;
113
+ exports.getRevealContent = getRevealContent;
114
+ exports.getTypeConfig = getTypeConfig;
91
115
  exports.searchMlists = searchMlists;
92
116
  exports.searchMpaccount = searchMpaccount;
@@ -131,9 +131,9 @@ const _sfc_main = vue.defineComponent({
131
131
  size: "small",
132
132
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
133
133
  }, {
134
- default: vue.withCtx(() => [
134
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
135
135
  vue.createTextVNode("\u539F\u521B")
136
- ]),
136
+ ])),
137
137
  _: 1
138
138
  }, 8, ["class"])
139
139
  ]),
@@ -149,9 +149,9 @@ const _sfc_main = vue.defineComponent({
149
149
  size: "small",
150
150
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
151
151
  }, {
152
- default: vue.withCtx(() => [
152
+ default: vue.withCtx(() => _cache[2] || (_cache[2] = [
153
153
  vue.createTextVNode("\u63A8\u8350")
154
- ]),
154
+ ])),
155
155
  _: 1
156
156
  }, 8, ["class"])
157
157
  ]),
@@ -167,9 +167,9 @@ const _sfc_main = vue.defineComponent({
167
167
  size: "small",
168
168
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "waring"])
169
169
  }, {
170
- default: vue.withCtx(() => [
170
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
171
171
  vue.createTextVNode("\u654F\u611F")
172
- ]),
172
+ ])),
173
173
  _: 1
174
174
  }, 8, ["class"])
175
175
  ]),
@@ -185,9 +185,9 @@ const _sfc_main = vue.defineComponent({
185
185
  size: "small",
186
186
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
187
187
  }, {
188
- default: vue.withCtx(() => [
188
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
189
189
  vue.createTextVNode("\u5DF2\u63A8\u9001")
190
- ]),
190
+ ])),
191
191
  _: 1
192
192
  }, 8, ["class"])
193
193
  ]),
@@ -221,9 +221,9 @@ const _sfc_main = vue.defineComponent({
221
221
  size: "small",
222
222
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "matrix"])
223
223
  }, {
224
- default: vue.withCtx(() => [
224
+ default: vue.withCtx(() => _cache[5] || (_cache[5] = [
225
225
  vue.createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
226
- ]),
226
+ ])),
227
227
  _: 1
228
228
  }, 8, ["class"])
229
229
  ]),
@@ -70,9 +70,9 @@ const _sfc_main = vue.defineComponent({
70
70
  disabled: !vue.unref(current),
71
71
  onClick: handeRevert
72
72
  }, {
73
- default: vue.withCtx(() => [
73
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
74
74
  vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
75
- ]),
75
+ ])),
76
76
  _: 1
77
77
  }, 8, ["disabled"])
78
78
  ]),
@@ -6,31 +6,18 @@ var config = require("../config.js");
6
6
  var PreviewIframe = require("./components/PreviewIframe.js");
7
7
  var hook = require("./scripts/hook.js");
8
8
  const _hoisted_1 = { class: "preview-close" };
9
- const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share" }, null, -1);
10
- const _hoisted_3 = { class: "doc-preview-share-img" };
11
- const _hoisted_4 = ["src"];
12
- const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
13
- const _hoisted_6 = { class: "doc-preview-share-header" };
14
- const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
15
- const _hoisted_8 = { class: "doc-preview-share-link" };
16
- const _hoisted_9 = { class: "doc-preview-share-link-value" };
17
- const _hoisted_10 = { class: "doc-preview-share-link-hint" };
18
- const _hoisted_11 = { class: "doc-preview-share-action" };
19
- const _hoisted_12 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
20
- /* @__PURE__ */ vue.createElementVNode("div", { id: "qr-code-is-pub" })
21
- ], -1);
22
- const _hoisted_13 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
23
- const _hoisted_14 = { class: "doc-preview-share-header" };
24
- const _hoisted_15 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
25
- const _hoisted_16 = { class: "doc-preview-share-link" };
26
- const _hoisted_17 = { class: "doc-preview-share-link-value" };
27
- const _hoisted_18 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
28
- /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
29
- ], -1);
30
- const _hoisted_19 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1);
31
- const _hoisted_20 = { class: "doc-preview-share-header" };
32
- const _hoisted_21 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
33
- const _hoisted_22 = { class: "doc-preview-share-action" };
9
+ const _hoisted_2 = { class: "doc-preview-share-img" };
10
+ const _hoisted_3 = ["src"];
11
+ const _hoisted_4 = { class: "doc-preview-share-header" };
12
+ const _hoisted_5 = { class: "doc-preview-share-link" };
13
+ const _hoisted_6 = { class: "doc-preview-share-link-value" };
14
+ const _hoisted_7 = { class: "doc-preview-share-link-hint" };
15
+ const _hoisted_8 = { class: "doc-preview-share-action" };
16
+ const _hoisted_9 = { class: "doc-preview-share-header" };
17
+ const _hoisted_10 = { class: "doc-preview-share-link" };
18
+ const _hoisted_11 = { class: "doc-preview-share-link-value" };
19
+ const _hoisted_12 = { class: "doc-preview-share-header" };
20
+ const _hoisted_13 = { class: "doc-preview-share-action" };
34
21
  const _sfc_main = vue.defineComponent({
35
22
  ...{ name: "docPreview" },
36
23
  __name: "component",
@@ -75,7 +62,7 @@ const _sfc_main = vue.defineComponent({
75
62
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => emits("close"), ["stop"]))
76
63
  })
77
64
  ]),
78
- _hoisted_2,
65
+ _cache[21] || (_cache[21] = vue.createElementVNode("div", { class: "doc-preview-share" }, null, -1)),
79
66
  vue.createVNode(PreviewIframe, {
80
67
  src: vue.unref(innerUrl),
81
68
  onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
@@ -90,79 +77,83 @@ const _sfc_main = vue.defineComponent({
90
77
  }, [
91
78
  vue.unref(shareData) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
92
79
  vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
93
- vue.createElementVNode("div", _hoisted_3, [
80
+ vue.createElementVNode("div", _hoisted_2, [
94
81
  vue.createElementVNode("img", {
95
82
  src: vue.unref(shareData).qrCode,
96
83
  alt: ""
97
- }, null, 8, _hoisted_4)
84
+ }, null, 8, _hoisted_3)
98
85
  ]),
99
86
  vue.createCommentVNode(" \u5907\u6CE8 "),
100
- _hoisted_5,
87
+ _cache[12] || (_cache[12] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
101
88
  vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
102
- vue.createElementVNode("div", _hoisted_6, [
103
- _hoisted_7,
89
+ vue.createElementVNode("div", _hoisted_4, [
90
+ _cache[9] || (_cache[9] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
104
91
  vue.createVNode(vue.unref(webVue.Link), {
105
92
  type: "text",
106
93
  onClick: vue.unref(copy)
107
94
  }, {
108
- default: vue.withCtx(() => [
95
+ default: vue.withCtx(() => _cache[8] || (_cache[8] = [
109
96
  vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
110
- ]),
97
+ ])),
111
98
  _: 1
112
99
  }, 8, ["onClick"])
113
100
  ]),
114
101
  vue.createCommentVNode(" \u94FE\u63A5 "),
115
- vue.createElementVNode("div", _hoisted_8, [
116
- vue.createElementVNode("div", _hoisted_9, vue.toDisplayString(vue.unref(shareData).shareUrl), 1),
117
- vue.createElementVNode("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + vue.toDisplayString(vue.unref(intervalTime)), 1)
102
+ vue.createElementVNode("div", _hoisted_5, [
103
+ vue.createElementVNode("div", _hoisted_6, vue.toDisplayString(vue.unref(shareData).shareUrl), 1),
104
+ vue.createElementVNode("div", _hoisted_7, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + vue.toDisplayString(vue.unref(intervalTime)), 1)
118
105
  ]),
119
106
  vue.createCommentVNode(" \u64CD\u4F5C "),
120
- vue.createElementVNode("div", _hoisted_11, [
107
+ vue.createElementVNode("div", _hoisted_8, [
121
108
  vue.createVNode(vue.unref(webVue.Button), {
122
109
  onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(cancel)())
123
110
  }, {
124
- default: vue.withCtx(() => [
111
+ default: vue.withCtx(() => _cache[10] || (_cache[10] = [
125
112
  vue.createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
126
- ]),
113
+ ])),
127
114
  _: 1
128
115
  }),
129
116
  vue.createVNode(vue.unref(webVue.Button), {
130
117
  type: "primary",
131
118
  onClick: _cache[3] || (_cache[3] = ($event) => vue.unref(cancel)(true))
132
119
  }, {
133
- default: vue.withCtx(() => [
120
+ default: vue.withCtx(() => _cache[11] || (_cache[11] = [
134
121
  vue.createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
135
- ]),
122
+ ])),
136
123
  _: 1
137
124
  })
138
125
  ])
139
126
  ], 64)) : vue.unref(isPublish) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
140
127
  vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
141
- _hoisted_12,
128
+ _cache[15] || (_cache[15] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
129
+ vue.createElementVNode("div", { id: "qr-code-is-pub" })
130
+ ], -1)),
142
131
  vue.createCommentVNode(" \u5907\u6CE8 "),
143
- _hoisted_13,
132
+ _cache[16] || (_cache[16] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
144
133
  vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
145
- vue.createElementVNode("div", _hoisted_14, [
146
- _hoisted_15,
134
+ vue.createElementVNode("div", _hoisted_9, [
135
+ _cache[14] || (_cache[14] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
147
136
  vue.createVNode(vue.unref(webVue.Link), {
148
137
  type: "text",
149
138
  onClick: vue.unref(copy)
150
139
  }, {
151
- default: vue.withCtx(() => [
140
+ default: vue.withCtx(() => _cache[13] || (_cache[13] = [
152
141
  vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
153
- ]),
142
+ ])),
154
143
  _: 1
155
144
  }, 8, ["onClick"])
156
145
  ]),
157
146
  vue.createCommentVNode(" \u94FE\u63A5 "),
158
- vue.createElementVNode("div", _hoisted_16, [
159
- vue.createElementVNode("div", _hoisted_17, vue.toDisplayString(vue.unref(innerUrl)), 1)
147
+ vue.createElementVNode("div", _hoisted_10, [
148
+ vue.createElementVNode("div", _hoisted_11, vue.toDisplayString(vue.unref(innerUrl)), 1)
160
149
  ])
161
150
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
162
- _hoisted_18,
163
- _hoisted_19,
164
- vue.createElementVNode("div", _hoisted_20, [
165
- _hoisted_21,
151
+ _cache[19] || (_cache[19] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
152
+ vue.createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
153
+ ], -1)),
154
+ _cache[20] || (_cache[20] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)),
155
+ vue.createElementVNode("div", _hoisted_12, [
156
+ _cache[17] || (_cache[17] = vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
166
157
  vue.createVNode(vue.unref(webVue.Select), {
167
158
  modelValue: vue.unref(expireTime),
168
159
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(expireTime) ? expireTime.value = $event : null),
@@ -181,14 +172,14 @@ const _sfc_main = vue.defineComponent({
181
172
  _: 1
182
173
  }, 8, ["modelValue"])
183
174
  ]),
184
- vue.createElementVNode("div", _hoisted_22, [
175
+ vue.createElementVNode("div", _hoisted_13, [
185
176
  vue.createVNode(vue.unref(webVue.Button), {
186
177
  type: "primary",
187
178
  onClick: _cache[5] || (_cache[5] = () => vue.unref(generate)())
188
179
  }, {
189
- default: vue.withCtx(() => [
180
+ default: vue.withCtx(() => _cache[18] || (_cache[18] = [
190
181
  vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
191
- ]),
182
+ ])),
192
183
  _: 1
193
184
  })
194
185
  ])
@@ -3,13 +3,9 @@ var vue = require("vue");
3
3
  var phone = require("../images/phone.js");
4
4
  var webVue = require("@arco-design/web-vue");
5
5
  const _hoisted_1 = { class: "iframe-container" };
6
- const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("img", {
7
- src: phone,
8
- alt: ""
9
- }, null, -1);
10
- const _hoisted_3 = { class: "iframe-content" };
11
- const _hoisted_4 = ["src"];
12
- const _hoisted_5 = {
6
+ const _hoisted_2 = { class: "iframe-content" };
7
+ const _hoisted_3 = ["src"];
8
+ const _hoisted_4 = {
13
9
  key: 1,
14
10
  class: "loading-wrapper"
15
11
  };
@@ -21,13 +17,16 @@ const _sfc_main = vue.defineComponent({
21
17
  setup(__props) {
22
18
  return (_ctx, _cache) => {
23
19
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
24
- _hoisted_2,
25
- vue.createElementVNode("div", _hoisted_3, [
20
+ _cache[0] || (_cache[0] = vue.createElementVNode("img", {
21
+ src: phone,
22
+ alt: ""
23
+ }, null, -1)),
24
+ vue.createElementVNode("div", _hoisted_2, [
26
25
  _ctx.src ? (vue.openBlock(), vue.createElementBlock("iframe", {
27
26
  key: 0,
28
27
  style: { "overflow": "hidden" },
29
28
  src: _ctx.src
30
- }, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
29
+ }, null, 8, _hoisted_3)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
31
30
  vue.createVNode(vue.unref(webVue.Spin), { loading: true })
32
31
  ]))
33
32
  ])