@haluo/biz 1.0.19 → 2.0.1

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 CHANGED
@@ -1,8 +1,13 @@
1
+
2
+ # 说明
3
+ 线上vue3版本 tag = online 2.0.x 分支online
4
+ 开发测试vue3版本 tag = next 1.0.x 分支vue3
5
+ laster版本 vue2 测试线上一个分支 分支online develop
1
6
  # 发布
2
7
  ```
3
- npm publish --tag=next
8
+ npm publish --tag=online
4
9
  ```
5
10
  # 安装
6
11
  ```
7
- pnpm add @haluo/biz@next
12
+ pnpm add @haluo/biz@online
8
13
  ```
package/dist/haluo-biz.js CHANGED
@@ -232,11 +232,11 @@ const _hoisted_1$7 = {
232
232
  };
233
233
  const _hoisted_2$7 = { class: "tools-content" };
234
234
  const _hoisted_3$7 = ["src"];
235
- const _hoisted_4$3 = ["src"];
236
- const _hoisted_5$3 = ["src"];
235
+ const _hoisted_4$6 = ["src"];
236
+ const _hoisted_5$5 = ["src"];
237
237
  const _hoisted_6$2 = { class: "box" };
238
- const _hoisted_7$1 = ["src"];
239
- const _hoisted_8 = {
238
+ const _hoisted_7$2 = ["src"];
239
+ const _hoisted_8$1 = {
240
240
  key: 0,
241
241
  class: "box-mask"
242
242
  };
@@ -334,7 +334,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
334
334
  height: "40",
335
335
  alt: "",
336
336
  onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
337
- }, null, 12, _hoisted_4$3)
337
+ }, null, 12, _hoisted_4$6)
338
338
  ]),
339
339
  _: 1
340
340
  }),
@@ -355,7 +355,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
355
355
  height: "40",
356
356
  alt: "",
357
357
  onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
358
- }, null, 8, _hoisted_5$3)
358
+ }, null, 8, _hoisted_5$5)
359
359
  ]),
360
360
  _: 1
361
361
  }),
@@ -373,8 +373,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
373
373
  height: "40",
374
374
  alt: "",
375
375
  onClick: _cache[3] || (_cache[3] = (...args) => $options.copyFormat && $options.copyFormat(...args))
376
- }, null, 8, _hoisted_7$1),
377
- $props.editor.cursorStyle !== "auto" ? (openBlock(), createElementBlock("div", _hoisted_8)) : createCommentVNode("", true)
376
+ }, null, 8, _hoisted_7$2),
377
+ $props.editor.cursorStyle !== "auto" ? (openBlock(), createElementBlock("div", _hoisted_8$1)) : createCommentVNode("", true)
378
378
  ])
379
379
  ]),
380
380
  _: 1
@@ -814,11 +814,12 @@ const _hoisted_1$6 = { class: "basic-dialog_title" };
814
814
  const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
815
815
  const _hoisted_3$6 = {
816
816
  key: 0,
817
- slot: "footer",
818
817
  class: "dialog-footer"
819
818
  };
819
+ const _hoisted_4$5 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
820
+ const _hoisted_5$4 = /* @__PURE__ */ createTextVNode("\u786E\u8BA4");
820
821
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
821
- __name: "index",
822
+ name: "index",
822
823
  props: {
823
824
  visible: { type: Boolean, default: false },
824
825
  showBtn: { type: Boolean, default: true },
@@ -863,8 +864,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
863
864
  ])
864
865
  ])
865
866
  ]),
866
- default: withCtx(() => [
867
- renderSlot(_ctx.$slots, "default"),
867
+ footer: withCtx(() => [
868
868
  __props.showBtn ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
869
869
  createVNode(unref(ElButton), {
870
870
  style: { "width": "120px", "border-color": "#CCCCCC", "color": "#333333" },
@@ -873,7 +873,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
873
873
  onClick: handleClose
874
874
  }, {
875
875
  default: withCtx(() => [
876
- createTextVNode("\u53D6\u6D88")
876
+ _hoisted_4$5
877
877
  ]),
878
878
  _: 1
879
879
  }),
@@ -884,12 +884,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
884
884
  onClick: confirm
885
885
  }, {
886
886
  default: withCtx(() => [
887
- createTextVNode("\u786E\u8BA4")
887
+ _hoisted_5$4
888
888
  ]),
889
889
  _: 1
890
890
  })
891
891
  ])) : createCommentVNode("", true)
892
892
  ]),
893
+ default: withCtx(() => [
894
+ renderSlot(_ctx.$slots, "default")
895
+ ]),
893
896
  _: 3
894
897
  }, 8, ["modelValue", "width"]);
895
898
  };
@@ -1039,15 +1042,17 @@ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("span", null, [
1039
1042
  /* @__PURE__ */ createElementVNode("strong", { style: { "margin-left": "20px", "color": "#FF5A25" } }, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u516518\u4E2A\u6708\u5185\u7684\u63A8\u8350\u5185\u5BB9")
1040
1043
  ], -1);
1041
1044
  const _hoisted_2$5 = { class: "insert-article" };
1042
- const _hoisted_3$5 = { class: "insert-article_input" };
1043
- const _hoisted_4$2 = {
1045
+ const _hoisted_3$5 = /* @__PURE__ */ createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9");
1046
+ const _hoisted_4$4 = /* @__PURE__ */ createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
1047
+ const _hoisted_5$3 = { class: "insert-article_input" };
1048
+ const _hoisted_6$1 = {
1044
1049
  key: 0,
1045
1050
  class: "nodata"
1046
1051
  };
1047
- const _hoisted_5$2 = ["infinite-scroll-disabled"];
1048
- const _hoisted_6$1 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1052
+ const _hoisted_7$1 = ["infinite-scroll-disabled"];
1053
+ const _hoisted_8 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1049
1054
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1050
- __name: "index",
1055
+ name: "index",
1051
1056
  props: {
1052
1057
  visible: { type: Boolean, default: false },
1053
1058
  getList: null
@@ -1142,7 +1147,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1142
1147
  label: "1"
1143
1148
  }, {
1144
1149
  default: withCtx(() => [
1145
- createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9")
1150
+ _hoisted_3$5
1146
1151
  ]),
1147
1152
  _: 1
1148
1153
  }, 8, ["modelValue"]),
@@ -1152,12 +1157,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1152
1157
  label: "2"
1153
1158
  }, {
1154
1159
  default: withCtx(() => [
1155
- createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9")
1160
+ _hoisted_4$4
1156
1161
  ]),
1157
1162
  _: 1
1158
1163
  }, 8, ["modelValue"])
1159
1164
  ]),
1160
- createElementVNode("div", _hoisted_3$5, [
1165
+ createElementVNode("div", _hoisted_5$3, [
1161
1166
  createVNode(unref(ElInput), {
1162
1167
  modelValue: data.params.title,
1163
1168
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.params.title = $event),
@@ -1174,7 +1179,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1174
1179
  _: 1
1175
1180
  }, 8, ["modelValue"])
1176
1181
  ]),
1177
- data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div", _hoisted_4$2, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : withDirectives((openBlock(), createElementBlock("div", {
1182
+ data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div", _hoisted_6$1, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : withDirectives((openBlock(), createElementBlock("div", {
1178
1183
  key: 1,
1179
1184
  "infinite-scroll-immediate": false,
1180
1185
  class: "insert-article_list",
@@ -1192,7 +1197,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1192
1197
  onChange: ($event) => select(item)
1193
1198
  }, {
1194
1199
  default: withCtx(() => [
1195
- createElementVNode("div", _hoisted_6$1, [
1200
+ createElementVNode("div", _hoisted_8, [
1196
1201
  createElementVNode("span", null, toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
1197
1202
  createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
1198
1203
  ])
@@ -1201,7 +1206,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1201
1206
  }, 1032, ["modelValue", "label", "onChange"])
1202
1207
  ]);
1203
1208
  }), 128))
1204
- ], 8, _hoisted_5$2)), [
1209
+ ], 8, _hoisted_7$1)), [
1205
1210
  [unref(vInfiniteScroll), getArticleList]
1206
1211
  ])
1207
1212
  ])
@@ -1257,15 +1262,15 @@ const _hoisted_2$4 = {
1257
1262
  class: "upload-wrap"
1258
1263
  };
1259
1264
  const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("span", null, "\u672C\u5730\u4E0A\u4F20", -1);
1260
- const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("span", { class: "remark" }, "\u652F\u6301jpg\u3001jpeg\u3001png\u7B49\u591A\u79CD\u683C\u5F0F\uFF0C\u5355\u5F20\u56FE\u7247\u6700\u5927\u652F\u630120MB", -1);
1261
- const _hoisted_5$1 = {
1265
+ const _hoisted_4$3 = /* @__PURE__ */ createElementVNode("span", { class: "remark" }, "\u652F\u6301jpg\u3001jpeg\u3001png\u7B49\u591A\u79CD\u683C\u5F0F\uFF0C\u5355\u5F20\u56FE\u7247\u6700\u5927\u652F\u630120MB", -1);
1266
+ const _hoisted_5$2 = {
1262
1267
  key: 1,
1263
1268
  class: "img-list"
1264
1269
  };
1265
1270
  const _hoisted_6 = ["src"];
1266
1271
  const _hoisted_7 = { class: "upload-btn" };
1267
1272
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1268
- __name: "index",
1273
+ name: "index",
1269
1274
  props: {
1270
1275
  visible: { type: Boolean, default: false },
1271
1276
  imgList: { default: [] }
@@ -1338,8 +1343,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1338
1343
  }),
1339
1344
  _hoisted_3$4
1340
1345
  ]),
1341
- _hoisted_4$1
1342
- ])) : (openBlock(), createElementBlock("div", _hoisted_5$1, [
1346
+ _hoisted_4$3
1347
+ ])) : (openBlock(), createElementBlock("div", _hoisted_5$2, [
1343
1348
  createVNode(unref(draggable), {
1344
1349
  modelValue: unref(imgListTemp),
1345
1350
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(imgListTemp) ? imgListTemp.value = $event : null),
@@ -1403,9 +1408,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1403
1408
  const index_vue_vue_type_style_index_0_lang$1 = "";
1404
1409
  const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
1405
1410
  const _hoisted_2$3 = { class: "insert-video" };
1406
- const _hoisted_3$3 = /* @__PURE__ */ createElementVNode("span", { class: "remark" }, "\u4E3A\u4E86\u83B7\u5F97\u66F4\u9AD8\u7684\u63A8\u8350\u91CF\u548C\u70B9\u51FB\u91CF\uFF0C\u5EFA\u8BAE\u4E0A\u4F20720p\uFF081280*720\uFF09\u6216\u66F4\u9AD8\u5206\u8FA8\u7387\u7684\u89C6\u9891\uFF0C\u89C6\u9891\u683C\u5F0F\u4E3A.mp4\u6216.mov\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC71G", -1);
1411
+ const _hoisted_3$3 = /* @__PURE__ */ createTextVNode("\u9009\u62E9\u89C6\u9891");
1412
+ const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("span", { class: "remark" }, "\u4E3A\u4E86\u83B7\u5F97\u66F4\u9AD8\u7684\u63A8\u8350\u91CF\u548C\u70B9\u51FB\u91CF\uFF0C\u5EFA\u8BAE\u4E0A\u4F20720p\uFF081280*720\uFF09\u6216\u66F4\u9AD8\u5206\u8FA8\u7387\u7684\u89C6\u9891\uFF0C\u89C6\u9891\u683C\u5F0F\u4E3A.mp4\u6216.mov\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC71G", -1);
1407
1413
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1408
- __name: "index",
1414
+ name: "index",
1409
1415
  props: {
1410
1416
  visible: { type: Boolean, default: false },
1411
1417
  fileSelected: null
@@ -1443,11 +1449,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1443
1449
  onClick: emitEvent
1444
1450
  }, {
1445
1451
  default: withCtx(() => [
1446
- createTextVNode("\u9009\u62E9\u89C6\u9891")
1452
+ _hoisted_3$3
1447
1453
  ]),
1448
1454
  _: 1
1449
1455
  }),
1450
- _hoisted_3$3,
1456
+ _hoisted_4$2,
1451
1457
  createElementVNode("input", {
1452
1458
  type: "file",
1453
1459
  accept: "video/*",
@@ -1509,11 +1515,14 @@ const _sfc_main$2 = {
1509
1515
  var event = new MouseEvent("click");
1510
1516
  var ele = document.getElementsByClassName("video-input");
1511
1517
  ele[0].dispatchEvent(event);
1518
+ },
1519
+ setStatus(val) {
1520
+ this.$emit("update:visible", val);
1512
1521
  }
1513
1522
  }
1514
1523
  };
1515
- const _hoisted_1$2 = /* @__PURE__ */ createElementVNode("div", { slot: "title" }, [
1516
- /* @__PURE__ */ createElementVNode("span", null, "\u91C7\u96C6\u6587\u7AE0"),
1524
+ const _hoisted_1$2 = /* @__PURE__ */ createElementVNode("div", null, [
1525
+ /* @__PURE__ */ createElementVNode("span", null, "\u91C7\u96C6\u6587\u7AE01"),
1517
1526
  /* @__PURE__ */ createElementVNode("span", { class: "collect-article_lable" }, "\u5982\u9700\u83B7\u5F97\u6B63\u5F0F\u4F7F\u7528\u6743\uFF0C\u8BF7\u81EA\u884C\u8054\u7CFB\u7248\u6743\u6240\u6709\u8005")
1518
1527
  ], -1);
1519
1528
  const _hoisted_2$2 = { class: "collect-article_content" };
@@ -1526,8 +1535,10 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
1526
1535
  width: "600px",
1527
1536
  height: "50px"
1528
1537
  }, {
1538
+ title: withCtx(() => [
1539
+ _hoisted_1$2
1540
+ ]),
1529
1541
  default: withCtx(() => [
1530
- _hoisted_1$2,
1531
1542
  createElementVNode("div", _hoisted_2$2, [
1532
1543
  _hoisted_3$2,
1533
1544
  createVNode(_component_el_input, {
@@ -1572,8 +1583,8 @@ const _hoisted_1$1 = {
1572
1583
  };
1573
1584
  const _hoisted_2$1 = ["src"];
1574
1585
  const _hoisted_3$1 = { class: "article-item_right" };
1575
- const _hoisted_4 = { class: "name" };
1576
- const _hoisted_5 = { class: "score" };
1586
+ const _hoisted_4$1 = { class: "name" };
1587
+ const _hoisted_5$1 = { class: "score" };
1577
1588
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1578
1589
  const _component_el_icon_error = resolveComponent("el-icon-error");
1579
1590
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
@@ -1583,8 +1594,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1583
1594
  alt: ""
1584
1595
  }, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
1585
1596
  createElementVNode("div", _hoisted_3$1, [
1586
- createElementVNode("div", _hoisted_4, toDisplayString($props.article.title), 1),
1587
- createElementVNode("div", _hoisted_5, [
1597
+ createElementVNode("div", _hoisted_4$1, toDisplayString($props.article.title), 1),
1598
+ createElementVNode("div", _hoisted_5$1, [
1588
1599
  createElementVNode("span", null, toDisplayString($props.article.author), 1),
1589
1600
  createElementVNode("span", null, toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
1590
1601
  createElementVNode("span", null, toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
@@ -2719,16 +2730,11 @@ const _sfc_main = {
2719
2730
  getSticker(type, handler) {
2720
2731
  this.setSticker(type.fragment.children);
2721
2732
  },
2722
- setSticker(data, isImport) {
2733
+ setSticker(data) {
2723
2734
  const me = this;
2724
2735
  data = Array.from(data);
2725
2736
  data.map(function(value, index) {
2726
- let htmlArr = [];
2727
- if (isImport) {
2728
- htmlArr = value.outerHTML.replace(/<img(.*?)src="(.*?)"(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<img(.*?)src='(.*?)'(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<a href="(.*?)"(.*?)>(.*?)<\/a>/g, "(delimiter)$3(delimiter)").replace(/<p (.*?)>(.*?)<\/p>/g, '(delimiter)<p class="halo-paragraph" $1>$2</p>(delimiter)').split("(delimiter)");
2729
- } else {
2730
- htmlArr = (value.innerHTML || value.outerHTML).replace(/<img(.*?)src="(.*?)"(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<img(.*?)src='(.*?)'(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<a href="(.*?)"(.*?)>(.*?)<\/a>/g, "(delimiter)$3(delimiter)").replace(/<p (.*?)>(.*?)<\/p>/g, "(delimiter)$2(delimiter)").replace(/<\/?.+?>/g, "").split("(delimiter)");
2731
- }
2737
+ const htmlArr = (value.innerHTML || value.outerHTML).replace(/<img(.*?)src="(.*?)"(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<img(.*?)src='(.*?)'(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<a href="(.*?)"(.*?)>(.*?)<\/a>/g, "(delimiter)$3(delimiter)").replace(/<p (.*?)>(.*?)<\/p>/g, "(delimiter)$2(delimiter)").replace(/<\/?.+?>/g, "").split("(delimiter)");
2732
2738
  htmlArr.map(function(nValue) {
2733
2739
  if (!nValue || nValue === "&nbsp;") {
2734
2740
  return;
@@ -2892,7 +2898,7 @@ const _sfc_main = {
2892
2898
  data.data.content = data.data.content.replace(/<a href="(.*?)"(.*?)>/g, "").replace(/<\/a>/g, "").replace(/<iframe([^<>]*)>([^<>]*)<\/iframe>/g, "").replace(/<video([^<>]*)>([^<>]*)<\/video>/g, "");
2893
2899
  const importContent = document.createElement("div");
2894
2900
  importContent.innerHTML = data.data.content;
2895
- me.setSticker(importContent.children, true);
2901
+ me.setSticker(importContent.children);
2896
2902
  me.closeDialog();
2897
2903
  me.linkContent = "";
2898
2904
  return;
@@ -2941,6 +2947,8 @@ const _hoisted_3 = {
2941
2947
  slot: "footer",
2942
2948
  class: "dialog-footer"
2943
2949
  };
2950
+ const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u53D6 \u6D88");
2951
+ const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u786E \u5B9A");
2944
2952
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2945
2953
  const _component_el_input = resolveComponent("el-input");
2946
2954
  const _component_el_form_item = resolveComponent("el-form-item");
@@ -3008,7 +3016,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3008
3016
  onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
3009
3017
  }, {
3010
3018
  default: withCtx(() => [
3011
- createTextVNode("\u53D6 \u6D88")
3019
+ _hoisted_4
3012
3020
  ]),
3013
3021
  _: 1
3014
3022
  }),
@@ -3017,7 +3025,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3017
3025
  onClick: $options.insertLink
3018
3026
  }, {
3019
3027
  default: withCtx(() => [
3020
- createTextVNode("\u786E \u5B9A")
3028
+ _hoisted_5
3021
3029
  ]),
3022
3030
  _: 1
3023
3031
  }, 8, ["onClick"])
@@ -3035,7 +3043,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3035
3043
  }, null, 8, ["article", "visible", "getList", "onDelete", "onChange"]),
3036
3044
  createVNode(_component_ImgUpload, {
3037
3045
  "img-list": $data.imgList,
3038
- "onUpdate:imgList": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
3046
+ "onUpdate:img-list": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
3039
3047
  visible: $data.visibleImg,
3040
3048
  "onUpdate:visible": _cache[7] || (_cache[7] = ($event) => $data.visibleImg = $event),
3041
3049
  onSubmit: $options.submitImg
@@ -3047,7 +3055,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3047
3055
  }, null, 8, ["visible", "file-selected"]),
3048
3056
  createVNode(_component_CollectArticle, {
3049
3057
  "link-content": $data.linkContent,
3050
- "onUpdate:linkContent": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
3058
+ "onUpdate:link-content": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
3051
3059
  visible: $data.visibleCollectArticle,
3052
3060
  "onUpdate:visible": _cache[10] || (_cache[10] = ($event) => $data.visibleCollectArticle = $event),
3053
3061
  onSubmit: $options.confirmLink
@@ -234,11 +234,11 @@
234
234
  };
235
235
  const _hoisted_2$7 = { class: "tools-content" };
236
236
  const _hoisted_3$7 = ["src"];
237
- const _hoisted_4$3 = ["src"];
238
- const _hoisted_5$3 = ["src"];
237
+ const _hoisted_4$6 = ["src"];
238
+ const _hoisted_5$5 = ["src"];
239
239
  const _hoisted_6$2 = { class: "box" };
240
- const _hoisted_7$1 = ["src"];
241
- const _hoisted_8 = {
240
+ const _hoisted_7$2 = ["src"];
241
+ const _hoisted_8$1 = {
242
242
  key: 0,
243
243
  class: "box-mask"
244
244
  };
@@ -336,7 +336,7 @@
336
336
  height: "40",
337
337
  alt: "",
338
338
  onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
339
- }, null, 12, _hoisted_4$3)
339
+ }, null, 12, _hoisted_4$6)
340
340
  ]),
341
341
  _: 1
342
342
  }),
@@ -357,7 +357,7 @@
357
357
  height: "40",
358
358
  alt: "",
359
359
  onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
360
- }, null, 8, _hoisted_5$3)
360
+ }, null, 8, _hoisted_5$5)
361
361
  ]),
362
362
  _: 1
363
363
  }),
@@ -375,8 +375,8 @@
375
375
  height: "40",
376
376
  alt: "",
377
377
  onClick: _cache[3] || (_cache[3] = (...args) => $options.copyFormat && $options.copyFormat(...args))
378
- }, null, 8, _hoisted_7$1),
379
- $props.editor.cursorStyle !== "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8)) : vue.createCommentVNode("", true)
378
+ }, null, 8, _hoisted_7$2),
379
+ $props.editor.cursorStyle !== "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1)) : vue.createCommentVNode("", true)
380
380
  ])
381
381
  ]),
382
382
  _: 1
@@ -816,11 +816,12 @@
816
816
  const _hoisted_2$6 = /* @__PURE__ */ vue.createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
817
817
  const _hoisted_3$6 = {
818
818
  key: 0,
819
- slot: "footer",
820
819
  class: "dialog-footer"
821
820
  };
821
+ const _hoisted_4$5 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
822
+ const _hoisted_5$4 = /* @__PURE__ */ vue.createTextVNode("\u786E\u8BA4");
822
823
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
823
- __name: "index",
824
+ name: "index",
824
825
  props: {
825
826
  visible: { type: Boolean, default: false },
826
827
  showBtn: { type: Boolean, default: true },
@@ -865,8 +866,7 @@
865
866
  ])
866
867
  ])
867
868
  ]),
868
- default: vue.withCtx(() => [
869
- vue.renderSlot(_ctx.$slots, "default"),
869
+ footer: vue.withCtx(() => [
870
870
  __props.showBtn ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, [
871
871
  vue.createVNode(vue.unref(elementPlus.ElButton), {
872
872
  style: { "width": "120px", "border-color": "#CCCCCC", "color": "#333333" },
@@ -875,7 +875,7 @@
875
875
  onClick: handleClose
876
876
  }, {
877
877
  default: vue.withCtx(() => [
878
- vue.createTextVNode("\u53D6\u6D88")
878
+ _hoisted_4$5
879
879
  ]),
880
880
  _: 1
881
881
  }),
@@ -886,12 +886,15 @@
886
886
  onClick: confirm
887
887
  }, {
888
888
  default: vue.withCtx(() => [
889
- vue.createTextVNode("\u786E\u8BA4")
889
+ _hoisted_5$4
890
890
  ]),
891
891
  _: 1
892
892
  })
893
893
  ])) : vue.createCommentVNode("", true)
894
894
  ]),
895
+ default: vue.withCtx(() => [
896
+ vue.renderSlot(_ctx.$slots, "default")
897
+ ]),
895
898
  _: 3
896
899
  }, 8, ["modelValue", "width"]);
897
900
  };
@@ -1041,15 +1044,17 @@
1041
1044
  /* @__PURE__ */ vue.createElementVNode("strong", { style: { "margin-left": "20px", "color": "#FF5A25" } }, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u516518\u4E2A\u6708\u5185\u7684\u63A8\u8350\u5185\u5BB9")
1042
1045
  ], -1);
1043
1046
  const _hoisted_2$5 = { class: "insert-article" };
1044
- const _hoisted_3$5 = { class: "insert-article_input" };
1045
- const _hoisted_4$2 = {
1047
+ const _hoisted_3$5 = /* @__PURE__ */ vue.createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9");
1048
+ const _hoisted_4$4 = /* @__PURE__ */ vue.createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
1049
+ const _hoisted_5$3 = { class: "insert-article_input" };
1050
+ const _hoisted_6$1 = {
1046
1051
  key: 0,
1047
1052
  class: "nodata"
1048
1053
  };
1049
- const _hoisted_5$2 = ["infinite-scroll-disabled"];
1050
- const _hoisted_6$1 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1054
+ const _hoisted_7$1 = ["infinite-scroll-disabled"];
1055
+ const _hoisted_8 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1051
1056
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
1052
- __name: "index",
1057
+ name: "index",
1053
1058
  props: {
1054
1059
  visible: { type: Boolean, default: false },
1055
1060
  getList: null
@@ -1144,7 +1149,7 @@
1144
1149
  label: "1"
1145
1150
  }, {
1146
1151
  default: vue.withCtx(() => [
1147
- vue.createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9")
1152
+ _hoisted_3$5
1148
1153
  ]),
1149
1154
  _: 1
1150
1155
  }, 8, ["modelValue"]),
@@ -1154,12 +1159,12 @@
1154
1159
  label: "2"
1155
1160
  }, {
1156
1161
  default: vue.withCtx(() => [
1157
- vue.createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9")
1162
+ _hoisted_4$4
1158
1163
  ]),
1159
1164
  _: 1
1160
1165
  }, 8, ["modelValue"])
1161
1166
  ]),
1162
- vue.createElementVNode("div", _hoisted_3$5, [
1167
+ vue.createElementVNode("div", _hoisted_5$3, [
1163
1168
  vue.createVNode(vue.unref(elementPlus.ElInput), {
1164
1169
  modelValue: data.params.title,
1165
1170
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.params.title = $event),
@@ -1176,7 +1181,7 @@
1176
1181
  _: 1
1177
1182
  }, 8, ["modelValue"])
1178
1183
  ]),
1179
- data.data.length === 0 && !data.busy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
1184
+ data.data.length === 0 && !data.busy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
1180
1185
  key: 1,
1181
1186
  "infinite-scroll-immediate": false,
1182
1187
  class: "insert-article_list",
@@ -1194,7 +1199,7 @@
1194
1199
  onChange: ($event) => select(item)
1195
1200
  }, {
1196
1201
  default: vue.withCtx(() => [
1197
- vue.createElementVNode("div", _hoisted_6$1, [
1202
+ vue.createElementVNode("div", _hoisted_8, [
1198
1203
  vue.createElementVNode("span", null, vue.toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
1199
1204
  vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
1200
1205
  ])
@@ -1203,7 +1208,7 @@
1203
1208
  }, 1032, ["modelValue", "label", "onChange"])
1204
1209
  ]);
1205
1210
  }), 128))
1206
- ], 8, _hoisted_5$2)), [
1211
+ ], 8, _hoisted_7$1)), [
1207
1212
  [vue.unref(vInfiniteScroll), getArticleList]
1208
1213
  ])
1209
1214
  ])
@@ -1259,15 +1264,15 @@
1259
1264
  class: "upload-wrap"
1260
1265
  };
1261
1266
  const _hoisted_3$4 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u672C\u5730\u4E0A\u4F20", -1);
1262
- const _hoisted_4$1 = /* @__PURE__ */ vue.createElementVNode("span", { class: "remark" }, "\u652F\u6301jpg\u3001jpeg\u3001png\u7B49\u591A\u79CD\u683C\u5F0F\uFF0C\u5355\u5F20\u56FE\u7247\u6700\u5927\u652F\u630120MB", -1);
1263
- const _hoisted_5$1 = {
1267
+ const _hoisted_4$3 = /* @__PURE__ */ vue.createElementVNode("span", { class: "remark" }, "\u652F\u6301jpg\u3001jpeg\u3001png\u7B49\u591A\u79CD\u683C\u5F0F\uFF0C\u5355\u5F20\u56FE\u7247\u6700\u5927\u652F\u630120MB", -1);
1268
+ const _hoisted_5$2 = {
1264
1269
  key: 1,
1265
1270
  class: "img-list"
1266
1271
  };
1267
1272
  const _hoisted_6 = ["src"];
1268
1273
  const _hoisted_7 = { class: "upload-btn" };
1269
1274
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
1270
- __name: "index",
1275
+ name: "index",
1271
1276
  props: {
1272
1277
  visible: { type: Boolean, default: false },
1273
1278
  imgList: { default: [] }
@@ -1340,8 +1345,8 @@
1340
1345
  }),
1341
1346
  _hoisted_3$4
1342
1347
  ]),
1343
- _hoisted_4$1
1344
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [
1348
+ _hoisted_4$3
1349
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, [
1345
1350
  vue.createVNode(vue.unref(draggable__default.default), {
1346
1351
  modelValue: vue.unref(imgListTemp),
1347
1352
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(imgListTemp) ? imgListTemp.value = $event : null),
@@ -1405,9 +1410,10 @@
1405
1410
  const index_vue_vue_type_style_index_0_lang$1 = "";
1406
1411
  const _hoisted_1$3 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
1407
1412
  const _hoisted_2$3 = { class: "insert-video" };
1408
- const _hoisted_3$3 = /* @__PURE__ */ vue.createElementVNode("span", { class: "remark" }, "\u4E3A\u4E86\u83B7\u5F97\u66F4\u9AD8\u7684\u63A8\u8350\u91CF\u548C\u70B9\u51FB\u91CF\uFF0C\u5EFA\u8BAE\u4E0A\u4F20720p\uFF081280*720\uFF09\u6216\u66F4\u9AD8\u5206\u8FA8\u7387\u7684\u89C6\u9891\uFF0C\u89C6\u9891\u683C\u5F0F\u4E3A.mp4\u6216.mov\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC71G", -1);
1413
+ const _hoisted_3$3 = /* @__PURE__ */ vue.createTextVNode("\u9009\u62E9\u89C6\u9891");
1414
+ const _hoisted_4$2 = /* @__PURE__ */ vue.createElementVNode("span", { class: "remark" }, "\u4E3A\u4E86\u83B7\u5F97\u66F4\u9AD8\u7684\u63A8\u8350\u91CF\u548C\u70B9\u51FB\u91CF\uFF0C\u5EFA\u8BAE\u4E0A\u4F20720p\uFF081280*720\uFF09\u6216\u66F4\u9AD8\u5206\u8FA8\u7387\u7684\u89C6\u9891\uFF0C\u89C6\u9891\u683C\u5F0F\u4E3A.mp4\u6216.mov\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC71G", -1);
1409
1415
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
1410
- __name: "index",
1416
+ name: "index",
1411
1417
  props: {
1412
1418
  visible: { type: Boolean, default: false },
1413
1419
  fileSelected: null
@@ -1445,11 +1451,11 @@
1445
1451
  onClick: emitEvent
1446
1452
  }, {
1447
1453
  default: vue.withCtx(() => [
1448
- vue.createTextVNode("\u9009\u62E9\u89C6\u9891")
1454
+ _hoisted_3$3
1449
1455
  ]),
1450
1456
  _: 1
1451
1457
  }),
1452
- _hoisted_3$3,
1458
+ _hoisted_4$2,
1453
1459
  vue.createElementVNode("input", {
1454
1460
  type: "file",
1455
1461
  accept: "video/*",
@@ -1511,11 +1517,14 @@
1511
1517
  var event = new MouseEvent("click");
1512
1518
  var ele = document.getElementsByClassName("video-input");
1513
1519
  ele[0].dispatchEvent(event);
1520
+ },
1521
+ setStatus(val) {
1522
+ this.$emit("update:visible", val);
1514
1523
  }
1515
1524
  }
1516
1525
  };
1517
- const _hoisted_1$2 = /* @__PURE__ */ vue.createElementVNode("div", { slot: "title" }, [
1518
- /* @__PURE__ */ vue.createElementVNode("span", null, "\u91C7\u96C6\u6587\u7AE0"),
1526
+ const _hoisted_1$2 = /* @__PURE__ */ vue.createElementVNode("div", null, [
1527
+ /* @__PURE__ */ vue.createElementVNode("span", null, "\u91C7\u96C6\u6587\u7AE01"),
1519
1528
  /* @__PURE__ */ vue.createElementVNode("span", { class: "collect-article_lable" }, "\u5982\u9700\u83B7\u5F97\u6B63\u5F0F\u4F7F\u7528\u6743\uFF0C\u8BF7\u81EA\u884C\u8054\u7CFB\u7248\u6743\u6240\u6709\u8005")
1520
1529
  ], -1);
1521
1530
  const _hoisted_2$2 = { class: "collect-article_content" };
@@ -1528,8 +1537,10 @@
1528
1537
  width: "600px",
1529
1538
  height: "50px"
1530
1539
  }, {
1540
+ title: vue.withCtx(() => [
1541
+ _hoisted_1$2
1542
+ ]),
1531
1543
  default: vue.withCtx(() => [
1532
- _hoisted_1$2,
1533
1544
  vue.createElementVNode("div", _hoisted_2$2, [
1534
1545
  _hoisted_3$2,
1535
1546
  vue.createVNode(_component_el_input, {
@@ -1574,8 +1585,8 @@
1574
1585
  };
1575
1586
  const _hoisted_2$1 = ["src"];
1576
1587
  const _hoisted_3$1 = { class: "article-item_right" };
1577
- const _hoisted_4 = { class: "name" };
1578
- const _hoisted_5 = { class: "score" };
1588
+ const _hoisted_4$1 = { class: "name" };
1589
+ const _hoisted_5$1 = { class: "score" };
1579
1590
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1580
1591
  const _component_el_icon_error = vue.resolveComponent("el-icon-error");
1581
1592
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
@@ -1585,8 +1596,8 @@
1585
1596
  alt: ""
1586
1597
  }, null, 8, _hoisted_2$1)) : vue.createCommentVNode("", true),
1587
1598
  vue.createElementVNode("div", _hoisted_3$1, [
1588
- vue.createElementVNode("div", _hoisted_4, vue.toDisplayString($props.article.title), 1),
1589
- vue.createElementVNode("div", _hoisted_5, [
1599
+ vue.createElementVNode("div", _hoisted_4$1, vue.toDisplayString($props.article.title), 1),
1600
+ vue.createElementVNode("div", _hoisted_5$1, [
1590
1601
  vue.createElementVNode("span", null, vue.toDisplayString($props.article.author), 1),
1591
1602
  vue.createElementVNode("span", null, vue.toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
1592
1603
  vue.createElementVNode("span", null, vue.toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
@@ -2721,16 +2732,11 @@
2721
2732
  getSticker(type, handler) {
2722
2733
  this.setSticker(type.fragment.children);
2723
2734
  },
2724
- setSticker(data, isImport) {
2735
+ setSticker(data) {
2725
2736
  const me = this;
2726
2737
  data = Array.from(data);
2727
2738
  data.map(function(value, index) {
2728
- let htmlArr = [];
2729
- if (isImport) {
2730
- htmlArr = value.outerHTML.replace(/<img(.*?)src="(.*?)"(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<img(.*?)src='(.*?)'(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<a href="(.*?)"(.*?)>(.*?)<\/a>/g, "(delimiter)$3(delimiter)").replace(/<p (.*?)>(.*?)<\/p>/g, '(delimiter)<p class="halo-paragraph" $1>$2</p>(delimiter)').split("(delimiter)");
2731
- } else {
2732
- htmlArr = (value.innerHTML || value.outerHTML).replace(/<img(.*?)src="(.*?)"(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<img(.*?)src='(.*?)'(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<a href="(.*?)"(.*?)>(.*?)<\/a>/g, "(delimiter)$3(delimiter)").replace(/<p (.*?)>(.*?)<\/p>/g, "(delimiter)$2(delimiter)").replace(/<\/?.+?>/g, "").split("(delimiter)");
2733
- }
2739
+ const htmlArr = (value.innerHTML || value.outerHTML).replace(/<img(.*?)src="(.*?)"(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<img(.*?)src='(.*?)'(.*?)>/g, "(delimiter)[img src=$2](delimiter)").replace(/<a href="(.*?)"(.*?)>(.*?)<\/a>/g, "(delimiter)$3(delimiter)").replace(/<p (.*?)>(.*?)<\/p>/g, "(delimiter)$2(delimiter)").replace(/<\/?.+?>/g, "").split("(delimiter)");
2734
2740
  htmlArr.map(function(nValue) {
2735
2741
  if (!nValue || nValue === "&nbsp;") {
2736
2742
  return;
@@ -2894,7 +2900,7 @@
2894
2900
  data.data.content = data.data.content.replace(/<a href="(.*?)"(.*?)>/g, "").replace(/<\/a>/g, "").replace(/<iframe([^<>]*)>([^<>]*)<\/iframe>/g, "").replace(/<video([^<>]*)>([^<>]*)<\/video>/g, "");
2895
2901
  const importContent = document.createElement("div");
2896
2902
  importContent.innerHTML = data.data.content;
2897
- me.setSticker(importContent.children, true);
2903
+ me.setSticker(importContent.children);
2898
2904
  me.closeDialog();
2899
2905
  me.linkContent = "";
2900
2906
  return;
@@ -2943,6 +2949,8 @@
2943
2949
  slot: "footer",
2944
2950
  class: "dialog-footer"
2945
2951
  };
2952
+ const _hoisted_4 = /* @__PURE__ */ vue.createTextVNode("\u53D6 \u6D88");
2953
+ const _hoisted_5 = /* @__PURE__ */ vue.createTextVNode("\u786E \u5B9A");
2946
2954
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2947
2955
  const _component_el_input = vue.resolveComponent("el-input");
2948
2956
  const _component_el_form_item = vue.resolveComponent("el-form-item");
@@ -3010,7 +3018,7 @@
3010
3018
  onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
3011
3019
  }, {
3012
3020
  default: vue.withCtx(() => [
3013
- vue.createTextVNode("\u53D6 \u6D88")
3021
+ _hoisted_4
3014
3022
  ]),
3015
3023
  _: 1
3016
3024
  }),
@@ -3019,7 +3027,7 @@
3019
3027
  onClick: $options.insertLink
3020
3028
  }, {
3021
3029
  default: vue.withCtx(() => [
3022
- vue.createTextVNode("\u786E \u5B9A")
3030
+ _hoisted_5
3023
3031
  ]),
3024
3032
  _: 1
3025
3033
  }, 8, ["onClick"])
@@ -3037,7 +3045,7 @@
3037
3045
  }, null, 8, ["article", "visible", "getList", "onDelete", "onChange"]),
3038
3046
  vue.createVNode(_component_ImgUpload, {
3039
3047
  "img-list": $data.imgList,
3040
- "onUpdate:imgList": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
3048
+ "onUpdate:img-list": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
3041
3049
  visible: $data.visibleImg,
3042
3050
  "onUpdate:visible": _cache[7] || (_cache[7] = ($event) => $data.visibleImg = $event),
3043
3051
  onSubmit: $options.submitImg
@@ -3049,7 +3057,7 @@
3049
3057
  }, null, 8, ["visible", "file-selected"]),
3050
3058
  vue.createVNode(_component_CollectArticle, {
3051
3059
  "link-content": $data.linkContent,
3052
- "onUpdate:linkContent": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
3060
+ "onUpdate:link-content": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
3053
3061
  visible: $data.visibleCollectArticle,
3054
3062
  "onUpdate:visible": _cache[10] || (_cache[10] = ($event) => $data.visibleCollectArticle = $event),
3055
3063
  onSubmit: $options.confirmLink
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haluo/biz",
3
3
  "description": "rich text",
4
- "version": "1.0.19",
4
+ "version": "2.0.1",
5
5
  "type": "module",
6
6
  "module": "./dist/haluo-biz.js",
7
7
  "main": "./dist/haluo-biz.umd.cjs",