@jx3box/jx3box-vue3-ui 0.8.6 → 0.8.8
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/assets/js/a.js +4 -1
- package/assets/js/combo.js +2 -1
- package/assets/js/img.js +2 -1
- package/package.json +2 -2
- package/src/author/AuthorInfo.vue +2 -1
- package/src/author/AuthorLink.vue +2 -1
- package/src/author/AuthorMedals.vue +2 -1
- package/src/author/UserPop.vue +2 -1
- package/src/bread/Admin.vue +2 -1
- package/src/comment/CommentContent.vue +2 -1
- package/src/editor/Article.vue +1 -1
- package/src/editor/UploadBanner.vue +2 -1
- package/src/editor/components/Buff.vue +2 -1
- package/src/editor/components/Combo.vue +2 -1
- package/src/editor/components/Equip.vue +2 -1
- package/src/editor/components/Item.vue +2 -1
- package/src/editor/components/Npc.vue +2 -1
- package/src/editor/components/PostAuthor.vue +2 -1
- package/src/editor/components/Skill.vue +2 -1
- package/src/header/UserInfo.vue +2 -1
- package/src/interact/Contributors.vue +2 -1
- package/src/single/Collection.vue +2 -1
- package/src/single/PostTopic.vue +2 -1
- package/src/single/cms-single.vue +2 -1
package/assets/js/a.js
CHANGED
package/assets/js/combo.js
CHANGED
package/assets/js/img.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// 图片地址&懒加载
|
|
2
|
-
import
|
|
2
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
3
|
+
const { resolveImagePath } = utilModule;
|
|
3
4
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
4
5
|
function lazyLoad(str) {
|
|
5
6
|
if (!str) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-vue3-ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"description": "JX3BOX Vue3 UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@element-plus/icons-vue": "^2.1.0",
|
|
29
|
-
"@jx3box/jx3box-common": "^8.2.
|
|
29
|
+
"@jx3box/jx3box-common": "^8.2.23",
|
|
30
30
|
"@jx3box/jx3box-data": "^3.6.0",
|
|
31
31
|
"@jx3box/jx3box-emotion": "^1.2.8",
|
|
32
32
|
"@jx3box/jx3box-macro": "^1.0.1",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
|
|
43
43
|
<script>
|
|
44
44
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
45
|
-
import
|
|
45
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
46
|
+
const { authorLink } = utilModule;
|
|
46
47
|
import User from "@jx3box/jx3box-common/js/user";
|
|
47
48
|
import { getUserInfo } from "../../service/author";
|
|
48
49
|
import Avatar from "./Avatar.vue";
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script>
|
|
25
|
-
import
|
|
25
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
26
|
+
const { getMedalLink } = utilModule;
|
|
26
27
|
import { getUserMedals } from "../../service/author";
|
|
27
28
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
28
29
|
const { __imgPath, __Root } = JX3BOX;
|
package/src/author/UserPop.vue
CHANGED
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
</template>
|
|
47
47
|
|
|
48
48
|
<script>
|
|
49
|
-
import
|
|
49
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
50
|
+
const { showAvatar } = utilModule;
|
|
50
51
|
import { getUserInfoByUidOrName } from "../../service/author";
|
|
51
52
|
export default {
|
|
52
53
|
name: "UserPop",
|
package/src/bread/Admin.vue
CHANGED
|
@@ -108,7 +108,8 @@
|
|
|
108
108
|
|
|
109
109
|
<script>
|
|
110
110
|
import Bus from "../../utils/bus";
|
|
111
|
-
import
|
|
111
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
112
|
+
const { getRewrite } = utilModule;
|
|
112
113
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
113
114
|
import { getSetting, postSetting } from "../../service/admin";
|
|
114
115
|
import User from "@jx3box/jx3box-common/js/user";
|
|
@@ -194,7 +194,8 @@
|
|
|
194
194
|
|
|
195
195
|
<script>
|
|
196
196
|
import Uploader from "./Upload.vue";
|
|
197
|
-
import
|
|
197
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
198
|
+
const { resolveImagePath } = utilModule;
|
|
198
199
|
import { formatContent } from "../../utils/emotion";
|
|
199
200
|
import Emotion from "@jx3box/jx3box-emotion/src/Emotion2.vue";
|
|
200
201
|
|
package/src/editor/Article.vue
CHANGED
|
@@ -71,7 +71,7 @@ import renderJx3Element from "../../assets/js/jx3_element";
|
|
|
71
71
|
import Item from "./components/Item.vue";
|
|
72
72
|
import Buff from "./components/Buff.vue";
|
|
73
73
|
import Skill from "./components/Skill.vue";
|
|
74
|
-
import Npc from "./components/Npc.vue"
|
|
74
|
+
import Npc from "./components/Npc.vue";
|
|
75
75
|
import Author from "./components/Author.vue";
|
|
76
76
|
import PostAuthor from "./components/PostAuthor.vue";
|
|
77
77
|
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script>
|
|
23
|
-
import
|
|
23
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
24
|
+
const { getThumbnail } = utilModule;
|
|
24
25
|
import { upload } from "../../service/cms.js";
|
|
25
26
|
export default {
|
|
26
27
|
name: "upload-banner",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
import { getBuff } from "../../../service/database.js";
|
|
18
|
-
import
|
|
18
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
19
|
+
const { iconLink } = utilModule;
|
|
19
20
|
import detach_types from "../../../assets/data/detach_type.json";
|
|
20
21
|
export default {
|
|
21
22
|
name: "BuffComponent",
|
|
@@ -97,7 +97,8 @@
|
|
|
97
97
|
|
|
98
98
|
<script>
|
|
99
99
|
import Vue from "vue";
|
|
100
|
-
import
|
|
100
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
101
|
+
const { iconLink } = utilModule;
|
|
101
102
|
import { getSkill } from "../../service/resource";
|
|
102
103
|
import Sortable from "sortablejs";
|
|
103
104
|
import { cloneDeep } from "lodash";
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
<script>
|
|
41
41
|
import EquipPosition from "../../../service/enum/EquipPosition";
|
|
42
42
|
import ItemSimple from "./ItemSimple.vue";
|
|
43
|
-
import
|
|
43
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils.js";
|
|
44
|
+
const { authorLink } = utilModule;
|
|
44
45
|
import QRcode from "@jx3box/jx3box-common-ui/src/interact/QRcode.vue";
|
|
45
46
|
import { showTime } from "@jx3box/jx3box-common/js/moment.js";
|
|
46
47
|
import { get_plan } from "../../../service/item.js";
|
|
@@ -208,7 +208,8 @@ import GameText from "./GameText.vue";
|
|
|
208
208
|
import attribute_percent from "../../../assets/js/item/attribute_percent.js";
|
|
209
209
|
import bind from "../../../assets/js/item/bind.js";
|
|
210
210
|
import color from "../../../assets/js/item/color.js";
|
|
211
|
-
import
|
|
211
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
212
|
+
const { iconLink } = utilModule;
|
|
212
213
|
|
|
213
214
|
import second_format from "../../../assets/js/item/second_format.js";
|
|
214
215
|
import dayjs from "dayjs";
|
|
@@ -163,7 +163,8 @@
|
|
|
163
163
|
|
|
164
164
|
<script>
|
|
165
165
|
import { getNpc } from "../../../service/database.js";
|
|
166
|
-
import
|
|
166
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
167
|
+
const { iconLink } = utilModule;
|
|
167
168
|
export default {
|
|
168
169
|
name: "NpcComponent",
|
|
169
170
|
props: ["client", "id"],
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
|
|
33
33
|
<script>
|
|
34
|
-
import
|
|
34
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
35
|
+
const { authorLink } = utilModule;
|
|
35
36
|
import { getEmotion } from "../../../service/author";
|
|
36
37
|
import dayjs from "dayjs";
|
|
37
38
|
import Avatar from "./Avatar.vue";
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
<script>
|
|
16
16
|
import { getSkill } from "../../../service/database.js";
|
|
17
|
-
import
|
|
17
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
18
|
+
const { iconLink } = utilModule;
|
|
18
19
|
export default {
|
|
19
20
|
name: "SkillComponent",
|
|
20
21
|
props: ["client", "id", "level"],
|
package/src/header/UserInfo.vue
CHANGED
|
@@ -102,7 +102,8 @@
|
|
|
102
102
|
|
|
103
103
|
<script>
|
|
104
104
|
import User from "@jx3box/jx3box-common/js/user";
|
|
105
|
-
import
|
|
105
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
106
|
+
const { showAvatar } = utilModule;
|
|
106
107
|
import { showDate } from "@jx3box/jx3box-common/js/moment";
|
|
107
108
|
import { getMyInfo } from "../../service/author";
|
|
108
109
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script>
|
|
23
|
-
import
|
|
23
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
24
|
+
const { getLink } = utilModule;
|
|
24
25
|
import { getCollection } from "../../service/cms";
|
|
25
26
|
export default {
|
|
26
27
|
name: "SingleCollection",
|
package/src/single/PostTopic.vue
CHANGED
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
<script>
|
|
17
17
|
import { getSliders } from "../../service/cms";
|
|
18
|
-
import
|
|
18
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
19
|
+
const { getThumbnail } = utilModule;
|
|
19
20
|
import dayjs from "dayjs";
|
|
20
21
|
export default {
|
|
21
22
|
name: "PostTopic",
|
|
@@ -82,7 +82,8 @@ import Article from "../editor/Article.vue";
|
|
|
82
82
|
// import ArticleMarkdown from "@jx3box/jx3box-editor/src/ArticleMarkdown.vue";
|
|
83
83
|
import Comment from "./Comment.vue";
|
|
84
84
|
const { __visibleMap } = require("@jx3box/jx3box-common/data/jx3box.json");
|
|
85
|
-
import
|
|
85
|
+
import * as utilModule from "@jx3box/jx3box-common/js/utils";
|
|
86
|
+
const { getAppType } = utilModule;
|
|
86
87
|
export default {
|
|
87
88
|
name: "cms-single",
|
|
88
89
|
components: {
|