@haluo/biz 2.0.49 → 2.0.50

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/style.css CHANGED
@@ -1,35 +1,35 @@
1
- .m-colorPicker[data-v-b46fc003]{position:relative;text-align:left;font-size:14px;display:inline-block;outline:none}.m-colorPicker ul[data-v-b46fc003],.m-colorPicker li[data-v-b46fc003],.m-colorPicker ol[data-v-b46fc003]{list-style:none;margin:0;padding:0}.m-colorPicker .colorBtn[data-v-b46fc003]{width:15px;height:15px}.m-colorPicker .colorBtn.disabled[data-v-b46fc003]{cursor:no-drop}.m-colorPicker .box[data-v-b46fc003]{position:absolute;width:190px;background:#fff;border:1px solid #ddd;visibility:hidden;border-radius:2px;margin-top:2px;padding:10px 10px 5px;box-shadow:0 0 5px #00000026;opacity:0;transition:all .3s ease;box-sizing:content-box}.m-colorPicker .box h3[data-v-b46fc003]{margin:10px 0 5px;font-size:14px;font-weight:400;line-height:1;color:#333}.m-colorPicker .box input[data-v-b46fc003]{visibility:hidden;position:absolute;left:0;bottom:0}.m-colorPicker .box.open[data-v-b46fc003]{visibility:visible;opacity:1;z-index:1}.m-colorPicker .hd[data-v-b46fc003]{overflow:hidden;line-height:29px}.m-colorPicker .hd .colorView[data-v-b46fc003]{width:100px;height:30px;float:left;transition:background-color .3s ease}.m-colorPicker .hd .defaultColor[data-v-b46fc003]{width:80px;float:right;text-align:center;border:1px solid #ddd;cursor:pointer;color:#333}.m-colorPicker .tColor li[data-v-b46fc003]{width:15px;height:15px;display:inline-block;margin:0 2px;transition:all .3s ease}.m-colorPicker .tColor li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006;-webkit-transform:scale(1.3);transform:scale(1.3)}.m-colorPicker .bColor li[data-v-b46fc003]{width:15px;display:inline-block;margin:0 2px}.m-colorPicker .bColor li li[data-v-b46fc003]{display:block;width:15px;height:15px;transition:all .3s ease;margin:0}.m-colorPicker .bColor li li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006;-webkit-transform:scale(1.3);transform:scale(1.3)}
2
- .m12[data-v-24d161f2] {
1
+ .m-colorPicker[data-v-b46fc003]{position:relative;text-align:left;font-size:14px;display:inline-block;outline:none}.m-colorPicker ul[data-v-b46fc003],.m-colorPicker li[data-v-b46fc003],.m-colorPicker ol[data-v-b46fc003]{list-style:none;margin:0;padding:0}.m-colorPicker .colorBtn[data-v-b46fc003]{width:15px;height:15px}.m-colorPicker .colorBtn.disabled[data-v-b46fc003]{cursor:no-drop}.m-colorPicker .box[data-v-b46fc003]{position:absolute;width:190px;background:#fff;border:1px solid #ddd;visibility:hidden;border-radius:2px;margin-top:2px;padding:10px 10px 5px;box-shadow:0 0 5px #00000026;opacity:0;transition:all .3s ease;box-sizing:content-box}.m-colorPicker .box h3[data-v-b46fc003]{margin:10px 0 5px;font-size:14px;font-weight:400;line-height:1;color:#333}.m-colorPicker .box input[data-v-b46fc003]{visibility:hidden;position:absolute;left:0;bottom:0}.m-colorPicker .box.open[data-v-b46fc003]{visibility:visible;opacity:1;z-index:1}.m-colorPicker .hd[data-v-b46fc003]{overflow:hidden;line-height:29px}.m-colorPicker .hd .colorView[data-v-b46fc003]{width:100px;height:30px;float:left;transition:background-color .3s ease}.m-colorPicker .hd .defaultColor[data-v-b46fc003]{width:80px;float:right;text-align:center;border:1px solid #ddd;cursor:pointer;color:#333}.m-colorPicker .tColor li[data-v-b46fc003]{width:15px;height:15px;display:inline-block;margin:0 2px;transition:all .3s ease}.m-colorPicker .tColor li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006;transform:scale(1.3)}.m-colorPicker .bColor li[data-v-b46fc003]{width:15px;display:inline-block;margin:0 2px}.m-colorPicker .bColor li li[data-v-b46fc003]{display:block;width:15px;height:15px;transition:all .3s ease;margin:0}.m-colorPicker .bColor li li[data-v-b46fc003]:hover{box-shadow:0 0 5px #0006;transform:scale(1.3)}
2
+ .m12[data-v-52e48332] {
3
3
  margin: 0 12px;
4
4
  }
5
- .ml16[data-v-24d161f2] {
5
+ .ml16[data-v-52e48332] {
6
6
  margin-left: 16px;
7
7
  }
8
- .mr12[data-v-24d161f2] {
8
+ .mr12[data-v-52e48332] {
9
9
  margin-right: 12px;
10
10
  }
11
- .ml12[data-v-24d161f2] {
11
+ .ml12[data-v-52e48332] {
12
12
  margin-left: 12px;
13
13
  }
14
- .mr18[data-v-24d161f2] {
14
+ .mr18[data-v-52e48332] {
15
15
  margin-right: 18px;
16
16
  }
17
- .tools[data-v-24d161f2] {
17
+ .tools[data-v-52e48332] {
18
18
  z-index: 2;
19
19
  position: relative;
20
20
  background: #FAFAFA;
21
21
  }
22
- .tools .tools-content[data-v-24d161f2] {
22
+ .tools .tools-content[data-v-52e48332] {
23
23
  display: flex;
24
24
  align-items: center;
25
25
  }
26
- .tools img[data-v-24d161f2] {
26
+ .tools img[data-v-52e48332] {
27
27
  cursor: pointer;
28
28
  }
29
- .tools .box[data-v-24d161f2] {
29
+ .tools .box[data-v-52e48332] {
30
30
  position: relative;
31
31
  }
32
- .tools .box .box-mask[data-v-24d161f2] {
32
+ .tools .box .box-mask[data-v-52e48332] {
33
33
  width: 40px;
34
34
  height: 40px;
35
35
  background: black;
@@ -38,32 +38,31 @@
38
38
  position: absolute;
39
39
  pointer-events: none;
40
40
  }
41
- .tools .tools-title[data-v-24d161f2] {
41
+ .tools .tools-title[data-v-52e48332] {
42
42
  color: #333333;
43
43
  font-size: 18px;
44
44
  display: flex;
45
45
  align-items: center;
46
46
  cursor: pointer;
47
47
  }
48
- .tools .disable[data-v-24d161f2] {
48
+ .tools .disable[data-v-52e48332] {
49
49
  cursor: not-allowed;
50
- -webkit-filter: blur(0.6px);
51
- filter: blur(0.6px);
50
+ filter: blur(0.6px);
52
51
  }
53
- .tools .disable img[data-v-24d161f2] {
52
+ .tools .disable img[data-v-52e48332] {
54
53
  cursor: not-allowed;
55
54
  }
56
- .tools .wrap[data-v-24d161f2] {
55
+ .tools .wrap[data-v-52e48332] {
57
56
  position: relative;
58
57
  }
59
- .tools[data-v-24d161f2] .m-colorPicker {
58
+ .tools[data-v-52e48332] .m-colorPicker {
60
59
  position: absolute;
61
60
  width: 100%;
62
61
  left: 0;
63
62
  z-index: -1;
64
63
  height: 100%;
65
64
  }
66
- .tools[data-v-24d161f2] .m-colorPicker .colorBtn {
65
+ .tools[data-v-52e48332] .m-colorPicker .colorBtn {
67
66
  width: 100%;
68
67
  height: 100%;
69
68
  opacity: 0;
@@ -429,8 +428,7 @@
429
428
  position: absolute;
430
429
  top: 0;
431
430
  right: 0;
432
- -webkit-transform: translate(50%, -50%);
433
- transform: translate(50%, -50%);
431
+ transform: translate(50%, -50%);
434
432
  }
435
433
  .insert-img .img-wrap {
436
434
  display: flex;
@@ -561,7 +559,7 @@
561
559
  color: #999999;
562
560
  margin-bottom: 5px;
563
561
  }
564
- .article-item[data-v-45d58d86] {
562
+ .article-item[data-v-1c406a11] {
565
563
  -webkit-user-select: none;
566
564
  -moz-user-select: none;
567
565
  -ms-user-select: none;
@@ -574,7 +572,7 @@
574
572
  width: 440px;
575
573
  position: relative;
576
574
  }
577
- .article-item .icon[data-v-45d58d86] {
575
+ .article-item .icon[data-v-1c406a11] {
578
576
  width: 14px;
579
577
  -webkit-user-select: none;
580
578
  -moz-user-select: none;
@@ -584,10 +582,9 @@
584
582
  top: 0;
585
583
  right: 0;
586
584
  color: #b7b7b7;
587
- -webkit-transform: translate(50%, -50%);
588
- transform: translate(50%, -50%);
585
+ transform: translate(50%, -50%);
589
586
  }
590
- .article-item img[data-v-45d58d86] {
587
+ .article-item img[data-v-1c406a11] {
591
588
  width: 80px;
592
589
  height: 80px;
593
590
  -o-object-fit: cover;
@@ -595,12 +592,12 @@
595
592
  margin-right: 12px;
596
593
  flex-shrink: 0;
597
594
  }
598
- .article-item .article-item_right[data-v-45d58d86] {
595
+ .article-item .article-item_right[data-v-1c406a11] {
599
596
  display: flex;
600
597
  flex-direction: column;
601
598
  justify-content: space-between;
602
599
  }
603
- .article-item .article-item_right .name[data-v-45d58d86] {
600
+ .article-item .article-item_right .name[data-v-1c406a11] {
604
601
  font-size: 16px;
605
602
  margin-top: 5px;
606
603
  line-height: 22px;
@@ -610,7 +607,7 @@
610
607
  overflow: hidden;
611
608
  text-overflow: ellipsis;
612
609
  }
613
- .article-item .article-item_right .score[data-v-45d58d86] {
610
+ .article-item .article-item_right .score[data-v-1c406a11] {
614
611
  color: #999999;
615
612
  line-height: 17px;
616
613
  font-size: 12px;
@@ -618,18 +615,18 @@
618
615
  align-items: center;
619
616
  margin-bottom: 6px;
620
617
  }
621
- .article-item .article-item_right .score span[data-v-45d58d86]:nth-child(2) {
618
+ .article-item .article-item_right .score span[data-v-1c406a11]:nth-child(2) {
622
619
  margin-left: 10px;
623
620
  }
624
- .article-item .article-item_right .score span[data-v-45d58d86]:nth-child(3) {
621
+ .article-item .article-item_right .score span[data-v-1c406a11]:nth-child(3) {
625
622
  margin-left: 10px;
626
623
  }
627
- .article-item .article-item_right .price[data-v-45d58d86] {
624
+ .article-item .article-item_right .price[data-v-1c406a11] {
628
625
  color: #ff5a25;
629
626
  font-size: 16px;
630
627
  margin-top: 6px;
631
628
  }
632
- .article-item .article-bg[data-v-45d58d86] {
629
+ .article-item .article-bg[data-v-1c406a11] {
633
630
  position: absolute;
634
631
  width: 440px;
635
632
  height: 60px;
@@ -644,7 +641,7 @@
644
641
  -webkit-backdrop-filter: blur(3px);
645
642
  backdrop-filter: blur(3px);
646
643
  }
647
- .article-item .article-bg-height[data-v-45d58d86] {
644
+ .article-item .article-bg-height[data-v-1c406a11] {
648
645
  height: 80px;
649
646
  line-height: 80px;
650
647
  }
@@ -766,8 +763,7 @@
766
763
  width: 440px;
767
764
  height: 100%;
768
765
  left: 50%;
769
- -webkit-transform: translateX(-50%);
770
- transform: translateX(-50%);
766
+ transform: translateX(-50%);
771
767
  line-height: 25px;
772
768
  font-size: 18px;
773
769
  z-index: 1;
@@ -798,8 +794,7 @@
798
794
  color: #fff;
799
795
  z-index: 1;
800
796
  left: 50%;
801
- -webkit-transform: translateX(-50%);
802
- transform: translateX(-50%);
797
+ transform: translateX(-50%);
803
798
  width: 90px;
804
799
  line-height: 32px;
805
800
  height: 32px;
@@ -826,8 +821,7 @@
826
821
  line-height: 32px;
827
822
  border-radius: 4px;
828
823
  left: 50%;
829
- -webkit-transform: translateX(-50%);
830
- transform: translateX(-50%);
824
+ transform: translateX(-50%);
831
825
  }
832
826
  .editor #editor-content .halo-img-content .desc-input-wrap {
833
827
  margin-top: 20px;
@@ -859,8 +853,7 @@
859
853
  text-align: center;
860
854
  position: absolute;
861
855
  top: 0;
862
- -webkit-transform: translate(-40%, -50%);
863
- transform: translate(-40%, -50%);
856
+ transform: translate(-40%, -50%);
864
857
  }
865
858
  .editor #editor-content .halo-img-content .halo-picture-area {
866
859
  display: inline-block;
@@ -873,8 +866,7 @@
873
866
  }
874
867
  .editor #editor-content .halo-img-content .no-upload,
875
868
  .editor #editor-content .halo-img-content .upload-fail {
876
- -webkit-filter: brightness(0.5);
877
- filter: brightness(0.5);
869
+ filter: brightness(0.5);
878
870
  }
879
871
  .editor #editor-content .halo-modify-content {
880
872
  position: relative;
@@ -891,8 +883,7 @@
891
883
  width: 440px;
892
884
  height: 100%;
893
885
  left: 50%;
894
- -webkit-transform: translateX(-50%);
895
- transform: translateX(-50%);
886
+ transform: translateX(-50%);
896
887
  line-height: 25px;
897
888
  font-size: 18px;
898
889
  z-index: 1;
@@ -923,8 +914,7 @@
923
914
  color: #fff;
924
915
  z-index: 1;
925
916
  left: 50%;
926
- -webkit-transform: translateX(-50%);
927
- transform: translateX(-50%);
917
+ transform: translateX(-50%);
928
918
  width: 90px;
929
919
  line-height: 32px;
930
920
  height: 32px;
@@ -956,8 +946,7 @@
956
946
  }
957
947
  .editor #editor-content .halo-modify-content .no-upload,
958
948
  .editor #editor-content .halo-modify-content .upload-fail {
959
- -webkit-filter: brightness(0.5);
960
- filter: brightness(0.5);
949
+ filter: brightness(0.5);
961
950
  }
962
951
  .editor #editor-content .halo-select {
963
952
  outline: 2px solid #1a74ff;
@@ -974,8 +963,7 @@
974
963
  font-size: 18px;
975
964
  left: calc(50% + 250px);
976
965
  top: 0;
977
- -webkit-transform: translate(-50%, -50%);
978
- transform: translate(-50%, -50%);
966
+ transform: translate(-50%, -50%);
979
967
  }
980
968
  .editor #editor-content .video-cover-replace {
981
969
  cursor: pointer;
package/package.json CHANGED
@@ -1,48 +1,48 @@
1
- {
2
- "name": "@haluo/biz",
3
- "description": "rich text",
4
- "version": "2.0.49",
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
- "pub": "npm publish",
23
- "pub:next": "npm publish --tag=next",
24
- "v:next": "npm version prerelease --preid=next"
25
- },
26
- "dependencies": {
27
- "element-plus": "^2.2.28",
28
- "uuid": "^9.0.0",
29
- "vue": "^3.2.36",
30
- "vuedraggable": "^4.1.0"
31
- },
32
- "devDependencies": {
33
- "@element-plus/icons-vue": "^2.0.10",
34
- "@haluo/util": "^1.0.24",
35
- "@types/node": "^18.7.18",
36
- "@types/uuid": "^9.0.0",
37
- "@vitejs/plugin-vue": "^4.0.0",
38
- "autoprefixer": "^10.4.11",
39
- "less": "^4.1.3",
40
- "typescript": "^4.6.4",
41
- "vite": "^4.0.0",
42
- "vite-plugin-dts": "^1.5.0",
43
- "vue-tsc": "^0.40.4"
44
- },
45
- "peerDependencies": {
46
- "vue": "^3.x"
47
- }
48
- }
1
+ {
2
+ "name": "@haluo/biz",
3
+ "description": "rich text",
4
+ "version": "2.0.50",
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
+ "pub": "npm publish",
23
+ "pub:next": "npm publish --tag=next",
24
+ "v:next": "npm version prerelease --preid=next"
25
+ },
26
+ "dependencies": {
27
+ "element-plus": "^2.2.28",
28
+ "uuid": "^9.0.0",
29
+ "vue": "^3.2.36",
30
+ "vuedraggable": "^4.1.0"
31
+ },
32
+ "devDependencies": {
33
+ "@element-plus/icons-vue": "^2.0.10",
34
+ "@haluo/util": "^1.0.24",
35
+ "@types/node": "^18.7.18",
36
+ "@types/uuid": "^9.0.0",
37
+ "@vitejs/plugin-vue": "^4.0.0",
38
+ "autoprefixer": "^10.4.11",
39
+ "less": "^4.1.3",
40
+ "typescript": "^4.6.4",
41
+ "vite": "^4.0.0",
42
+ "vite-plugin-dts": "^1.5.0",
43
+ "vue-tsc": "^0.40.4"
44
+ },
45
+ "peerDependencies": {
46
+ "vue": "^3.x"
47
+ }
48
+ }