@cmstops/pro-compo 0.1.85 → 0.1.87
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, toDisplayString, renderSlot, createVNode, Fragment, normalizeClass, createTextVNode } from "vue";
|
|
2
|
-
import { Image } from "@arco-design/web-vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, toDisplayString, renderSlot, createVNode, Fragment, normalizeClass, withCtx, createTextVNode } from "vue";
|
|
2
|
+
import { Image, Tooltip } from "@arco-design/web-vue";
|
|
3
3
|
import { IconSubscribed, IconSend } from "@arco-design/web-vue/es/icon";
|
|
4
4
|
import _sfc_main$1 from "../../../../typeIcons/component.js";
|
|
5
5
|
import { noCoverText, timeFormat } from "../../../../utils/index.js";
|
|
@@ -131,9 +131,20 @@ const _sfc_main = defineComponent({
|
|
|
131
131
|
createElementVNode("span", _hoisted_11, toDisplayString(_ctx.item.account.name || `\u7528\u6237${new Date().getTime()}`), 1)
|
|
132
132
|
], 64)) : (openBlock(), createElementBlock("span", _hoisted_12, "--"))
|
|
133
133
|
]),
|
|
134
|
-
|
|
134
|
+
[3, 4].includes(_ctx.item.publishState) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
135
|
+
key: 0,
|
|
136
|
+
class: normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]]),
|
|
137
|
+
content: `\u5931\u8D25\u539F\u56E0: ${_ctx.item.errorMsg}`,
|
|
138
|
+
position: "top"
|
|
139
|
+
}, {
|
|
140
|
+
default: withCtx(() => [
|
|
141
|
+
createElementVNode("span", null, toDisplayString(unref(matrixPublishStateMap)[_ctx.item.publishState]), 1)
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 8, ["class", "content"])) : (openBlock(), createElementBlock("span", {
|
|
145
|
+
key: 1,
|
|
135
146
|
class: normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]])
|
|
136
|
-
}, toDisplayString(unref(matrixPublishStateMap)[_ctx.item.publishState]), 3),
|
|
147
|
+
}, toDisplayString(unref(matrixPublishStateMap)[_ctx.item.publishState]), 3)),
|
|
137
148
|
createElementVNode("span", _hoisted_13, toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
|
|
138
149
|
createElementVNode("span", _hoisted_14, [
|
|
139
150
|
createVNode(unref(IconSubscribed)),
|
|
@@ -132,9 +132,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
132
132
|
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(_ctx.item.account.name || `\u7528\u6237${new Date().getTime()}`), 1)
|
|
133
133
|
], 64)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, "--"))
|
|
134
134
|
]),
|
|
135
|
-
vue.
|
|
135
|
+
[3, 4].includes(_ctx.item.publishState) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Tooltip), {
|
|
136
|
+
key: 0,
|
|
137
|
+
class: vue.normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]]),
|
|
138
|
+
content: `\u5931\u8D25\u539F\u56E0: ${_ctx.item.errorMsg}`,
|
|
139
|
+
position: "top"
|
|
140
|
+
}, {
|
|
141
|
+
default: vue.withCtx(() => [
|
|
142
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 1)
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["class", "content"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
146
|
+
key: 1,
|
|
136
147
|
class: vue.normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]])
|
|
137
|
-
}, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 3),
|
|
148
|
+
}, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 3)),
|
|
138
149
|
vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
|
|
139
150
|
vue.createElementVNode("span", _hoisted_14, [
|
|
140
151
|
vue.createVNode(vue.unref(icon.IconSubscribed)),
|