@cmstops/pro-compo 0.3.82 → 0.3.83

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 (140) 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 +14 -12
  4. package/es/contentDetailList/components/Content/LiveItem/index.js +6 -5
  5. package/es/contentDetailList/components/Content/courseItem/index.js +8 -7
  6. package/es/contentDetailList/components/Content/funhdItem/index.js +8 -7
  7. package/es/contentDetailList/components/Content/index.js +2 -2
  8. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +11 -10
  9. package/es/contentModal/component.js +39 -16
  10. package/es/contentModal/components/EqxiuList/index.js +38 -31
  11. package/es/contentModal/components/MpContentList/MediaFilter/index.js +4 -3
  12. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  13. package/es/contentModal/components/storeBox/index.js +4 -4
  14. package/es/contentModal/script/api.d.ts +1 -0
  15. package/es/contentModal/script/api.js +8 -1
  16. package/es/dataTags/component.js +10 -10
  17. package/es/docHistory/component.js +2 -2
  18. package/es/docHistory/scripts/useDocHistory.d.ts +4 -4
  19. package/es/docPreview/component.js +56 -47
  20. package/es/docPreview/components/PreviewIframe.js +10 -9
  21. package/es/docPreview/scripts/hook.d.ts +6 -16
  22. package/es/editMetaInfo/components/metaInfoForm.js +4 -4
  23. package/es/emptyData/svg/acount.js +5 -3
  24. package/es/emptyData/svg/add.js +5 -3
  25. package/es/emptyData/svg/analize.js +5 -3
  26. package/es/emptyData/svg/analize_fail.js +5 -3
  27. package/es/emptyData/svg/empty.js +5 -3
  28. package/es/emptyData/svg/file.js +5 -3
  29. package/es/emptyData/svg/manager.js +5 -3
  30. package/es/emptyData/svg/message.js +17 -14
  31. package/es/emptyData/svg/noanalize.js +5 -3
  32. package/es/emptyData/svg/null.js +5 -3
  33. package/es/emptyData/svg/search.js +5 -3
  34. package/es/emptyData/svg/star.js +5 -3
  35. package/es/emptyData/svg/trash.js +5 -3
  36. package/es/emptyData/svg/user.js +5 -3
  37. package/es/hooks/batch.d.ts +1 -1
  38. package/es/hooks/dialogVisible.d.ts +1 -1
  39. package/es/hooks/source.d.ts +1 -1
  40. package/es/hooks/toggle.d.ts +1 -1
  41. package/es/hooks/useAttachement.d.ts +6 -6
  42. package/es/hooks/useMediaContext.d.ts +5 -5
  43. package/es/hooks/usePopper.d.ts +1 -1
  44. package/es/hooks/useSelection.d.ts +2 -9
  45. package/es/hooks/useUpload.d.ts +2 -2
  46. package/es/hooks/user.d.ts +1 -1
  47. package/es/imageCrop/component.js +4 -4
  48. package/es/mediaFilter/components/DocFilter.js +1 -1
  49. package/es/mediaFilter/components/FilterGroup.js +1 -1
  50. package/es/mediaView/component.js +5 -3
  51. package/es/messageBox/component.js +2 -2
  52. package/es/previousVersion/component.js +4 -3
  53. package/es/resourceGridList/component.js +18 -15
  54. package/es/resourceModal/component.js +2 -2
  55. package/es/resourceModal/components/MediaPreviewer/index.js +10 -7
  56. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +17 -15
  57. package/es/resourceModal/components/MediaSelection/MainContent/index.js +24 -20
  58. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  59. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +4 -3
  60. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +13 -9
  61. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  62. package/es/selectGategory/component.js +4 -3
  63. package/es/selectResourceModal/component.js +10 -10
  64. package/es/selectResourceModal/components/List/ListAi/index.js +8 -7
  65. package/es/selectResourceModal/components/List/ListCardWrapper.js +8 -6
  66. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  67. package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  68. package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  69. package/es/selectResourceModal/components/List/ListSystem/SubList.js +4 -3
  70. package/es/selectResourceModal/components/List/ListSystem/index.js +2 -1
  71. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
  72. package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
  73. package/es/selectThumb/component.js +28 -23
  74. package/es/uploadBefore/components/UploadBefore.js +2 -2
  75. package/es/uploadBefore/script/uploadHooks.d.ts +1 -42
  76. package/es/userAvater/component.js +2 -2
  77. package/es/userDirector/component.js +2 -2
  78. package/es/utils/filter.d.ts +0 -12
  79. package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
  80. package/lib/baseFilter/components/FilterGroup.js +1 -1
  81. package/lib/contentDetailList/components/Content/DocItem/index.js +14 -12
  82. package/lib/contentDetailList/components/Content/LiveItem/index.js +6 -5
  83. package/lib/contentDetailList/components/Content/courseItem/index.js +8 -7
  84. package/lib/contentDetailList/components/Content/funhdItem/index.js +8 -7
  85. package/lib/contentDetailList/components/Content/index.js +2 -2
  86. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +11 -10
  87. package/lib/contentModal/component.js +39 -16
  88. package/lib/contentModal/components/EqxiuList/index.js +38 -31
  89. package/lib/contentModal/components/MpContentList/MediaFilter/index.js +4 -3
  90. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
  91. package/lib/contentModal/components/storeBox/index.js +4 -4
  92. package/lib/contentModal/script/api.js +8 -0
  93. package/lib/dataTags/component.js +10 -10
  94. package/lib/docHistory/component.js +2 -2
  95. package/lib/docPreview/component.js +56 -47
  96. package/lib/docPreview/components/PreviewIframe.js +10 -9
  97. package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
  98. package/lib/emptyData/svg/acount.js +5 -3
  99. package/lib/emptyData/svg/add.js +5 -3
  100. package/lib/emptyData/svg/analize.js +5 -3
  101. package/lib/emptyData/svg/analize_fail.js +5 -3
  102. package/lib/emptyData/svg/empty.js +5 -3
  103. package/lib/emptyData/svg/file.js +5 -3
  104. package/lib/emptyData/svg/manager.js +5 -3
  105. package/lib/emptyData/svg/message.js +17 -14
  106. package/lib/emptyData/svg/noanalize.js +5 -3
  107. package/lib/emptyData/svg/null.js +5 -3
  108. package/lib/emptyData/svg/search.js +5 -3
  109. package/lib/emptyData/svg/star.js +5 -3
  110. package/lib/emptyData/svg/trash.js +5 -3
  111. package/lib/emptyData/svg/user.js +5 -3
  112. package/lib/imageCrop/component.js +4 -4
  113. package/lib/mediaFilter/components/DocFilter.js +1 -1
  114. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  115. package/lib/mediaView/component.js +5 -3
  116. package/lib/messageBox/component.js +2 -2
  117. package/lib/previousVersion/component.js +4 -3
  118. package/lib/resourceGridList/component.js +18 -15
  119. package/lib/resourceModal/component.js +2 -2
  120. package/lib/resourceModal/components/MediaPreviewer/index.js +10 -7
  121. package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +17 -15
  122. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +24 -20
  123. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
  124. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +4 -3
  125. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +13 -9
  126. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
  127. package/lib/selectGategory/component.js +4 -3
  128. package/lib/selectResourceModal/component.js +10 -10
  129. package/lib/selectResourceModal/components/List/ListAi/index.js +7 -6
  130. package/lib/selectResourceModal/components/List/ListCardWrapper.js +8 -6
  131. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  132. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
  133. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
  134. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +4 -3
  135. package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -1
  136. package/lib/selectThumb/component.js +28 -23
  137. package/lib/uploadBefore/components/UploadBefore.js +2 -2
  138. package/lib/userAvater/component.js +2 -2
  139. package/lib/userDirector/component.js +2 -2
  140. package/package.json +1 -1
@@ -20,14 +20,16 @@ const _hoisted_6 = { class: "abttrite-v" };
20
20
  const _hoisted_7 = { class: "left" };
21
21
  const _hoisted_8 = { class: "tags" };
22
22
  const _hoisted_9 = { key: 0 };
23
- const _hoisted_10 = { key: 1 };
24
- const _hoisted_11 = { class: "abttr" };
25
- const _hoisted_12 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
26
- const _hoisted_13 = {
23
+ const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1);
24
+ const _hoisted_11 = { key: 1 };
25
+ const _hoisted_12 = { class: "abttr" };
26
+ const _hoisted_13 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
27
+ const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1);
28
+ const _hoisted_15 = {
27
29
  key: 1,
28
30
  style: { "font-size": "10px" }
29
31
  };
30
- const _hoisted_14 = { class: "right" };
32
+ const _hoisted_16 = { class: "right" };
31
33
  const _sfc_main = vue.defineComponent({
32
34
  __name: "index",
33
35
  props: {
@@ -145,14 +147,14 @@ const _sfc_main = vue.defineComponent({
145
147
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i }, [
146
148
  vue.createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
147
149
  column.key === "approval_status" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9, [
148
- _cache[2] || (_cache[2] = vue.createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1)),
150
+ _hoisted_10,
149
151
  vue.unref(doc.approvalItem)(_ctx.item) ? (vue.openBlock(), vue.createBlock(index$2, {
150
152
  key: 0,
151
153
  item: vue.unref(doc.approvalItem)(_ctx.item)
152
- }, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, "--"))
154
+ }, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_11, "--"))
153
155
  ])) : column.key === "state" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
154
156
  vue.createCommentVNode(" \u72B6\u6001 "),
155
- vue.createElementVNode("span", _hoisted_11, [
157
+ vue.createElementVNode("span", _hoisted_12, [
156
158
  vue.createVNode(vue.unref(webVue.Tooltip), {
157
159
  content: `\u72B6\u6001: ${vue.unref(doc.docStateMap)[_ctx.item.state]}`,
158
160
  position: "top"
@@ -172,12 +174,12 @@ const _sfc_main = vue.defineComponent({
172
174
  }, {
173
175
  content: vue.withCtx(() => [
174
176
  _ctx.item.other_categories ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
175
- vue.createElementVNode("div", _hoisted_12, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1),
177
+ vue.createElementVNode("div", _hoisted_13, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1),
176
178
  vue.createElementVNode("span", null, [
177
- _cache[3] || (_cache[3] = vue.createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1)),
179
+ _hoisted_14,
178
180
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.other_categories.join("\u3001")), 1)
179
181
  ])
180
- ], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1))
182
+ ], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1))
181
183
  ]),
182
184
  default: vue.withCtx(() => [
183
185
  vue.createVNode(vue.unref(webVue.Button), {
@@ -229,7 +231,7 @@ const _sfc_main = vue.defineComponent({
229
231
  ], 64);
230
232
  }), 128))
231
233
  ]),
232
- vue.createElementVNode("div", _hoisted_14, [
234
+ vue.createElementVNode("div", _hoisted_16, [
233
235
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
234
236
  ])
235
237
  ])
@@ -13,8 +13,9 @@ const _hoisted_4 = { class: "info-view" };
13
13
  const _hoisted_5 = { class: "title_i" };
14
14
  const _hoisted_6 = { class: "abttrite-v" };
15
15
  const _hoisted_7 = { class: "left" };
16
- const _hoisted_8 = { class: "abttr time" };
17
- const _hoisted_9 = { class: "right" };
16
+ const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, null, -1);
17
+ const _hoisted_9 = { class: "abttr time" };
18
+ const _hoisted_10 = { class: "right" };
18
19
  const _sfc_main = vue.defineComponent({
19
20
  __name: "index",
20
21
  props: {
@@ -84,10 +85,10 @@ const _sfc_main = vue.defineComponent({
84
85
  type: _ctx.item.series
85
86
  }, null, 8, ["type"]),
86
87
  vue.renderSlot(_ctx.$slots, "tip"),
87
- _cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, null, -1)),
88
- vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
88
+ _hoisted_8,
89
+ vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
89
90
  ]),
90
- vue.createElementVNode("div", _hoisted_9, [
91
+ vue.createElementVNode("div", _hoisted_10, [
91
92
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
92
93
  ])
93
94
  ])
@@ -13,9 +13,10 @@ const _hoisted_4 = { class: "info-view" };
13
13
  const _hoisted_5 = { class: "title_i" };
14
14
  const _hoisted_6 = { class: "abttrite-v" };
15
15
  const _hoisted_7 = { class: "left" };
16
- const _hoisted_8 = { class: "abttr tags" };
17
- const _hoisted_9 = { class: "abttr time" };
18
- const _hoisted_10 = { class: "right" };
16
+ const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
17
+ const _hoisted_9 = { class: "abttr tags" };
18
+ const _hoisted_10 = { class: "abttr time" };
19
+ const _hoisted_11 = { class: "right" };
19
20
  const _sfc_main = vue.defineComponent({
20
21
  __name: "index",
21
22
  props: {
@@ -85,19 +86,19 @@ const _sfc_main = vue.defineComponent({
85
86
  type: "course"
86
87
  }),
87
88
  vue.renderSlot(_ctx.$slots, "tip"),
88
- _cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1)),
89
+ _hoisted_8,
89
90
  vue.createVNode(vue.unref(webVue.Tooltip), {
90
91
  content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
91
92
  position: "top"
92
93
  }, {
93
94
  default: vue.withCtx(() => [
94
- vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
95
+ vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
95
96
  ]),
96
97
  _: 1
97
98
  }, 8, ["content"]),
98
- vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
99
+ vue.createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
99
100
  ]),
100
- vue.createElementVNode("div", _hoisted_10, [
101
+ vue.createElementVNode("div", _hoisted_11, [
101
102
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
102
103
  ])
103
104
  ])
@@ -13,9 +13,10 @@ const _hoisted_4 = { class: "info-view" };
13
13
  const _hoisted_5 = { class: "title_i" };
14
14
  const _hoisted_6 = { class: "abttrite-v" };
15
15
  const _hoisted_7 = { class: "left" };
16
- const _hoisted_8 = { class: "abttr tags" };
17
- const _hoisted_9 = { class: "abttr time" };
18
- const _hoisted_10 = { class: "right" };
16
+ const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
17
+ const _hoisted_9 = { class: "abttr tags" };
18
+ const _hoisted_10 = { class: "abttr time" };
19
+ const _hoisted_11 = { class: "right" };
19
20
  const _sfc_main = vue.defineComponent({
20
21
  __name: "index",
21
22
  props: {
@@ -85,19 +86,19 @@ const _sfc_main = vue.defineComponent({
85
86
  type: "funhd"
86
87
  }),
87
88
  vue.renderSlot(_ctx.$slots, "tip"),
88
- _cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1)),
89
+ _hoisted_8,
89
90
  vue.createVNode(vue.unref(webVue.Tooltip), {
90
91
  content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
91
92
  position: "top"
92
93
  }, {
93
94
  default: vue.withCtx(() => [
94
- vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
95
+ vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
95
96
  ]),
96
97
  _: 1
97
98
  }, 8, ["content"]),
98
- vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
99
+ vue.createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
99
100
  ]),
100
- vue.createElementVNode("div", _hoisted_10, [
101
+ vue.createElementVNode("div", _hoisted_11, [
101
102
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
102
103
  ])
103
104
  ])
@@ -471,11 +471,11 @@ const _sfc_main = vue.defineComponent({
471
471
  onCellMouseEnter: cellMouseEnter,
472
472
  onCellMouseLeave: cellMouseLeave
473
473
  }, {
474
- batch: vue.withCtx(() => _cache[0] || (_cache[0] = [])),
474
+ batch: vue.withCtx(() => []),
475
475
  index: vue.withCtx(() => [
476
476
  vue.createElementVNode("span", _hoisted_37, vue.toDisplayString(_ctx.index + 1), 1)
477
477
  ]),
478
- tip: vue.withCtx(() => _cache[1] || (_cache[1] = [])),
478
+ tip: vue.withCtx(() => []),
479
479
  option: vue.withCtx(() => [
480
480
  vue.renderSlot(_ctx.$slots, "option", {
481
481
  row: _ctx.item,
@@ -29,15 +29,16 @@ const _hoisted_8 = {
29
29
  key: 3,
30
30
  class: "setting"
31
31
  };
32
- const _hoisted_9 = {
32
+ const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
33
+ const _hoisted_10 = {
33
34
  key: 4,
34
35
  class: "time-go"
35
36
  };
36
- const _hoisted_10 = {
37
+ const _hoisted_11 = {
37
38
  key: 5,
38
39
  class: "time-go"
39
40
  };
40
- const _hoisted_11 = { class: "btns" };
41
+ const _hoisted_12 = { class: "btns" };
41
42
  const _sfc_main = vue.defineComponent({
42
43
  __name: "index",
43
44
  props: {
@@ -221,7 +222,7 @@ const _sfc_main = vue.defineComponent({
221
222
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
222
223
  ], 64)),
223
224
  is_share.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
224
- _cache[4] || (_cache[4] = vue.createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
225
+ _hoisted_9,
225
226
  vue.createElementVNode("span", null, [
226
227
  vue.createVNode(vue.unref(webVue.Select), {
227
228
  modelValue: expiration.value,
@@ -242,17 +243,17 @@ const _sfc_main = vue.defineComponent({
242
243
  }, 8, ["modelValue"])
243
244
  ])
244
245
  ])),
245
- is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
246
- vue.createElementVNode("div", _hoisted_11, [
246
+ is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
247
+ vue.createElementVNode("div", _hoisted_12, [
247
248
  showGetLink.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
248
249
  key: 0,
249
250
  type: "primary",
250
251
  light: "",
251
252
  onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
252
253
  }, {
253
- default: vue.withCtx(() => _cache[5] || (_cache[5] = [
254
+ default: vue.withCtx(() => [
254
255
  vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
255
- ])),
256
+ ]),
256
257
  _: 1
257
258
  })) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
258
259
  vue.createVNode(vue.unref(webVue.Button), {
@@ -260,9 +261,9 @@ const _sfc_main = vue.defineComponent({
260
261
  light: "",
261
262
  onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
262
263
  }, {
263
- default: vue.withCtx(() => _cache[6] || (_cache[6] = [
264
+ default: vue.withCtx(() => [
264
265
  vue.createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
265
- ])),
266
+ ]),
266
267
  _: 1
267
268
  }),
268
269
  vue.createVNode(vue.unref(webVue.Button), {
@@ -11,6 +11,7 @@ var index$7 = require("./components/EqxiuList/index.js");
11
11
  var index$6 = require("./components/MpContentList/index.js");
12
12
  var index$1 = require("./components/storeBox/index.js");
13
13
  require("../typeIcons/style/index.js");
14
+ var api = require("./script/api.js");
14
15
  var config = require("../config.js");
15
16
  var user = require("../hooks/user.js");
16
17
  const _sfc_main = vue.defineComponent({
@@ -85,12 +86,33 @@ const _sfc_main = vue.defineComponent({
85
86
  const tabsChange = () => {
86
87
  selectedData.value = [];
87
88
  };
89
+ const configData = vue.ref({});
90
+ const loadConfig = async () => {
91
+ var _a2;
92
+ const res = await api.getConfigurationNew(BASE_API, {
93
+ module: "third_party_services"
94
+ });
95
+ if (res.code === 0 && ((_a2 = res.message) == null ? void 0 : _a2.length)) {
96
+ res.message.forEach((item) => {
97
+ configData.value[item.key] = JSON.parse(item.value);
98
+ });
99
+ }
100
+ };
101
+ const checkServiceEnable = (key) => {
102
+ const data = configData.value[key];
103
+ if (!data)
104
+ return false;
105
+ if (!data.enable && typeof data.enable !== "undefined")
106
+ return false;
107
+ return true;
108
+ };
88
109
  vue.onMounted(() => {
89
110
  if (props.userStore) {
90
111
  userInfo.value = { BASE_API, ...props.userStore };
91
112
  } else {
92
113
  getUserInfoHandle();
93
114
  }
115
+ loadConfig();
94
116
  });
95
117
  return (_ctx, _cache) => {
96
118
  return vue.openBlock(), vue.createBlock(vue.unref(webVue.Modal), {
@@ -114,6 +136,7 @@ const _sfc_main = vue.defineComponent({
114
136
  vue.createVNode(vue.unref(webVue.Tabs), {
115
137
  class: "content-tabs",
116
138
  justify: "",
139
+ "lazy-load": "",
117
140
  onTabClick: tabsChange
118
141
  }, {
119
142
  default: vue.withCtx(() => [
@@ -145,9 +168,9 @@ const _sfc_main = vue.defineComponent({
145
168
  type: "primary",
146
169
  onClick: comfirm
147
170
  }, {
148
- default: vue.withCtx(() => _cache[7] || (_cache[7] = [
171
+ default: vue.withCtx(() => [
149
172
  vue.createTextVNode("\u6DFB\u52A0 ")
150
- ])),
173
+ ]),
151
174
  _: 1
152
175
  }, 8, ["disabled"])
153
176
  ]),
@@ -184,9 +207,9 @@ const _sfc_main = vue.defineComponent({
184
207
  type: "primary",
185
208
  onClick: comfirm
186
209
  }, {
187
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
210
+ default: vue.withCtx(() => [
188
211
  vue.createTextVNode(" \u6DFB\u52A0 ")
189
- ])),
212
+ ]),
190
213
  _: 1
191
214
  }, 8, ["disabled"])
192
215
  ]),
@@ -224,9 +247,9 @@ const _sfc_main = vue.defineComponent({
224
247
  type: "primary",
225
248
  onClick: comfirm
226
249
  }, {
227
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
250
+ default: vue.withCtx(() => [
228
251
  vue.createTextVNode(" \u6DFB\u52A0 ")
229
- ])),
252
+ ]),
230
253
  _: 1
231
254
  }, 8, ["disabled"])
232
255
  ]),
@@ -236,7 +259,7 @@ const _sfc_main = vue.defineComponent({
236
259
  _: 1
237
260
  })) : vue.createCommentVNode("v-if", true),
238
261
  vue.createCommentVNode(" \u4E92\u52A8\u76F4\u64AD "),
239
- typeDataController.value.addILive ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
262
+ typeDataController.value.addILive && checkServiceEnable("guangdianyun") ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
240
263
  key: "6",
241
264
  title: "\u4E92\u52A8\u76F4\u64AD"
242
265
  }, {
@@ -263,9 +286,9 @@ const _sfc_main = vue.defineComponent({
263
286
  type: "primary",
264
287
  onClick: comfirm
265
288
  }, {
266
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
289
+ default: vue.withCtx(() => [
267
290
  vue.createTextVNode(" \u6DFB\u52A0 ")
268
- ])),
291
+ ]),
269
292
  _: 1
270
293
  }, 8, ["disabled"])
271
294
  ]),
@@ -302,9 +325,9 @@ const _sfc_main = vue.defineComponent({
302
325
  type: "primary",
303
326
  onClick: comfirm
304
327
  }, {
305
- default: vue.withCtx(() => _cache[11] || (_cache[11] = [
328
+ default: vue.withCtx(() => [
306
329
  vue.createTextVNode(" \u6DFB\u52A0 ")
307
- ])),
330
+ ]),
308
331
  _: 1
309
332
  }, 8, ["disabled"])
310
333
  ]),
@@ -341,9 +364,9 @@ const _sfc_main = vue.defineComponent({
341
364
  type: "primary",
342
365
  onClick: comfirm
343
366
  }, {
344
- default: vue.withCtx(() => _cache[12] || (_cache[12] = [
367
+ default: vue.withCtx(() => [
345
368
  vue.createTextVNode(" \u6DFB\u52A0 ")
346
- ])),
369
+ ]),
347
370
  _: 1
348
371
  }, 8, ["disabled"])
349
372
  ]),
@@ -353,7 +376,7 @@ const _sfc_main = vue.defineComponent({
353
376
  _: 1
354
377
  }, 8, ["title"])) : vue.createCommentVNode("v-if", true),
355
378
  vue.createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
356
- typeDataController.value.addFunhd ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
379
+ typeDataController.value.addFunhd && checkServiceEnable("interactive") ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
357
380
  key: "9",
358
381
  title: "\u4E92\u52A8\u8FD0\u8425"
359
382
  }, {
@@ -380,9 +403,9 @@ const _sfc_main = vue.defineComponent({
380
403
  type: "primary",
381
404
  onClick: comfirm
382
405
  }, {
383
- default: vue.withCtx(() => _cache[13] || (_cache[13] = [
406
+ default: vue.withCtx(() => [
384
407
  vue.createTextVNode(" \u6DFB\u52A0 ")
385
- ])),
408
+ ]),
386
409
  _: 1
387
410
  }, 8, ["disabled"])
388
411
  ]),
@@ -76,37 +76,44 @@ const _sfc_main = vue.defineComponent({
76
76
  loadData();
77
77
  };
78
78
  const loadData = async () => {
79
- const gid = group_id.value;
80
- if (!gid)
81
- return;
82
- let params = {
83
- page_size: page.value.size,
84
- page_no: page.value.index
85
- };
86
- if (filter.value) {
87
- params = { ...params, ...filter.value };
88
- }
89
- if (gid !== "all") {
90
- params.gid = gid;
91
- }
92
- dataLoading.value = true;
93
- const res = await api.getEqxiuList(props.userInfo.BASE_API, params);
94
- dataLoading.value = false;
95
- if ((res == null ? void 0 : res.code) === 0) {
96
- const { count, data } = res.message;
97
- mediaFileData.value = data.map((v) => {
98
- v.catalog = "funhd";
99
- v.id = v.ID || v.id;
100
- v.target_id = v.ID || v.id;
101
- v.target_type = 17;
102
- v.pub_time = v.updateTime;
103
- v.update_time = v.updateTime;
104
- v.content = JSON.stringify(v);
105
- v.content_title = v.title;
106
- v.series = "eqxiu";
107
- return v;
108
- }) || [];
109
- page.value.total = count || 0;
79
+ try {
80
+ const gid = group_id.value;
81
+ if (!gid)
82
+ return;
83
+ let params = {
84
+ page_size: page.value.size,
85
+ page_no: page.value.index
86
+ };
87
+ if (filter.value) {
88
+ params = { ...params, ...filter.value };
89
+ }
90
+ if (gid !== "all") {
91
+ params.gid = gid;
92
+ }
93
+ dataLoading.value = true;
94
+ const res = await api.getEqxiuList(props.userInfo.BASE_API, params);
95
+ if ((res == null ? void 0 : res.code) === 0) {
96
+ const { count, data } = res.message;
97
+ mediaFileData.value = data.map((v) => {
98
+ v.catalog = "funhd";
99
+ v.id = v.ID || v.id;
100
+ v.target_id = v.ID || v.id;
101
+ v.target_type = 17;
102
+ v.pub_time = v.updateTime;
103
+ v.update_time = v.updateTime;
104
+ v.content = JSON.stringify(v);
105
+ v.content_title = v.title;
106
+ v.series = "eqxiu";
107
+ return v;
108
+ }) || [];
109
+ page.value.total = count || 0;
110
+ } else {
111
+ webVue.Message.error(res.data);
112
+ }
113
+ } catch (err) {
114
+ console.log(err);
115
+ } finally {
116
+ dataLoading.value = false;
110
117
  }
111
118
  };
112
119
  const clickCheckbox = (e, record) => {
@@ -5,6 +5,7 @@ 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);
8
9
  const _sfc_main = vue.defineComponent({
9
10
  ...{ name: "MediaFilter" },
10
11
  __name: "index",
@@ -111,9 +112,9 @@ const _sfc_main = vue.defineComponent({
111
112
  ]),
112
113
  vue.createElementVNode("span", null, vue.toDisplayString(data == null ? void 0 : data.label), 1)
113
114
  ]),
114
- "arrow-icon": vue.withCtx(() => _cache[3] || (_cache[3] = [
115
- vue.createElementVNode("span", null, null, -1)
116
- ])),
115
+ "arrow-icon": vue.withCtx(() => [
116
+ _hoisted_3
117
+ ]),
117
118
  default: vue.withCtx(() => [
118
119
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(sortOptions.value, (item) => {
119
120
  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
- _cache[7] || (_cache[7] = vue.createTextVNode(" \u91CD\u7F6E "))
288
+ 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(() => _cache[1] || (_cache[1] = [
84
+ default: vue.withCtx(() => [
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(() => _cache[0] || (_cache[0] = [
100
+ default: vue.withCtx(() => [
101
101
  vue.createTextVNode("\u5DF2\u9009\u6570\u636E")
102
- ])),
102
+ ]),
103
103
  _: 1
104
104
  })) : vue.createCommentVNode("v-if", true)
105
105
  ]),
@@ -72,12 +72,20 @@ function getMpContentList(BASE_API, params) {
72
72
  params
73
73
  });
74
74
  }
75
+ function getConfigurationNew(BASE_API, params) {
76
+ return request(BASE_API, {
77
+ url: `/poplar/v2/settings`,
78
+ method: "get",
79
+ params
80
+ });
81
+ }
75
82
  exports.checkCommitFulfillment = checkCommitFulfillment;
76
83
  exports.getBroadcastList = getBroadcastList;
77
84
  exports.getCategoryCategoriesTree = getCategoryCategoriesTree;
78
85
  exports.getCategoryMediaNew = getCategoryMediaNew;
79
86
  exports.getCategoryPath = getCategoryPath;
80
87
  exports.getCategorylistsGroups = getCategorylistsGroups;
88
+ exports.getConfigurationNew = getConfigurationNew;
81
89
  exports.getEqxiuList = getEqxiuList;
82
90
  exports.getMpContentList = getMpContentList;
83
91
  exports.searchMlists = searchMlists;
@@ -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(() => _cache[1] || (_cache[1] = [
134
+ default: vue.withCtx(() => [
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(() => _cache[2] || (_cache[2] = [
152
+ default: vue.withCtx(() => [
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(() => _cache[3] || (_cache[3] = [
170
+ default: vue.withCtx(() => [
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(() => _cache[4] || (_cache[4] = [
188
+ default: vue.withCtx(() => [
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(() => _cache[5] || (_cache[5] = [
224
+ default: vue.withCtx(() => [
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(() => _cache[1] || (_cache[1] = [
73
+ default: vue.withCtx(() => [
74
74
  vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
75
- ])),
75
+ ]),
76
76
  _: 1
77
77
  }, 8, ["disabled"])
78
78
  ]),