@cmstops/pro-compo 0.1.61 → 0.1.62

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 (67) hide show
  1. package/dist/index.css +107 -0
  2. package/dist/index.min.css +1 -1
  3. package/dist/matrix/baijiahao.png +0 -0
  4. package/dist/matrix/bilibili.png +0 -0
  5. package/dist/matrix/channelsweixin.png +0 -0
  6. package/dist/matrix/douyin.png +0 -0
  7. package/dist/matrix/kuaishou.png +0 -0
  8. package/dist/matrix/qq.png +0 -0
  9. package/dist/matrix/toutiao.png +0 -0
  10. package/dist/matrix/weibo.png +0 -0
  11. package/dist/matrix/weixin.png +0 -0
  12. package/es/contentDetailList/__demo__/matrix/platform.d.ts +27 -0
  13. package/es/contentDetailList/component.js +79 -8
  14. package/es/contentDetailList/components/Content/CompoItem/index.js +32 -19
  15. package/es/contentDetailList/components/Content/ContentListItem/index.js +38 -25
  16. package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
  17. package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -4
  18. package/es/contentDetailList/components/Content/KongoNavItem/index.js +35 -22
  19. package/es/contentDetailList/components/Content/LiveItem/index.js +32 -19
  20. package/es/contentDetailList/components/Content/MaccountItem/index.js +31 -19
  21. package/es/contentDetailList/components/Content/courseItem/index.js +34 -21
  22. package/es/contentDetailList/components/Content/funhdItem/index.js +34 -21
  23. package/es/contentDetailList/components/Content/index.js +114 -22
  24. package/es/contentDetailList/components/Doc/index.js +3 -1
  25. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  26. package/es/contentDetailList/components/Records/MatrixItem/index.js +131 -0
  27. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  28. package/es/contentDetailList/components/Records/index.js +63 -0
  29. package/es/contentDetailList/style/MatrixItem.less +127 -0
  30. package/es/contentDetailList/style/index.css +107 -0
  31. package/es/contentDetailList/style/index.less +1 -0
  32. package/es/index.css +107 -0
  33. package/es/matrix/baijiahao.png +0 -0
  34. package/es/matrix/bilibili.png +0 -0
  35. package/es/matrix/channelsweixin.png +0 -0
  36. package/es/matrix/douyin.png +0 -0
  37. package/es/matrix/kuaishou.png +0 -0
  38. package/es/matrix/qq.png +0 -0
  39. package/es/matrix/toutiao.png +0 -0
  40. package/es/matrix/weibo.png +0 -0
  41. package/es/matrix/weixin.png +0 -0
  42. package/es/selectThumb/component.js +0 -7
  43. package/es/utils/typeMap.d.ts +23 -0
  44. package/es/utils/typeMap.js +26 -2
  45. package/lib/contentDetailList/component.js +96 -25
  46. package/lib/contentDetailList/components/Content/CompoItem/index.js +32 -19
  47. package/lib/contentDetailList/components/Content/ContentListItem/index.js +38 -25
  48. package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
  49. package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -4
  50. package/lib/contentDetailList/components/Content/KongoNavItem/index.js +35 -22
  51. package/lib/contentDetailList/components/Content/LiveItem/index.js +32 -19
  52. package/lib/contentDetailList/components/Content/MaccountItem/index.js +31 -19
  53. package/lib/contentDetailList/components/Content/courseItem/index.js +34 -21
  54. package/lib/contentDetailList/components/Content/funhdItem/index.js +34 -21
  55. package/lib/contentDetailList/components/Content/index.js +113 -21
  56. package/lib/contentDetailList/components/Doc/index.js +3 -1
  57. package/lib/contentDetailList/components/Records/MatrixItem/index.js +132 -0
  58. package/lib/contentDetailList/components/Records/index.js +64 -0
  59. package/lib/contentDetailList/style/MatrixItem.less +127 -0
  60. package/lib/contentDetailList/style/index.css +107 -0
  61. package/lib/contentDetailList/style/index.less +1 -0
  62. package/lib/index.css +107 -0
  63. package/lib/selectThumb/component.js +0 -7
  64. package/lib/utils/typeMap.js +27 -1
  65. package/package.json +1 -1
  66. package/es/contentDetailList/components/Content/MaccountItem/temp/user.js +0 -2
  67. package/lib/contentDetailList/components/Content/MaccountItem/temp/user.js +0 -3
@@ -0,0 +1,131 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, toDisplayString, renderSlot, createVNode, createCommentVNode, createTextVNode } from "vue";
2
+ import { Image } from "@arco-design/web-vue";
3
+ import { IconSubscribed, IconSend } from "@arco-design/web-vue/es/icon";
4
+ import _sfc_main$1 from "../../../../typeIcons/component.js";
5
+ import { noCoverText, timeFormat } from "../../../../utils/index.js";
6
+ import { matrixPublishStateMap, matrixPublishFormalStateMap } from "../../../../utils/typeMap.js";
7
+ const _hoisted_1 = { class: "cover-view" };
8
+ const _hoisted_2 = {
9
+ key: 1,
10
+ class: "no-img"
11
+ };
12
+ const _hoisted_3 = { class: "batch-select" };
13
+ const _hoisted_4 = { class: "info-view" };
14
+ const _hoisted_5 = { class: "title_i" };
15
+ const _hoisted_6 = { class: "abttrite-v" };
16
+ const _hoisted_7 = { class: "left" };
17
+ const _hoisted_8 = {
18
+ key: 0,
19
+ class: "abttr tags account"
20
+ };
21
+ 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" };
28
+ const _sfc_main = defineComponent({
29
+ __name: "index",
30
+ props: {
31
+ item: {},
32
+ extraAttrs: {}
33
+ },
34
+ emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
35
+ setup(__props, { emit: __emit }) {
36
+ const props = __props;
37
+ const emit = __emit;
38
+ const { matrix } = props.extraAttrs || {};
39
+ const { getPlatformInfoById, accounts } = matrix || {};
40
+ const covers = computed(() => {
41
+ return props.item.cover ? JSON.parse(props.item.cover) : [];
42
+ });
43
+ const account = computed(() => {
44
+ return accounts == null ? void 0 : accounts.find(
45
+ (item) => item.platformAccountId === props.item.accountId
46
+ );
47
+ });
48
+ const platformInfo = computed(() => {
49
+ return getPlatformInfoById(props.item.platformId);
50
+ });
51
+ const docTypeMap = {
52
+ Article: "imagetext",
53
+ Video: "video",
54
+ MiniVideo: "svideo"
55
+ };
56
+ const mouseEnterFun = (event, row) => {
57
+ emit("cellMouseEnter", { row, event });
58
+ };
59
+ const mouseLeaveFun = (event, row) => {
60
+ emit("cellMouseLeave", { row, event });
61
+ };
62
+ const clickTitle = () => {
63
+ emit("clickTitle", props.item);
64
+ };
65
+ return (_ctx, _cache) => {
66
+ var _a;
67
+ return openBlock(), createElementBlock("div", {
68
+ class: "matrix-records-item-view",
69
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, _ctx.item)),
70
+ onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
71
+ }, [
72
+ createElementVNode("div", _hoisted_1, [
73
+ covers.value ? (openBlock(), createBlock(unref(Image), {
74
+ key: 0,
75
+ src: covers.value[0],
76
+ preview: false,
77
+ fit: "cover",
78
+ class: "image"
79
+ }, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(noCoverText)(_ctx.item)), 1)),
80
+ createElementVNode("div", _hoisted_3, [
81
+ renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
82
+ ])
83
+ ]),
84
+ createElementVNode("div", _hoisted_4, [
85
+ createElementVNode("div", {
86
+ class: "title",
87
+ onClick: clickTitle
88
+ }, [
89
+ renderSlot(_ctx.$slots, "index"),
90
+ createElementVNode("span", _hoisted_5, toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
91
+ ]),
92
+ createElementVNode("div", _hoisted_6, [
93
+ createElementVNode("div", _hoisted_7, [
94
+ createVNode(_sfc_main$1, {
95
+ class: "icon",
96
+ doc: true,
97
+ type: docTypeMap[_ctx.item.contentType]
98
+ }, null, 8, ["type"]),
99
+ 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, [
113
+ createVNode(unref(IconSubscribed)),
114
+ createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.publishTime)), 1)
115
+ ]),
116
+ createElementVNode("span", _hoisted_13, toDisplayString(unref(matrixPublishFormalStateMap)[_ctx.item.platformState]), 1),
117
+ createElementVNode("span", _hoisted_14, [
118
+ createVNode(unref(IconSend)),
119
+ createTextVNode(" \u5206\u53D1\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.distributeTime)), 1)
120
+ ])
121
+ ]),
122
+ createElementVNode("div", _hoisted_15, [
123
+ renderSlot(_ctx.$slots, "option", { row: _ctx.item })
124
+ ])
125
+ ])
126
+ ])
127
+ ], 32);
128
+ };
129
+ }
130
+ });
131
+ export { _sfc_main as default };
@@ -0,0 +1,63 @@
1
+ import { defineComponent, openBlock, createElementBlock, Fragment, createCommentVNode, createBlock, withCtx, renderSlot, createElementVNode, toDisplayString } from "vue";
2
+ import _sfc_main$1 from "./MatrixItem/index.js";
3
+ const _hoisted_1 = { class: "index" };
4
+ const _sfc_main = defineComponent({
5
+ __name: "index",
6
+ props: {
7
+ item: {},
8
+ index: {},
9
+ abttrites: {},
10
+ extraAttrs: {},
11
+ parmas: {}
12
+ },
13
+ emits: [
14
+ "cellMouseEnter",
15
+ "cellMouseLeave",
16
+ "sortChange",
17
+ "clickTitle",
18
+ "dragstart"
19
+ ],
20
+ setup(__props, { emit: __emit }) {
21
+ const emit = __emit;
22
+ const cellMouseEnter = (params) => {
23
+ emit("cellMouseEnter", params);
24
+ };
25
+ const cellMouseLeave = (params) => {
26
+ emit("cellMouseLeave", params);
27
+ };
28
+ const clickTitle = (item) => {
29
+ emit("clickTitle", item);
30
+ };
31
+ return (_ctx, _cache) => {
32
+ return openBlock(), createElementBlock(Fragment, null, [
33
+ createCommentVNode(" \u81EA\u5A92\u4F53\u53D1\u5E03\u8BB0\u5F55 "),
34
+ _ctx.item.catalog === "matrix" ? (openBlock(), createBlock(_sfc_main$1, {
35
+ key: `matrix-${_ctx.item.id}`,
36
+ item: { ..._ctx.item, index: _ctx.index },
37
+ extraAttrs: _ctx.extraAttrs,
38
+ onClickTitle: clickTitle,
39
+ onCellMouseEnter: cellMouseEnter,
40
+ onCellMouseLeave: cellMouseLeave
41
+ }, {
42
+ batch: withCtx(() => [
43
+ renderSlot(_ctx.$slots, "batch", {
44
+ row: _ctx.item,
45
+ index: _ctx.index
46
+ })
47
+ ]),
48
+ index: withCtx(() => [
49
+ createElementVNode("span", _hoisted_1, toDisplayString(_ctx.index + 1), 1)
50
+ ]),
51
+ option: withCtx(() => [
52
+ renderSlot(_ctx.$slots, "option", {
53
+ row: _ctx.item,
54
+ index: _ctx.index
55
+ })
56
+ ]),
57
+ _: 3
58
+ }, 8, ["item", "extraAttrs"])) : createCommentVNode("v-if", true)
59
+ ], 2112);
60
+ };
61
+ }
62
+ });
63
+ export { _sfc_main as default };
@@ -0,0 +1,127 @@
1
+ .matrix-records-item-view {
2
+ display: flex;
3
+ // width: 100%;
4
+ padding: 10px;
5
+ border-bottom: 1px solid #f0f0f0;
6
+
7
+ &:hover {
8
+ background: #fafafa;
9
+ }
10
+
11
+ .cover-view {
12
+ position: relative;
13
+ flex-shrink: 0;
14
+ width: 110px;
15
+ height: 70px;
16
+ margin-right: 20px;
17
+ background: #edf3ff;
18
+
19
+ .image {
20
+ width: 100%;
21
+ height: 100%;
22
+ border-radius: 4px;
23
+
24
+ img {
25
+ width: 100%;
26
+ height: 100%;
27
+ }
28
+ }
29
+
30
+ .no-img {
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ width: 100%;
35
+ height: 100%;
36
+ color: white;
37
+ font-size: 30px;
38
+ }
39
+ }
40
+
41
+ .info-view {
42
+ display: flex;
43
+ flex: 1;
44
+ flex-direction: column;
45
+ justify-content: space-between;
46
+ padding: 2px 0;
47
+
48
+ .title {
49
+ display: flex;
50
+ align-items: center;
51
+ margin-bottom: 10px;
52
+ overflow: hidden;
53
+ color: #1d2129;
54
+ font-weight: 400;
55
+ font-size: 14px;
56
+ font-style: normal;
57
+ line-height: 22px;
58
+ cursor: pointer;
59
+ -webkit-line-clamp: 2;
60
+ -webkit-box-orient: vertical;
61
+ }
62
+
63
+ .abttrite-v {
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: space-between;
67
+
68
+ .left {
69
+ display: flex;
70
+ align-items: center;
71
+ color: #808692;
72
+ font-size: 12px;
73
+
74
+ .abttr {
75
+ display: inline-block;
76
+ width: 130px;
77
+ margin-right: 10px;
78
+ overflow: hidden;
79
+ white-space: nowrap;
80
+ text-overflow: ellipsis;
81
+
82
+ &.time {
83
+ width: 240px;
84
+ }
85
+
86
+ &.tags {
87
+ display: flex;
88
+ align-items: center;
89
+ width: 190px;
90
+ }
91
+ }
92
+
93
+ .account {
94
+ margin-left: 10px;
95
+
96
+ .avatar {
97
+ width: 25px;
98
+ height: 25px;
99
+ margin-right: 10px;
100
+ border-radius: 50%;
101
+
102
+ img {
103
+ width: 100%;
104
+ height: 100%;
105
+ }
106
+ }
107
+ }
108
+
109
+ .state {
110
+ &::before {
111
+ display: inline-block;
112
+ width: 6px;
113
+ height: 6px;
114
+ margin-right: 5px;
115
+ background-color: currentColor;
116
+ border-radius: 50%;
117
+ content: '';
118
+ }
119
+ }
120
+ }
121
+
122
+ .right {
123
+ margin-right: 20px;
124
+ }
125
+ }
126
+ }
127
+ }
@@ -934,6 +934,113 @@
934
934
  .medialist-funhd-item-view .info-view .abttrite-v .right {
935
935
  margin-right: 20px;
936
936
  }
937
+ .matrix-records-item-view {
938
+ display: flex;
939
+ padding: 10px;
940
+ border-bottom: 1px solid #f0f0f0;
941
+ }
942
+ .matrix-records-item-view:hover {
943
+ background: #fafafa;
944
+ }
945
+ .matrix-records-item-view .cover-view {
946
+ position: relative;
947
+ flex-shrink: 0;
948
+ width: 110px;
949
+ height: 70px;
950
+ margin-right: 20px;
951
+ background: #edf3ff;
952
+ }
953
+ .matrix-records-item-view .cover-view .image {
954
+ width: 100%;
955
+ height: 100%;
956
+ border-radius: 4px;
957
+ }
958
+ .matrix-records-item-view .cover-view .image img {
959
+ width: 100%;
960
+ height: 100%;
961
+ }
962
+ .matrix-records-item-view .cover-view .no-img {
963
+ display: flex;
964
+ align-items: center;
965
+ justify-content: center;
966
+ width: 100%;
967
+ height: 100%;
968
+ color: white;
969
+ font-size: 30px;
970
+ }
971
+ .matrix-records-item-view .info-view {
972
+ display: flex;
973
+ flex: 1;
974
+ flex-direction: column;
975
+ justify-content: space-between;
976
+ padding: 2px 0;
977
+ }
978
+ .matrix-records-item-view .info-view .title {
979
+ display: flex;
980
+ align-items: center;
981
+ margin-bottom: 10px;
982
+ overflow: hidden;
983
+ color: #1d2129;
984
+ font-weight: 400;
985
+ font-size: 14px;
986
+ font-style: normal;
987
+ line-height: 22px;
988
+ cursor: pointer;
989
+ -webkit-line-clamp: 2;
990
+ -webkit-box-orient: vertical;
991
+ }
992
+ .matrix-records-item-view .info-view .abttrite-v {
993
+ display: flex;
994
+ align-items: center;
995
+ justify-content: space-between;
996
+ }
997
+ .matrix-records-item-view .info-view .abttrite-v .left {
998
+ display: flex;
999
+ align-items: center;
1000
+ color: #808692;
1001
+ font-size: 12px;
1002
+ }
1003
+ .matrix-records-item-view .info-view .abttrite-v .left .abttr {
1004
+ display: inline-block;
1005
+ width: 130px;
1006
+ margin-right: 10px;
1007
+ overflow: hidden;
1008
+ white-space: nowrap;
1009
+ text-overflow: ellipsis;
1010
+ }
1011
+ .matrix-records-item-view .info-view .abttrite-v .left .abttr.time {
1012
+ width: 240px;
1013
+ }
1014
+ .matrix-records-item-view .info-view .abttrite-v .left .abttr.tags {
1015
+ display: flex;
1016
+ align-items: center;
1017
+ width: 190px;
1018
+ }
1019
+ .matrix-records-item-view .info-view .abttrite-v .left .account {
1020
+ margin-left: 10px;
1021
+ }
1022
+ .matrix-records-item-view .info-view .abttrite-v .left .account .avatar {
1023
+ width: 25px;
1024
+ height: 25px;
1025
+ margin-right: 10px;
1026
+ border-radius: 50%;
1027
+ }
1028
+ .matrix-records-item-view .info-view .abttrite-v .left .account .avatar img {
1029
+ width: 100%;
1030
+ height: 100%;
1031
+ }
1032
+ .matrix-records-item-view .info-view .abttrite-v .left .state::before {
1033
+ display: inline-block;
1034
+ width: 6px;
1035
+ height: 6px;
1036
+ margin-right: 5px;
1037
+ background-color: currentColor;
1038
+ border-radius: 50%;
1039
+ content: '';
1040
+ }
1041
+ .matrix-records-item-view .info-view .abttrite-v .right {
1042
+ margin-right: 20px;
1043
+ }
937
1044
  .gray-for-state-hide {
938
1045
  -webkit-filter: grayscale(100%);
939
1046
  -moz-filter: grayscale(100%);
@@ -9,6 +9,7 @@
9
9
  @import './DocMpItem.less';
10
10
  @import './courseItem.less';
11
11
  @import './funhdItem.less';
12
+ @import './MatrixItem.less';
12
13
 
13
14
  .gray-for-state-hide {
14
15
  -webkit-filter: grayscale(100%);
package/es/index.css CHANGED
@@ -2953,6 +2953,113 @@
2953
2953
  .medialist-funhd-item-view .info-view .abttrite-v .right {
2954
2954
  margin-right: 20px;
2955
2955
  }
2956
+ .matrix-records-item-view {
2957
+ display: flex;
2958
+ padding: 10px;
2959
+ border-bottom: 1px solid #f0f0f0;
2960
+ }
2961
+ .matrix-records-item-view:hover {
2962
+ background: #fafafa;
2963
+ }
2964
+ .matrix-records-item-view .cover-view {
2965
+ position: relative;
2966
+ flex-shrink: 0;
2967
+ width: 110px;
2968
+ height: 70px;
2969
+ margin-right: 20px;
2970
+ background: #edf3ff;
2971
+ }
2972
+ .matrix-records-item-view .cover-view .image {
2973
+ width: 100%;
2974
+ height: 100%;
2975
+ border-radius: 4px;
2976
+ }
2977
+ .matrix-records-item-view .cover-view .image img {
2978
+ width: 100%;
2979
+ height: 100%;
2980
+ }
2981
+ .matrix-records-item-view .cover-view .no-img {
2982
+ display: flex;
2983
+ align-items: center;
2984
+ justify-content: center;
2985
+ width: 100%;
2986
+ height: 100%;
2987
+ color: white;
2988
+ font-size: 30px;
2989
+ }
2990
+ .matrix-records-item-view .info-view {
2991
+ display: flex;
2992
+ flex: 1;
2993
+ flex-direction: column;
2994
+ justify-content: space-between;
2995
+ padding: 2px 0;
2996
+ }
2997
+ .matrix-records-item-view .info-view .title {
2998
+ display: flex;
2999
+ align-items: center;
3000
+ margin-bottom: 10px;
3001
+ overflow: hidden;
3002
+ color: #1d2129;
3003
+ font-weight: 400;
3004
+ font-size: 14px;
3005
+ font-style: normal;
3006
+ line-height: 22px;
3007
+ cursor: pointer;
3008
+ -webkit-line-clamp: 2;
3009
+ -webkit-box-orient: vertical;
3010
+ }
3011
+ .matrix-records-item-view .info-view .abttrite-v {
3012
+ display: flex;
3013
+ align-items: center;
3014
+ justify-content: space-between;
3015
+ }
3016
+ .matrix-records-item-view .info-view .abttrite-v .left {
3017
+ display: flex;
3018
+ align-items: center;
3019
+ color: #808692;
3020
+ font-size: 12px;
3021
+ }
3022
+ .matrix-records-item-view .info-view .abttrite-v .left .abttr {
3023
+ display: inline-block;
3024
+ width: 130px;
3025
+ margin-right: 10px;
3026
+ overflow: hidden;
3027
+ white-space: nowrap;
3028
+ text-overflow: ellipsis;
3029
+ }
3030
+ .matrix-records-item-view .info-view .abttrite-v .left .abttr.time {
3031
+ width: 240px;
3032
+ }
3033
+ .matrix-records-item-view .info-view .abttrite-v .left .abttr.tags {
3034
+ display: flex;
3035
+ align-items: center;
3036
+ width: 190px;
3037
+ }
3038
+ .matrix-records-item-view .info-view .abttrite-v .left .account {
3039
+ margin-left: 10px;
3040
+ }
3041
+ .matrix-records-item-view .info-view .abttrite-v .left .account .avatar {
3042
+ width: 25px;
3043
+ height: 25px;
3044
+ margin-right: 10px;
3045
+ border-radius: 50%;
3046
+ }
3047
+ .matrix-records-item-view .info-view .abttrite-v .left .account .avatar img {
3048
+ width: 100%;
3049
+ height: 100%;
3050
+ }
3051
+ .matrix-records-item-view .info-view .abttrite-v .left .state::before {
3052
+ display: inline-block;
3053
+ width: 6px;
3054
+ height: 6px;
3055
+ margin-right: 5px;
3056
+ background-color: currentColor;
3057
+ border-radius: 50%;
3058
+ content: '';
3059
+ }
3060
+ .matrix-records-item-view .info-view .abttrite-v .right {
3061
+ margin-right: 20px;
3062
+ }
2956
3063
  .gray-for-state-hide {
2957
3064
  -webkit-filter: grayscale(100%);
2958
3065
  -moz-filter: grayscale(100%);
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -154,7 +154,6 @@ const _sfc_main = defineComponent({
154
154
  }
155
155
  emit("update:dataValue", JSON.stringify(temp));
156
156
  }
157
- console.log("callbackData", JSON.stringify(temp));
158
157
  };
159
158
  const curtemplate = computed(() => {
160
159
  if (props.mode !== "doc") {
@@ -301,12 +300,6 @@ const _sfc_main = defineComponent({
301
300
  };
302
301
  styleData.value.data = temp;
303
302
  }
304
- console.log(
305
- "thumbBannerModel:",
306
- thumbBannerModel.value,
307
- "styleData:",
308
- styleData.value
309
- );
310
303
  callback(styleData.value);
311
304
  };
312
305
  const loadImage = (url) => {
@@ -141,3 +141,26 @@ export declare const local_live_doc_status: {
141
141
  label: string;
142
142
  bgColor: string;
143
143
  }[];
144
+ export declare const matrixPublishStateMap: {
145
+ 0: string;
146
+ 1: string;
147
+ 2: string;
148
+ 3: string;
149
+ };
150
+ export declare const matrixPublishFormalStateMap: {
151
+ '-1': string;
152
+ 0: string;
153
+ 1: string;
154
+ 2: string;
155
+ 3: string;
156
+ 4: string;
157
+ 5: string;
158
+ 6: string;
159
+ 7: string;
160
+ 8: string;
161
+ 9: string;
162
+ 10: string;
163
+ 11: string;
164
+ 12: string;
165
+ 13: string;
166
+ };
@@ -15,7 +15,8 @@ const key_target_type_map = {
15
15
  15: "kongo",
16
16
  16: "mp_content",
17
17
  17: "funhd",
18
- 18: "course"
18
+ 18: "course",
19
+ 19: "matrix"
19
20
  };
20
21
  const approveFlowStatusMap = {
21
22
  1: "\u5BA1\u6838\u4E2D",
@@ -135,4 +136,27 @@ const local_live_doc_status = [
135
136
  { value: 1, label: "\u76F4\u64AD\u4E2D", bgColor: "#FF192D" },
136
137
  { value: 2, label: "\u5DF2\u7ED3\u675F", bgColor: "#C9CDD4" }
137
138
  ];
138
- export { approveFlowStatusMap, calcApprovingDependent, calcApprovingUser, compoColumnsMap, componentsColumns, contentList_layout_map, contentList_list_type_map, contentList_relation_type_map, ilive_type_map, key_target_type_map, kongo_source_map, local_live_doc_status, local_live_doc_type, mpTypeOptions, mp_type_map };
139
+ const matrixPublishStateMap = {
140
+ 0: "\u5F85\u53D1\u5E03",
141
+ 1: "\u53D1\u5E03\u4E2D",
142
+ 2: "\u53D1\u5E03\u6210\u529F",
143
+ 3: "\u53D1\u5E03\u5931\u8D25"
144
+ };
145
+ const matrixPublishFormalStateMap = {
146
+ "-1": "\u5F85\u83B7\u53D6\u72B6\u6001",
147
+ 0: "\u5DF2\u53D1\u5E03",
148
+ 1: "\u5BA1\u6838\u4E2D",
149
+ 2: "\u672A\u901A\u8FC7",
150
+ 3: "\u5DF2\u64A4\u56DE",
151
+ 4: "\u8349\u7A3F",
152
+ 5: "\u5B9A\u65F6\u53D1\u5E03",
153
+ 6: "\u5DF2\u5220\u9664",
154
+ 7: "\u5F85\u5904\u7406",
155
+ 8: "\u5904\u7406\u5931\u8D25",
156
+ 9: "\u5B98\u65B9\u64A4\u56DE",
157
+ 10: "\u7528\u6237\u64A4\u56DE",
158
+ 11: "\u4E0D\u9002\u5B9C\u516C\u5F00",
159
+ 12: "\u672A\u77E5",
160
+ 13: "\u79C1\u5BC6"
161
+ };
162
+ export { approveFlowStatusMap, calcApprovingDependent, calcApprovingUser, compoColumnsMap, componentsColumns, contentList_layout_map, contentList_list_type_map, contentList_relation_type_map, ilive_type_map, key_target_type_map, kongo_source_map, local_live_doc_status, local_live_doc_type, matrixPublishFormalStateMap, matrixPublishStateMap, mpTypeOptions, mp_type_map };