@jx3box/jx3box-vue3-ui 0.1.4 → 0.1.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-vue3-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "JX3BOX Vue3 UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dev": "cross-env DEV_SERVER=true vue-cli-service serve",
|
|
9
9
|
"build": "vue-cli-service build",
|
|
10
10
|
"lint": "vue-cli-service lint",
|
|
11
|
-
"update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common@latest @jx3box/jx3box-data@latest",
|
|
11
|
+
"update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common@latest @jx3box/jx3box-data@latest @jx3box/jx3box-emotion@latest",
|
|
12
12
|
"header": "vue-cli-service build --target lib --name newheader src/Header.vue && cp public/index.html dist/newheader.html"
|
|
13
13
|
},
|
|
14
14
|
"eslintConfig": {
|
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@element-plus/icons-vue": "^2.1.0",
|
|
29
|
-
"@jx3box/jx3box-common": "
|
|
30
|
-
"@jx3box/jx3box-
|
|
29
|
+
"@jx3box/jx3box-common": "^7.8.9",
|
|
30
|
+
"@jx3box/jx3box-data": "^3.0.9",
|
|
31
|
+
"@jx3box/jx3box-emotion": "^1.2.1",
|
|
31
32
|
"@vueuse/core": "^9.13.0",
|
|
32
33
|
"@vueuse/head": "^0.7.6",
|
|
33
34
|
"axios": "^1.3.4",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
<el-form-item class="c-comment-tool-box">
|
|
91
91
|
<div class="c-comment-tools">
|
|
92
92
|
<el-icon class="u-upload-icon" @click="showUploader = !showUploader"><Picture /></el-icon>
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
<Emotion
|
|
94
|
+
class="c-comment-emotion"
|
|
95
|
+
@selected="handleEmotionSelected"
|
|
96
|
+
type="pop"
|
|
97
|
+
:max="6"
|
|
98
|
+
></Emotion>
|
|
99
99
|
</div>
|
|
100
100
|
<Uploader
|
|
101
101
|
v-if="showUploader"
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
import Uploader from "./Upload.vue";
|
|
125
125
|
import { resolveImagePath } from "@jx3box/jx3box-common/js/utils";
|
|
126
126
|
import { formatContent } from "../../utils/emotion";
|
|
127
|
-
|
|
127
|
+
import Emotion from "@jx3box/jx3box-emotion/src/Emotion2.vue";
|
|
128
128
|
|
|
129
129
|
function fillZero(num) {
|
|
130
130
|
return num > 9 ? num : `0${num}`;
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
144
144
|
],
|
|
145
145
|
components: {
|
|
146
146
|
Uploader,
|
|
147
|
-
|
|
147
|
+
Emotion,
|
|
148
148
|
},
|
|
149
149
|
data: function () {
|
|
150
150
|
return {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
></el-input>
|
|
13
13
|
<div class="c-comment-tools">
|
|
14
14
|
<el-icon class="u-upload-icon" @click="showUploader = !showUploader"><Picture /></el-icon>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
<Emotion
|
|
16
|
+
class="c-comment-emotion"
|
|
17
|
+
@selected="handleEmotionSelected"
|
|
18
|
+
type="pop"
|
|
19
|
+
:max="6">
|
|
20
|
+
</Emotion>
|
|
21
21
|
</div>
|
|
22
22
|
<Uploader
|
|
23
23
|
class="u-uploader"
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
|
|
42
42
|
<script>
|
|
43
43
|
import Uploader from "./Upload.vue";
|
|
44
|
-
|
|
44
|
+
import Emotion from "@jx3box/jx3box-emotion/src/Emotion2.vue";
|
|
45
45
|
|
|
46
46
|
export default {
|
|
47
47
|
components: {
|
|
48
48
|
Uploader,
|
|
49
|
-
|
|
49
|
+
Emotion
|
|
50
50
|
},
|
|
51
51
|
props: {
|
|
52
52
|
// 用于判定该评论组件是否在底部
|