@opentiny/tiny-engine-toolbar-collaboration 2.2.0 → 2.3.0-rc.0
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.
- package/dist/index.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import {
|
|
2
|
+
import { resolveComponent as p, createBlock as m, openBlock as n, withCtx as i, createElementVNode as t, createVNode as b, createElementBlock as l, Fragment as g, renderList as f, toDisplayString as u, createCommentVNode as v, reactive as N, watchEffect as L } from "vue";
|
|
3
3
|
import { Popover as x } from "@opentiny/vue";
|
|
4
4
|
import { useLayout as S } from "@opentiny/tiny-engine-meta-register";
|
|
5
5
|
import { ToolbarBase as w } from "@opentiny/tiny-engine-common";
|
|
@@ -76,9 +76,9 @@ function U(r, o, s, e, d, G) {
|
|
|
76
76
|
e.state.url ? (n(), m(h, {
|
|
77
77
|
key: 0,
|
|
78
78
|
name: s.options.icon.default || s.options.icon
|
|
79
|
-
}, null, 8, ["name"])) :
|
|
79
|
+
}, null, 8, ["name"])) : v("", !0)
|
|
80
80
|
]),
|
|
81
|
-
(a = s.options) != null && a.collapsed ? (n(), l("span", F, "多人协作")) :
|
|
81
|
+
(a = s.options) != null && a.collapsed ? (n(), l("span", F, "多人协作")) : v("", !0)
|
|
82
82
|
])
|
|
83
83
|
];
|
|
84
84
|
}),
|
|
@@ -87,13 +87,13 @@ function U(r, o, s, e, d, G) {
|
|
|
87
87
|
]),
|
|
88
88
|
default: i(() => [
|
|
89
89
|
t("div", T, [
|
|
90
|
-
(n(!0), l(
|
|
90
|
+
(n(!0), l(g, null, f(e.state.userLists, (a, V) => (n(), l("div", {
|
|
91
91
|
key: V,
|
|
92
92
|
class: "collaborators-list-group"
|
|
93
93
|
}, [
|
|
94
94
|
t("span", A, u(a.pageName), 1),
|
|
95
95
|
t("ul", null, [
|
|
96
|
-
(n(!0), l(
|
|
96
|
+
(n(!0), l(g, null, f(a.users, (c, k) => (n(), l("li", {
|
|
97
97
|
key: k,
|
|
98
98
|
class: "user-item"
|
|
99
99
|
}, [
|
|
@@ -116,7 +116,7 @@ function U(r, o, s, e, d, G) {
|
|
|
116
116
|
_: 1
|
|
117
117
|
}, 8, ["options"]);
|
|
118
118
|
}
|
|
119
|
-
const q = /* @__PURE__ */ B(C, [["render", U], ["__scopeId", "data-v-
|
|
119
|
+
const q = /* @__PURE__ */ B(C, [["render", U], ["__scopeId", "data-v-c5fb089a"]]), z = {
|
|
120
120
|
id: "engine.toolbars.collaboration",
|
|
121
121
|
type: "toolbars",
|
|
122
122
|
title: "collaboration",
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.collaboration-container[data-v-
|
|
1
|
+
.collaboration-container[data-v-c5fb089a] .reference-wrapper{display:flex}.toolbar-right-user[data-v-c5fb089a] .reference-wrapper{padding:0!important}.collaborators-list .page-name[data-v-c5fb089a]{display:inline-block;width:100%;font-size:14px;padding:12px 20px;color:var(--te-toolbars-collaboration-text-color-secondary);line-height:18px;font-weight:600}.collaborators-list .user-item[data-v-c5fb089a]{padding:10px 16px;display:flex;align-items:center}.collaborators-list .user-item[data-v-c5fb089a]:hover{background:var(--te-toolbars-collaboration-bg-color-hover)}.collaborators-list .user-item .user-item-head[data-v-c5fb089a]{width:26px;height:26px;border-radius:50%}.collaborators-list .user-item .user-item-name[data-v-c5fb089a]{font-size:14px;color:var(--te-toolbars-collaboration-text-color-primary);line-height:16px;font-weight:400;margin:0 4px 0 8px}.collaborators-list .user-item .user-item-status[data-v-c5fb089a]{font-size:14px}.collaboration-wrap[data-v-c5fb089a]{display:flex;align-items:center;cursor:pointer;font-size:12px}.collaboration-wrap .user-head[data-v-c5fb089a]{width:16px;height:16px;border-radius:50%;margin-right:8px;z-index:9;border:1px solid var(--te-toolbars-collaboration-border-color)}:root{--te-toolbars-collaboration-text-color-primary: var(--te-common-text-primary);--te-toolbars-collaboration-text-color-secondary: var(--te-common-text-secondary);--te-toolbars-collaboration-bg-color-hover: var(--te-common-bg-container);--te-toolbars-collaboration-border-color: var(--te-common-border-default)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-toolbar-collaboration",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0-rc.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.
|
|
29
|
-
"@opentiny/tiny-engine-meta-register": "2.
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.3.0-rc.0",
|
|
29
|
+
"@opentiny/tiny-engine-meta-register": "2.3.0-rc.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.
|
|
32
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.3.0-rc.0",
|
|
33
33
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
34
34
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
35
35
|
"vite": "^5.4.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@opentiny/vue": "^3.
|
|
38
|
+
"@opentiny/vue": "^3.20.0",
|
|
39
39
|
"vue": "^3.4.15"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "5ea78adea68ea21caaf13ff9f8dcb008a1ad78cc"
|
|
42
42
|
}
|