@haluo/biz 2.0.10 → 2.0.12

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/haluo-biz.js CHANGED
@@ -35,8 +35,8 @@ const ToolsEnum = {
35
35
  LINK: "link",
36
36
  INSERT_IMAGE: "insertImage",
37
37
  INSERT_VIDEO: "insertVideo",
38
- INSERT_ARTIClE: "insertArticle",
39
- COLLECT_ARTICLES: "collectArticles"
38
+ INSERT_ARTICLE: "insertArticle",
39
+ COLLECT_ARTICLE: "collectArticle"
40
40
  };
41
41
  const ToolBar_vue_vue_type_style_index_0_scoped_true_lang = "";
42
42
  const ToolBar_vue_vue_type_style_index_1_lang = "";
@@ -208,7 +208,7 @@ const _sfc_main$7 = {
208
208
  const font = this.$refs["font"];
209
209
  const list = this.$refs["list"];
210
210
  const img = this.$refs["img"];
211
- if (target.contains(e) || font.contains(e) || list.contains(e) || img.contains(e))
211
+ if ((target == null ? void 0 : target.contains(e)) || (font == null ? void 0 : font.contains(e)) || (list == null ? void 0 : list.contains(e)) || (img == null ? void 0 : img.contains(e)))
212
212
  return;
213
213
  this.popoverVisible = false;
214
214
  this.popoverVisibleFont = false;
@@ -833,7 +833,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
833
833
  ])
834
834
  ])) : createCommentVNode("", true);
835
835
  }
836
- const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-3aae30ac"]]);
836
+ const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-0fe1bef8"]]);
837
837
  const __vite_glob_0_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAmCAYAAAClI5npAAAA0UlEQVR42uWYwQnDMAxFfckAXkFDmGzgS1foDpnFS3gTb+IFtIDyA4UeBKUtNR8qwTvlkAdyfmSletySmRUwgIIJOijXs9VcLxegwNVDRFYLdHtdCg6wrRKY9l4NUFYIqH1WDeTfCXxXE9w5Ar4tQhBwh7SBjSDg2lJJAj47SAI+OwgC7pDuJAGfHQQBnx0kAZ8dBAF3SOtTgCchybjV2QLKFpihW6BAQn6GA0i4KG4g037H4QaSDiTWUMocyweQcFezBjLrer5TFxR/uaKhL6lOdeUQ8G6X1pQAAAAASUVORK5CYII=";
838
838
  const index_vue_vue_type_style_index_0_lang$4 = "";
839
839
  const _hoisted_1$6 = { class: "basic-dialog_title" };
@@ -3166,5 +3166,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3166
3166
  const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
3167
3167
  export {
3168
3168
  Editor,
3169
- ToolBar
3169
+ ToolBar,
3170
+ ToolsEnum
3170
3171
  };
@@ -37,8 +37,8 @@
37
37
  LINK: "link",
38
38
  INSERT_IMAGE: "insertImage",
39
39
  INSERT_VIDEO: "insertVideo",
40
- INSERT_ARTIClE: "insertArticle",
41
- COLLECT_ARTICLES: "collectArticles"
40
+ INSERT_ARTICLE: "insertArticle",
41
+ COLLECT_ARTICLE: "collectArticle"
42
42
  };
43
43
  const ToolBar_vue_vue_type_style_index_0_scoped_true_lang = "";
44
44
  const ToolBar_vue_vue_type_style_index_1_lang = "";
@@ -210,7 +210,7 @@
210
210
  const font = this.$refs["font"];
211
211
  const list = this.$refs["list"];
212
212
  const img = this.$refs["img"];
213
- if (target.contains(e) || font.contains(e) || list.contains(e) || img.contains(e))
213
+ if ((target == null ? void 0 : target.contains(e)) || (font == null ? void 0 : font.contains(e)) || (list == null ? void 0 : list.contains(e)) || (img == null ? void 0 : img.contains(e)))
214
214
  return;
215
215
  this.popoverVisible = false;
216
216
  this.popoverVisibleFont = false;
@@ -835,7 +835,7 @@
835
835
  ])
836
836
  ])) : vue.createCommentVNode("", true);
837
837
  }
838
- const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-3aae30ac"]]);
838
+ const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-0fe1bef8"]]);
839
839
  const __vite_glob_0_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAmCAYAAAClI5npAAAA0UlEQVR42uWYwQnDMAxFfckAXkFDmGzgS1foDpnFS3gTb+IFtIDyA4UeBKUtNR8qwTvlkAdyfmSletySmRUwgIIJOijXs9VcLxegwNVDRFYLdHtdCg6wrRKY9l4NUFYIqH1WDeTfCXxXE9w5Ar4tQhBwh7SBjSDg2lJJAj47SAI+OwgC7pDuJAGfHQQBnx0kAZ8dBAF3SOtTgCchybjV2QLKFpihW6BAQn6GA0i4KG4g037H4QaSDiTWUMocyweQcFezBjLrer5TFxR/uaKhL6lOdeUQ8G6X1pQAAAAASUVORK5CYII=";
840
840
  const index_vue_vue_type_style_index_0_lang$4 = "";
841
841
  const _hoisted_1$6 = { class: "basic-dialog_title" };
@@ -6810,5 +6810,6 @@
6810
6810
  }, Symbol.toStringTag, { value: "Module" }));
6811
6811
  exports2.Editor = Editor;
6812
6812
  exports2.ToolBar = ToolBar;
6813
+ exports2.ToolsEnum = ToolsEnum;
6813
6814
  Object.defineProperties(exports2, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
6814
6815
  });
package/dist/style.css CHANGED
@@ -1,24 +1,24 @@
1
- .m12[data-v-3aae30ac] {
1
+ .m12[data-v-0fe1bef8] {
2
2
  margin: 0 12px;
3
3
  }
4
- .ml16[data-v-3aae30ac] {
4
+ .ml16[data-v-0fe1bef8] {
5
5
  margin-left: 16px;
6
6
  }
7
- .mr12[data-v-3aae30ac] {
7
+ .mr12[data-v-0fe1bef8] {
8
8
  margin-right: 12px;
9
9
  }
10
- .ml12[data-v-3aae30ac] {
10
+ .ml12[data-v-0fe1bef8] {
11
11
  margin-left: 12px;
12
12
  }
13
- .mr18[data-v-3aae30ac] {
13
+ .mr18[data-v-0fe1bef8] {
14
14
  margin-right: 18px;
15
15
  }
16
- .tools[data-v-3aae30ac] {
16
+ .tools[data-v-0fe1bef8] {
17
17
  z-index: 2;
18
18
  position: relative;
19
19
  background: #FAFAFA;
20
20
  }
21
- .tools .tools-content[data-v-3aae30ac] {
21
+ .tools .tools-content[data-v-0fe1bef8] {
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-3aae30ac] {
29
+ .tools img[data-v-0fe1bef8] {
30
30
  cursor: pointer;
31
31
  }
32
- .tools .box[data-v-3aae30ac] {
32
+ .tools .box[data-v-0fe1bef8] {
33
33
  position: relative;
34
34
  }
35
- .tools .box .box-mask[data-v-3aae30ac] {
35
+ .tools .box .box-mask[data-v-0fe1bef8] {
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-3aae30ac] {
44
+ .tools .tools-title[data-v-0fe1bef8] {
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-3aae30ac] {
55
+ .tools .disable[data-v-0fe1bef8] {
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-3aae30ac] {
60
+ .tools .disable img[data-v-0fe1bef8] {
61
61
  cursor: not-allowed;
62
62
  }
63
- .tools .wrap[data-v-3aae30ac] {
63
+ .tools .wrap[data-v-0fe1bef8] {
64
64
  position: relative;
65
65
  }
66
- .tools[data-v-3aae30ac] .m-colorPicker {
66
+ .tools[data-v-0fe1bef8] .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-3aae30ac] .m-colorPicker .colorBtn {
73
+ .tools[data-v-0fe1bef8] .m-colorPicker .colorBtn {
74
74
  width: 100%;
75
75
  height: 100%;
76
76
  opacity: 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haluo/biz",
3
3
  "description": "rich text",
4
- "version": "2.0.10",
4
+ "version": "2.0.12",
5
5
  "type": "module",
6
6
  "module": "./dist/haluo-biz.js",
7
7
  "main": "./dist/haluo-biz.umd.cjs",