@cmstops/pro-compo 0.1.62 → 0.1.63

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,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, toDisplayString, renderSlot, createVNode, createCommentVNode, createTextVNode } from "vue";
1
+ import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, toDisplayString, renderSlot, createVNode, Fragment, createCommentVNode, createTextVNode } from "vue";
2
2
  import { Image } 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";
@@ -14,17 +14,15 @@ const _hoisted_4 = { class: "info-view" };
14
14
  const _hoisted_5 = { class: "title_i" };
15
15
  const _hoisted_6 = { class: "abttrite-v" };
16
16
  const _hoisted_7 = { class: "left" };
17
- const _hoisted_8 = {
18
- key: 0,
19
- class: "abttr tags account"
20
- };
17
+ const _hoisted_8 = { class: "abttr tags account" };
21
18
  const _hoisted_9 = { class: "name" };
22
- const _hoisted_10 = { class: "abttr tags state" };
23
- const _hoisted_11 = { class: "abttr tags user" };
24
- const _hoisted_12 = { class: "abttr time" };
25
- const _hoisted_13 = { class: "abttr tags state" };
26
- const _hoisted_14 = { class: "abttr time" };
27
- const _hoisted_15 = { class: "right" };
19
+ const _hoisted_10 = { key: 1 };
20
+ const _hoisted_11 = { class: "abttr tags state" };
21
+ const _hoisted_12 = { class: "abttr tags user" };
22
+ const _hoisted_13 = { class: "abttr time" };
23
+ const _hoisted_14 = { class: "abttr tags state" };
24
+ const _hoisted_15 = { class: "abttr time" };
25
+ const _hoisted_16 = { class: "right" };
28
26
  const _sfc_main = defineComponent({
29
27
  __name: "index",
30
28
  props: {
@@ -97,29 +95,31 @@ const _sfc_main = defineComponent({
97
95
  type: docTypeMap[_ctx.item.contentType]
98
96
  }, null, 8, ["type"]),
99
97
  renderSlot(_ctx.$slots, "tip"),
100
- account.value ? (openBlock(), createElementBlock("span", _hoisted_8, [
101
- platformInfo.value ? (openBlock(), createBlock(unref(Image), {
102
- key: 0,
103
- class: "avatar",
104
- src: account.value.avatar,
105
- preview: false,
106
- fit: "cover"
107
- }, null, 8, ["src"])) : createCommentVNode("v-if", true),
108
- createElementVNode("span", _hoisted_9, toDisplayString(account.value.name), 1)
109
- ])) : createCommentVNode("v-if", true),
110
- createElementVNode("span", _hoisted_10, toDisplayString(unref(matrixPublishStateMap)[_ctx.item.publishState]), 1),
111
- createElementVNode("span", _hoisted_11, toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
112
- createElementVNode("span", _hoisted_12, [
98
+ createElementVNode("span", _hoisted_8, [
99
+ account.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
100
+ platformInfo.value ? (openBlock(), createBlock(unref(Image), {
101
+ key: 0,
102
+ class: "avatar",
103
+ src: account.value.avatar,
104
+ preview: false,
105
+ fit: "cover"
106
+ }, null, 8, ["src"])) : createCommentVNode("v-if", true),
107
+ createElementVNode("span", _hoisted_9, toDisplayString(account.value.name), 1)
108
+ ], 64)) : (openBlock(), createElementBlock("span", _hoisted_10, "--"))
109
+ ]),
110
+ createElementVNode("span", _hoisted_11, toDisplayString(unref(matrixPublishStateMap)[_ctx.item.publishState]), 1),
111
+ createElementVNode("span", _hoisted_12, toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
112
+ createElementVNode("span", _hoisted_13, [
113
113
  createVNode(unref(IconSubscribed)),
114
114
  createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.publishTime)), 1)
115
115
  ]),
116
- createElementVNode("span", _hoisted_13, toDisplayString(unref(matrixPublishFormalStateMap)[_ctx.item.platformState]), 1),
117
- createElementVNode("span", _hoisted_14, [
116
+ createElementVNode("span", _hoisted_14, toDisplayString(unref(matrixPublishFormalStateMap)[_ctx.item.platformState]), 1),
117
+ createElementVNode("span", _hoisted_15, [
118
118
  createVNode(unref(IconSend)),
119
119
  createTextVNode(" \u5206\u53D1\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.distributeTime)), 1)
120
120
  ])
121
121
  ]),
122
- createElementVNode("div", _hoisted_15, [
122
+ createElementVNode("div", _hoisted_16, [
123
123
  renderSlot(_ctx.$slots, "option", { row: _ctx.item })
124
124
  ])
125
125
  ])
@@ -15,17 +15,15 @@ const _hoisted_4 = { class: "info-view" };
15
15
  const _hoisted_5 = { class: "title_i" };
16
16
  const _hoisted_6 = { class: "abttrite-v" };
17
17
  const _hoisted_7 = { class: "left" };
18
- const _hoisted_8 = {
19
- key: 0,
20
- class: "abttr tags account"
21
- };
18
+ const _hoisted_8 = { class: "abttr tags account" };
22
19
  const _hoisted_9 = { class: "name" };
23
- const _hoisted_10 = { class: "abttr tags state" };
24
- const _hoisted_11 = { class: "abttr tags user" };
25
- const _hoisted_12 = { class: "abttr time" };
26
- const _hoisted_13 = { class: "abttr tags state" };
27
- const _hoisted_14 = { class: "abttr time" };
28
- const _hoisted_15 = { class: "right" };
20
+ const _hoisted_10 = { key: 1 };
21
+ const _hoisted_11 = { class: "abttr tags state" };
22
+ const _hoisted_12 = { class: "abttr tags user" };
23
+ const _hoisted_13 = { class: "abttr time" };
24
+ const _hoisted_14 = { class: "abttr tags state" };
25
+ const _hoisted_15 = { class: "abttr time" };
26
+ const _hoisted_16 = { class: "right" };
29
27
  const _sfc_main = vue.defineComponent({
30
28
  __name: "index",
31
29
  props: {
@@ -98,29 +96,31 @@ const _sfc_main = vue.defineComponent({
98
96
  type: docTypeMap[_ctx.item.contentType]
99
97
  }, null, 8, ["type"]),
100
98
  vue.renderSlot(_ctx.$slots, "tip"),
101
- account.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, [
102
- platformInfo.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
103
- key: 0,
104
- class: "avatar",
105
- src: account.value.avatar,
106
- preview: false,
107
- fit: "cover"
108
- }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true),
109
- vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(account.value.name), 1)
110
- ])) : vue.createCommentVNode("v-if", true),
111
- vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 1),
112
- vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
113
- vue.createElementVNode("span", _hoisted_12, [
99
+ vue.createElementVNode("span", _hoisted_8, [
100
+ account.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
101
+ platformInfo.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
102
+ key: 0,
103
+ class: "avatar",
104
+ src: account.value.avatar,
105
+ preview: false,
106
+ fit: "cover"
107
+ }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true),
108
+ vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(account.value.name), 1)
109
+ ], 64)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, "--"))
110
+ ]),
111
+ vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 1),
112
+ vue.createElementVNode("span", _hoisted_12, vue.toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
113
+ vue.createElementVNode("span", _hoisted_13, [
114
114
  vue.createVNode(vue.unref(icon.IconSubscribed)),
115
115
  vue.createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.publishTime)), 1)
116
116
  ]),
117
- vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(vue.unref(typeMap.matrixPublishFormalStateMap)[_ctx.item.platformState]), 1),
118
- vue.createElementVNode("span", _hoisted_14, [
117
+ vue.createElementVNode("span", _hoisted_14, vue.toDisplayString(vue.unref(typeMap.matrixPublishFormalStateMap)[_ctx.item.platformState]), 1),
118
+ vue.createElementVNode("span", _hoisted_15, [
119
119
  vue.createVNode(vue.unref(icon.IconSend)),
120
120
  vue.createTextVNode(" \u5206\u53D1\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.distributeTime)), 1)
121
121
  ])
122
122
  ]),
123
- vue.createElementVNode("div", _hoisted_15, [
123
+ vue.createElementVNode("div", _hoisted_16, [
124
124
  vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
125
125
  ])
126
126
  ])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",