@haluo/biz 2.0.2 → 2.0.4
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/README.md +11 -12
- package/dist/haluo-biz.js +4 -4
- package/dist/haluo-biz.umd.cjs +3 -3
- package/dist/style.css +27 -27
- package/package.json +46 -46
- /package/dist/{squire-raw.7e84068d.js → squire-raw.32b523bf.js} +0 -0
package/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
# 说明
|
|
3
|
-
线上vue3版本 tag = online 2.0.x 分支online
|
|
4
|
-
开发测试vue3版本 tag = next 1.0.x 分支vue3
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
pnpm add @haluo/biz@online
|
|
1
|
+
|
|
2
|
+
# 说明
|
|
3
|
+
线上vue3版本 tag = online 2.0.x 分支online
|
|
4
|
+
开发测试vue3版本 tag = next 1.0.x 分支vue3
|
|
5
|
+
# 发布
|
|
6
|
+
```
|
|
7
|
+
npm publish --tag=online
|
|
8
|
+
```
|
|
9
|
+
# 安装
|
|
10
|
+
```
|
|
11
|
+
pnpm add @haluo/biz@online
|
|
13
12
|
```
|
package/dist/haluo-biz.js
CHANGED
|
@@ -808,7 +808,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
808
808
|
])
|
|
809
809
|
])) : createCommentVNode("", true);
|
|
810
810
|
}
|
|
811
|
-
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
811
|
+
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-192334e4"]]);
|
|
812
812
|
const index_vue_vue_type_style_index_0_lang$4 = "";
|
|
813
813
|
const _hoisted_1$6 = { class: "basic-dialog_title" };
|
|
814
814
|
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
|
|
@@ -1613,7 +1613,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1613
1613
|
}, " \u5E73\u53F0\u4EC5\u652F\u6301\u5C55\u793A18\u4E2A\u6708\u7684\u63A8\u8350\u5185\u5BB9 ", 2)) : createCommentVNode("", true)
|
|
1614
1614
|
]);
|
|
1615
1615
|
}
|
|
1616
|
-
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
1616
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-45d58d86"]]);
|
|
1617
1617
|
const mountArticleDom = (props, del) => {
|
|
1618
1618
|
const className = "article-wrap";
|
|
1619
1619
|
const article = props.article;
|
|
@@ -1774,7 +1774,7 @@ const _sfc_main = {
|
|
|
1774
1774
|
me.editorDom = document.getElementById("editor-content");
|
|
1775
1775
|
me.editorDom.addEventListener("blur", this.canSetAlign);
|
|
1776
1776
|
if (!window.Squire) {
|
|
1777
|
-
import("./squire-raw.
|
|
1777
|
+
import("./squire-raw.32b523bf.js").then(function() {
|
|
1778
1778
|
me.initSquire();
|
|
1779
1779
|
});
|
|
1780
1780
|
} else {
|
|
@@ -1852,7 +1852,7 @@ const _sfc_main = {
|
|
|
1852
1852
|
const video = {
|
|
1853
1853
|
duration: result.duration || "",
|
|
1854
1854
|
link: result.videoUrl || "",
|
|
1855
|
-
img: me.coverUrl || result.coverUrl || "",
|
|
1855
|
+
img: me.coverUrl || result.coverUrl || result.customCover || "",
|
|
1856
1856
|
id: result.videoId,
|
|
1857
1857
|
desc: "",
|
|
1858
1858
|
vodSize: result.vodSize || "",
|
package/dist/haluo-biz.umd.cjs
CHANGED
|
@@ -810,7 +810,7 @@
|
|
|
810
810
|
])
|
|
811
811
|
])) : vue.createCommentVNode("", true);
|
|
812
812
|
}
|
|
813
|
-
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
813
|
+
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-192334e4"]]);
|
|
814
814
|
const index_vue_vue_type_style_index_0_lang$4 = "";
|
|
815
815
|
const _hoisted_1$6 = { class: "basic-dialog_title" };
|
|
816
816
|
const _hoisted_2$6 = /* @__PURE__ */ vue.createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
|
|
@@ -1615,7 +1615,7 @@
|
|
|
1615
1615
|
}, " \u5E73\u53F0\u4EC5\u652F\u6301\u5C55\u793A18\u4E2A\u6708\u7684\u63A8\u8350\u5185\u5BB9 ", 2)) : vue.createCommentVNode("", true)
|
|
1616
1616
|
]);
|
|
1617
1617
|
}
|
|
1618
|
-
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
1618
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-45d58d86"]]);
|
|
1619
1619
|
const mountArticleDom = (props, del) => {
|
|
1620
1620
|
const className = "article-wrap";
|
|
1621
1621
|
const article = props.article;
|
|
@@ -1854,7 +1854,7 @@
|
|
|
1854
1854
|
const video = {
|
|
1855
1855
|
duration: result.duration || "",
|
|
1856
1856
|
link: result.videoUrl || "",
|
|
1857
|
-
img: me.coverUrl || result.coverUrl || "",
|
|
1857
|
+
img: me.coverUrl || result.coverUrl || result.customCover || "",
|
|
1858
1858
|
id: result.videoId,
|
|
1859
1859
|
desc: "",
|
|
1860
1860
|
vodSize: result.vodSize || "",
|
package/dist/style.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.m12[data-v-
|
|
1
|
+
.m12[data-v-192334e4] {
|
|
2
2
|
margin: 0 12px;
|
|
3
3
|
}
|
|
4
|
-
.ml16[data-v-
|
|
4
|
+
.ml16[data-v-192334e4] {
|
|
5
5
|
margin-left: 16px;
|
|
6
6
|
}
|
|
7
|
-
.mr12[data-v-
|
|
7
|
+
.mr12[data-v-192334e4] {
|
|
8
8
|
margin-right: 12px;
|
|
9
9
|
}
|
|
10
|
-
.ml12[data-v-
|
|
10
|
+
.ml12[data-v-192334e4] {
|
|
11
11
|
margin-left: 12px;
|
|
12
12
|
}
|
|
13
|
-
.mr18[data-v-
|
|
13
|
+
.mr18[data-v-192334e4] {
|
|
14
14
|
margin-right: 18px;
|
|
15
15
|
}
|
|
16
|
-
.tools[data-v-
|
|
16
|
+
.tools[data-v-192334e4] {
|
|
17
17
|
z-index: 2;
|
|
18
18
|
position: relative;
|
|
19
19
|
background: #FAFAFA;
|
|
20
20
|
}
|
|
21
|
-
.tools .tools-content[data-v-
|
|
21
|
+
.tools .tools-content[data-v-192334e4] {
|
|
22
22
|
display: -webkit-box;
|
|
23
23
|
display: -ms-flexbox;
|
|
24
24
|
display: flex;
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
-ms-flex-align: center;
|
|
27
27
|
align-items: center;
|
|
28
28
|
}
|
|
29
|
-
.tools img[data-v-
|
|
29
|
+
.tools img[data-v-192334e4] {
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
}
|
|
32
|
-
.tools .box[data-v-
|
|
32
|
+
.tools .box[data-v-192334e4] {
|
|
33
33
|
position: relative;
|
|
34
34
|
}
|
|
35
|
-
.tools .box .box-mask[data-v-
|
|
35
|
+
.tools .box .box-mask[data-v-192334e4] {
|
|
36
36
|
width: 40px;
|
|
37
37
|
height: 40px;
|
|
38
38
|
background: black;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
position: absolute;
|
|
42
42
|
pointer-events: none;
|
|
43
43
|
}
|
|
44
|
-
.tools .tools-title[data-v-
|
|
44
|
+
.tools .tools-title[data-v-192334e4] {
|
|
45
45
|
color: #333333;
|
|
46
46
|
font-size: 18px;
|
|
47
47
|
display: -webkit-box;
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
align-items: center;
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
}
|
|
55
|
-
.tools .disable[data-v-
|
|
55
|
+
.tools .disable[data-v-192334e4] {
|
|
56
56
|
cursor: not-allowed;
|
|
57
57
|
-webkit-filter: blur(0.6px);
|
|
58
58
|
filter: blur(0.6px);
|
|
59
59
|
}
|
|
60
|
-
.tools .disable img[data-v-
|
|
60
|
+
.tools .disable img[data-v-192334e4] {
|
|
61
61
|
cursor: not-allowed;
|
|
62
62
|
}
|
|
63
|
-
.tools .wrap[data-v-
|
|
63
|
+
.tools .wrap[data-v-192334e4] {
|
|
64
64
|
position: relative;
|
|
65
65
|
}
|
|
66
|
-
.tools[data-v-
|
|
66
|
+
.tools[data-v-192334e4] .m-colorPicker {
|
|
67
67
|
position: absolute;
|
|
68
68
|
width: 100%;
|
|
69
69
|
left: 0;
|
|
70
70
|
z-index: -1;
|
|
71
71
|
height: 100%;
|
|
72
72
|
}
|
|
73
|
-
.tools[data-v-
|
|
73
|
+
.tools[data-v-192334e4] .m-colorPicker .colorBtn {
|
|
74
74
|
width: 100%;
|
|
75
75
|
height: 100%;
|
|
76
76
|
opacity: 0;
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
color: #999999;
|
|
352
352
|
margin-bottom: 5px;
|
|
353
353
|
}
|
|
354
|
-
.article-item[data-v-
|
|
354
|
+
.article-item[data-v-45d58d86] {
|
|
355
355
|
-webkit-user-select: none;
|
|
356
356
|
-moz-user-select: none;
|
|
357
357
|
-ms-user-select: none;
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
width: 440px;
|
|
367
367
|
position: relative;
|
|
368
368
|
}
|
|
369
|
-
.article-item .icon[data-v-
|
|
369
|
+
.article-item .icon[data-v-45d58d86] {
|
|
370
370
|
width: 14px;
|
|
371
371
|
-webkit-user-select: none;
|
|
372
372
|
-moz-user-select: none;
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
-ms-transform: translate(50%, -50%);
|
|
381
381
|
transform: translate(50%, -50%);
|
|
382
382
|
}
|
|
383
|
-
.article-item img[data-v-
|
|
383
|
+
.article-item img[data-v-45d58d86] {
|
|
384
384
|
width: 80px;
|
|
385
385
|
height: 80px;
|
|
386
386
|
-o-object-fit: cover;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
-ms-flex-negative: 0;
|
|
390
390
|
flex-shrink: 0;
|
|
391
391
|
}
|
|
392
|
-
.article-item .article-item_right[data-v-
|
|
392
|
+
.article-item .article-item_right[data-v-45d58d86] {
|
|
393
393
|
display: -webkit-box;
|
|
394
394
|
display: -ms-flexbox;
|
|
395
395
|
display: flex;
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
-ms-flex-pack: justify;
|
|
402
402
|
justify-content: space-between;
|
|
403
403
|
}
|
|
404
|
-
.article-item .article-item_right .name[data-v-
|
|
404
|
+
.article-item .article-item_right .name[data-v-45d58d86] {
|
|
405
405
|
font-size: 16px;
|
|
406
406
|
margin-top: 5px;
|
|
407
407
|
line-height: 22px;
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
-o-text-overflow: ellipsis;
|
|
413
413
|
text-overflow: ellipsis;
|
|
414
414
|
}
|
|
415
|
-
.article-item .article-item_right .score[data-v-
|
|
415
|
+
.article-item .article-item_right .score[data-v-45d58d86] {
|
|
416
416
|
color: #999999;
|
|
417
417
|
line-height: 17px;
|
|
418
418
|
font-size: 12px;
|
|
@@ -424,18 +424,18 @@
|
|
|
424
424
|
align-items: center;
|
|
425
425
|
margin-bottom: 6px;
|
|
426
426
|
}
|
|
427
|
-
.article-item .article-item_right .score span[data-v-
|
|
427
|
+
.article-item .article-item_right .score span[data-v-45d58d86]:nth-child(2) {
|
|
428
428
|
margin-left: 10px;
|
|
429
429
|
}
|
|
430
|
-
.article-item .article-item_right .score span[data-v-
|
|
430
|
+
.article-item .article-item_right .score span[data-v-45d58d86]:nth-child(3) {
|
|
431
431
|
margin-left: 10px;
|
|
432
432
|
}
|
|
433
|
-
.article-item .article-item_right .price[data-v-
|
|
433
|
+
.article-item .article-item_right .price[data-v-45d58d86] {
|
|
434
434
|
color: #ff5a25;
|
|
435
435
|
font-size: 16px;
|
|
436
436
|
margin-top: 6px;
|
|
437
437
|
}
|
|
438
|
-
.article-item .article-bg[data-v-
|
|
438
|
+
.article-item .article-bg[data-v-45d58d86] {
|
|
439
439
|
position: absolute;
|
|
440
440
|
width: 440px;
|
|
441
441
|
height: 60px;
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
-webkit-backdrop-filter: blur(3px);
|
|
451
451
|
backdrop-filter: blur(3px);
|
|
452
452
|
}
|
|
453
|
-
.article-item .article-bg-height[data-v-
|
|
453
|
+
.article-item .article-bg-height[data-v-45d58d86] {
|
|
454
454
|
height: 80px;
|
|
455
455
|
line-height: 80px;
|
|
456
456
|
}
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@haluo/biz",
|
|
3
|
-
"description": "rich text",
|
|
4
|
-
"version": "2.0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"module": "./dist/haluo-biz.js",
|
|
7
|
-
"main": "./dist/haluo-biz.umd.cjs",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/haluo-biz.js",
|
|
11
|
-
"require": "./dist/haluo-biz.umd.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./dist/style.css": "./dist/style.css"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"dev": "vite",
|
|
20
|
-
"build": "vue-tsc --noEmit && vite build",
|
|
21
|
-
"build:watch": "vue-tsc --noEmit && vite build --watch",
|
|
22
|
-
"preview": "vite preview"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"element-plus": "^2.2.28",
|
|
26
|
-
"uuid": "^9.0.0",
|
|
27
|
-
"vue": "^3.2.36",
|
|
28
|
-
"vuedraggable": "^4.1.0"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@element-plus/icons-vue": "^2.0.10",
|
|
32
|
-
"@haluo/util": "^1.0.24",
|
|
33
|
-
"@types/node": "^18.7.18",
|
|
34
|
-
"@types/uuid": "^9.0.0",
|
|
35
|
-
"@vitejs/plugin-vue": "^2.1.0",
|
|
36
|
-
"autoprefixer": "^10.4.11",
|
|
37
|
-
"less": "^4.1.3",
|
|
38
|
-
"typescript": "^4.6.4",
|
|
39
|
-
"vite": "^3.1.0",
|
|
40
|
-
"vite-plugin-dts": "^1.5.0",
|
|
41
|
-
"vue-tsc": "^0.40.4"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"vue": "^3.x"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@haluo/biz",
|
|
3
|
+
"description": "rich text",
|
|
4
|
+
"version": "2.0.4",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./dist/haluo-biz.js",
|
|
7
|
+
"main": "./dist/haluo-biz.umd.cjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/haluo-biz.js",
|
|
11
|
+
"require": "./dist/haluo-biz.umd.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./dist/style.css": "./dist/style.css"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
21
|
+
"build:watch": "vue-tsc --noEmit && vite build --watch",
|
|
22
|
+
"preview": "vite preview"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"element-plus": "^2.2.28",
|
|
26
|
+
"uuid": "^9.0.0",
|
|
27
|
+
"vue": "^3.2.36",
|
|
28
|
+
"vuedraggable": "^4.1.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@element-plus/icons-vue": "^2.0.10",
|
|
32
|
+
"@haluo/util": "^1.0.24",
|
|
33
|
+
"@types/node": "^18.7.18",
|
|
34
|
+
"@types/uuid": "^9.0.0",
|
|
35
|
+
"@vitejs/plugin-vue": "^2.1.0",
|
|
36
|
+
"autoprefixer": "^10.4.11",
|
|
37
|
+
"less": "^4.1.3",
|
|
38
|
+
"typescript": "^4.6.4",
|
|
39
|
+
"vite": "^3.1.0",
|
|
40
|
+
"vite-plugin-dts": "^1.5.0",
|
|
41
|
+
"vue-tsc": "^0.40.4"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vue": "^3.x"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
File without changes
|