@haluo/biz 1.0.1 → 1.0.2

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
@@ -229,11 +229,11 @@ const _hoisted_1$a = {
229
229
  };
230
230
  const _hoisted_2$a = { class: "tools-content" };
231
231
  const _hoisted_3$8 = ["src"];
232
- const _hoisted_4$6 = ["src"];
233
- const _hoisted_5$5 = ["src"];
232
+ const _hoisted_4$3 = ["src"];
233
+ const _hoisted_5$3 = ["src"];
234
234
  const _hoisted_6$2 = { class: "box" };
235
- const _hoisted_7$2 = ["src"];
236
- const _hoisted_8$1 = {
235
+ const _hoisted_7$1 = ["src"];
236
+ const _hoisted_8 = {
237
237
  key: 0,
238
238
  class: "box-mask"
239
239
  };
@@ -331,7 +331,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
331
331
  height: "40",
332
332
  alt: "",
333
333
  onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
334
- }, null, 12, _hoisted_4$6)
334
+ }, null, 12, _hoisted_4$3)
335
335
  ]),
336
336
  _: 1
337
337
  }),
@@ -352,7 +352,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
352
352
  height: "40",
353
353
  alt: "",
354
354
  onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
355
- }, null, 8, _hoisted_5$5)
355
+ }, null, 8, _hoisted_5$3)
356
356
  ]),
357
357
  _: 1
358
358
  }),
@@ -370,8 +370,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
370
370
  height: "40",
371
371
  alt: "",
372
372
  onClick: _cache[3] || (_cache[3] = (...args) => $options.copyFormat && $options.copyFormat(...args))
373
- }, null, 8, _hoisted_7$2),
374
- $props.editor.cursorStyle !== "auto" ? (openBlock(), createElementBlock("div", _hoisted_8$1)) : createCommentVNode("", true)
373
+ }, null, 8, _hoisted_7$1),
374
+ $props.editor.cursorStyle !== "auto" ? (openBlock(), createElementBlock("div", _hoisted_8)) : createCommentVNode("", true)
375
375
  ])
376
376
  ]),
377
377
  _: 1
@@ -876,10 +876,8 @@ const _hoisted_3$6 = {
876
876
  slot: "footer",
877
877
  class: "dialog-footer"
878
878
  };
879
- const _hoisted_4$5 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
880
- const _hoisted_5$4 = /* @__PURE__ */ createTextVNode("\u786E\u8BA4");
881
879
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
882
- name: "index",
880
+ __name: "index",
883
881
  props: {
884
882
  visible: { type: Boolean, default: false },
885
883
  showBtn: { type: Boolean, default: true },
@@ -936,7 +934,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
936
934
  onClick: handleClose
937
935
  }, {
938
936
  default: withCtx(() => [
939
- _hoisted_4$5
937
+ createTextVNode("\u53D6\u6D88")
940
938
  ]),
941
939
  _: 1
942
940
  }),
@@ -947,7 +945,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
947
945
  onClick: confirm
948
946
  }, {
949
947
  default: withCtx(() => [
950
- _hoisted_5$4
948
+ createTextVNode("\u786E\u8BA4")
951
949
  ]),
952
950
  _: 1
953
951
  })
@@ -1102,23 +1100,21 @@ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("span", null, [
1102
1100
  /* @__PURE__ */ createElementVNode("strong", { style: { "margin-left": "20px", "color": "#FF5A25" } }, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u516518\u4E2A\u6708\u5185\u7684\u63A8\u8350\u5185\u5BB9")
1103
1101
  ], -1);
1104
1102
  const _hoisted_2$5 = { class: "insert-article" };
1105
- const _hoisted_3$5 = /* @__PURE__ */ createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9");
1106
- const _hoisted_4$4 = /* @__PURE__ */ createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
1107
- const _hoisted_5$3 = { class: "insert-article_input" };
1108
- const _hoisted_6$1 = {
1103
+ const _hoisted_3$5 = { class: "insert-article_input" };
1104
+ const _hoisted_4$2 = {
1109
1105
  key: 0,
1110
1106
  class: "nodata"
1111
1107
  };
1112
- const _hoisted_7$1 = {
1108
+ const _hoisted_5$2 = {
1113
1109
  key: 1,
1114
1110
  "infinite-scroll-immediate-check": "false",
1115
1111
  class: "insert-article_list",
1116
1112
  "infinite-scroll-disabled": "disable",
1117
1113
  "infinite-scroll-distance": "10"
1118
1114
  };
1119
- const _hoisted_8 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1115
+ const _hoisted_6$1 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1120
1116
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1121
- name: "index",
1117
+ __name: "index",
1122
1118
  props: {
1123
1119
  visible: { type: Boolean, default: false },
1124
1120
  getList: null
@@ -1216,7 +1212,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1216
1212
  label: "1"
1217
1213
  }, {
1218
1214
  default: withCtx(() => [
1219
- _hoisted_3$5
1215
+ createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9")
1220
1216
  ]),
1221
1217
  _: 1
1222
1218
  }, 8, ["modelValue"]),
@@ -1226,12 +1222,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1226
1222
  label: "2"
1227
1223
  }, {
1228
1224
  default: withCtx(() => [
1229
- _hoisted_4$4
1225
+ createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9")
1230
1226
  ]),
1231
1227
  _: 1
1232
1228
  }, 8, ["modelValue"])
1233
1229
  ]),
1234
- createElementVNode("div", _hoisted_5$3, [
1230
+ createElementVNode("div", _hoisted_3$5, [
1235
1231
  createVNode(_component_el_input, {
1236
1232
  modelValue: data.params.title,
1237
1233
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.params.title = $event),
@@ -1248,7 +1244,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1248
1244
  _: 1
1249
1245
  }, 8, ["modelValue"])
1250
1246
  ]),
1251
- 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", _hoisted_7$1, [
1247
+ 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", _hoisted_5$2, [
1252
1248
  (openBlock(true), createElementBlock(Fragment, null, renderList(data.data, (item, index) => {
1253
1249
  return openBlock(), createElementBlock("div", {
1254
1250
  key: index,
@@ -1261,7 +1257,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1261
1257
  onChange: ($event) => select(item)
1262
1258
  }, {
1263
1259
  default: withCtx(() => [
1264
- createElementVNode("div", _hoisted_8, [
1260
+ createElementVNode("div", _hoisted_6$1, [
1265
1261
  createElementVNode("span", null, toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
1266
1262
  createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
1267
1263
  ])
@@ -1326,15 +1322,15 @@ const _hoisted_2$4 = {
1326
1322
  class: "upload-wrap"
1327
1323
  };
1328
1324
  const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("span", null, "\u672C\u5730\u4E0A\u4F20", -1);
1329
- 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);
1330
- const _hoisted_5$2 = {
1325
+ 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);
1326
+ const _hoisted_5$1 = {
1331
1327
  key: 1,
1332
1328
  class: "img-list"
1333
1329
  };
1334
1330
  const _hoisted_6 = ["src"];
1335
1331
  const _hoisted_7 = { class: "upload-btn" };
1336
1332
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1337
- name: "index",
1333
+ __name: "index",
1338
1334
  props: {
1339
1335
  visible: { type: Boolean, default: false },
1340
1336
  imgList: { default: [] }
@@ -1407,8 +1403,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1407
1403
  }),
1408
1404
  _hoisted_3$4
1409
1405
  ]),
1410
- _hoisted_4$3
1411
- ])) : (openBlock(), createElementBlock("div", _hoisted_5$2, [
1406
+ _hoisted_4$1
1407
+ ])) : (openBlock(), createElementBlock("div", _hoisted_5$1, [
1412
1408
  createVNode(unref(draggable), {
1413
1409
  modelValue: unref(imgListTemp),
1414
1410
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(imgListTemp) ? imgListTemp.value = $event : null),
@@ -1507,8 +1503,7 @@ const _sfc_main$3 = {
1507
1503
  };
1508
1504
  const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
1509
1505
  const _hoisted_2$3 = { class: "insert-video" };
1510
- const _hoisted_3$3 = /* @__PURE__ */ createTextVNode("\u9009\u62E9\u89C6\u9891");
1511
- 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);
1506
+ 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);
1512
1507
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
1513
1508
  const _component_el_button = resolveComponent("el-button");
1514
1509
  const _component_BasicDialog = resolveComponent("BasicDialog");
@@ -1530,11 +1525,11 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
1530
1525
  onClick: $options.emitEvent
1531
1526
  }, {
1532
1527
  default: withCtx(() => [
1533
- _hoisted_3$3
1528
+ createTextVNode("\u9009\u62E9\u89C6\u9891")
1534
1529
  ]),
1535
1530
  _: 1
1536
1531
  }, 8, ["onClick"]),
1537
- _hoisted_4$2,
1532
+ _hoisted_3$3,
1538
1533
  createElementVNode("input", {
1539
1534
  type: "file",
1540
1535
  accept: "video/*",
@@ -1657,8 +1652,8 @@ const _hoisted_1$1 = {
1657
1652
  };
1658
1653
  const _hoisted_2$1 = ["src"];
1659
1654
  const _hoisted_3$1 = { class: "article-item_right" };
1660
- const _hoisted_4$1 = { class: "name" };
1661
- const _hoisted_5$1 = { class: "score" };
1655
+ const _hoisted_4 = { class: "name" };
1656
+ const _hoisted_5 = { class: "score" };
1662
1657
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1663
1658
  const _component_el_icon_error = resolveComponent("el-icon-error");
1664
1659
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
@@ -1668,8 +1663,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1668
1663
  alt: ""
1669
1664
  }, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
1670
1665
  createElementVNode("div", _hoisted_3$1, [
1671
- createElementVNode("div", _hoisted_4$1, toDisplayString($props.article.title), 1),
1672
- createElementVNode("div", _hoisted_5$1, [
1666
+ createElementVNode("div", _hoisted_4, toDisplayString($props.article.title), 1),
1667
+ createElementVNode("div", _hoisted_5, [
1673
1668
  createElementVNode("span", null, toDisplayString($props.article.author), 1),
1674
1669
  createElementVNode("span", null, toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
1675
1670
  createElementVNode("span", null, toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
@@ -1843,7 +1838,7 @@ const _sfc_main = {
1843
1838
  me.editorDom = document.getElementById("editor-content");
1844
1839
  me.editorDom.addEventListener("blur", this.canSetAlign);
1845
1840
  if (!window.Squire) {
1846
- import("./squire-raw.806d5241.js").then(function() {
1841
+ import("./squire-raw.b8e23325.js").then(function() {
1847
1842
  me.initSquire();
1848
1843
  });
1849
1844
  } else {
@@ -2956,8 +2951,6 @@ const _hoisted_3 = {
2956
2951
  slot: "footer",
2957
2952
  class: "dialog-footer"
2958
2953
  };
2959
- const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u53D6 \u6D88");
2960
- const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u786E \u5B9A");
2961
2954
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2962
2955
  const _component_el_input = resolveComponent("el-input");
2963
2956
  const _component_el_form_item = resolveComponent("el-form-item");
@@ -3025,7 +3018,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3025
3018
  onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
3026
3019
  }, {
3027
3020
  default: withCtx(() => [
3028
- _hoisted_4
3021
+ createTextVNode("\u53D6 \u6D88")
3029
3022
  ]),
3030
3023
  _: 1
3031
3024
  }),
@@ -3034,7 +3027,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3034
3027
  onClick: $options.insertLink
3035
3028
  }, {
3036
3029
  default: withCtx(() => [
3037
- _hoisted_5
3030
+ createTextVNode("\u786E \u5B9A")
3038
3031
  ]),
3039
3032
  _: 1
3040
3033
  }, 8, ["onClick"])
@@ -233,11 +233,11 @@
233
233
  };
234
234
  const _hoisted_2$a = { class: "tools-content" };
235
235
  const _hoisted_3$8 = ["src"];
236
- const _hoisted_4$6 = ["src"];
237
- const _hoisted_5$5 = ["src"];
236
+ const _hoisted_4$3 = ["src"];
237
+ const _hoisted_5$3 = ["src"];
238
238
  const _hoisted_6$2 = { class: "box" };
239
- const _hoisted_7$2 = ["src"];
240
- const _hoisted_8$1 = {
239
+ const _hoisted_7$1 = ["src"];
240
+ const _hoisted_8 = {
241
241
  key: 0,
242
242
  class: "box-mask"
243
243
  };
@@ -335,7 +335,7 @@
335
335
  height: "40",
336
336
  alt: "",
337
337
  onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
338
- }, null, 12, _hoisted_4$6)
338
+ }, null, 12, _hoisted_4$3)
339
339
  ]),
340
340
  _: 1
341
341
  }),
@@ -356,7 +356,7 @@
356
356
  height: "40",
357
357
  alt: "",
358
358
  onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
359
- }, null, 8, _hoisted_5$5)
359
+ }, null, 8, _hoisted_5$3)
360
360
  ]),
361
361
  _: 1
362
362
  }),
@@ -374,8 +374,8 @@
374
374
  height: "40",
375
375
  alt: "",
376
376
  onClick: _cache[3] || (_cache[3] = (...args) => $options.copyFormat && $options.copyFormat(...args))
377
- }, null, 8, _hoisted_7$2),
378
- $props.editor.cursorStyle !== "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1)) : vue.createCommentVNode("", true)
377
+ }, null, 8, _hoisted_7$1),
378
+ $props.editor.cursorStyle !== "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8)) : vue.createCommentVNode("", true)
379
379
  ])
380
380
  ]),
381
381
  _: 1
@@ -880,10 +880,8 @@
880
880
  slot: "footer",
881
881
  class: "dialog-footer"
882
882
  };
883
- const _hoisted_4$5 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
884
- const _hoisted_5$4 = /* @__PURE__ */ vue.createTextVNode("\u786E\u8BA4");
885
883
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
886
- name: "index",
884
+ __name: "index",
887
885
  props: {
888
886
  visible: { type: Boolean, default: false },
889
887
  showBtn: { type: Boolean, default: true },
@@ -940,7 +938,7 @@
940
938
  onClick: handleClose
941
939
  }, {
942
940
  default: vue.withCtx(() => [
943
- _hoisted_4$5
941
+ vue.createTextVNode("\u53D6\u6D88")
944
942
  ]),
945
943
  _: 1
946
944
  }),
@@ -951,7 +949,7 @@
951
949
  onClick: confirm
952
950
  }, {
953
951
  default: vue.withCtx(() => [
954
- _hoisted_5$4
952
+ vue.createTextVNode("\u786E\u8BA4")
955
953
  ]),
956
954
  _: 1
957
955
  })
@@ -1106,23 +1104,21 @@
1106
1104
  /* @__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")
1107
1105
  ], -1);
1108
1106
  const _hoisted_2$5 = { class: "insert-article" };
1109
- const _hoisted_3$5 = /* @__PURE__ */ vue.createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9");
1110
- const _hoisted_4$4 = /* @__PURE__ */ vue.createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
1111
- const _hoisted_5$3 = { class: "insert-article_input" };
1112
- const _hoisted_6$1 = {
1107
+ const _hoisted_3$5 = { class: "insert-article_input" };
1108
+ const _hoisted_4$2 = {
1113
1109
  key: 0,
1114
1110
  class: "nodata"
1115
1111
  };
1116
- const _hoisted_7$1 = {
1112
+ const _hoisted_5$2 = {
1117
1113
  key: 1,
1118
1114
  "infinite-scroll-immediate-check": "false",
1119
1115
  class: "insert-article_list",
1120
1116
  "infinite-scroll-disabled": "disable",
1121
1117
  "infinite-scroll-distance": "10"
1122
1118
  };
1123
- const _hoisted_8 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1119
+ const _hoisted_6$1 = { style: { "display": "inline-flex", "flex-direction": "column" } };
1124
1120
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
1125
- name: "index",
1121
+ __name: "index",
1126
1122
  props: {
1127
1123
  visible: { type: Boolean, default: false },
1128
1124
  getList: null
@@ -1220,7 +1216,7 @@
1220
1216
  label: "1"
1221
1217
  }, {
1222
1218
  default: vue.withCtx(() => [
1223
- _hoisted_3$5
1219
+ vue.createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9")
1224
1220
  ]),
1225
1221
  _: 1
1226
1222
  }, 8, ["modelValue"]),
@@ -1230,12 +1226,12 @@
1230
1226
  label: "2"
1231
1227
  }, {
1232
1228
  default: vue.withCtx(() => [
1233
- _hoisted_4$4
1229
+ vue.createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9")
1234
1230
  ]),
1235
1231
  _: 1
1236
1232
  }, 8, ["modelValue"])
1237
1233
  ]),
1238
- vue.createElementVNode("div", _hoisted_5$3, [
1234
+ vue.createElementVNode("div", _hoisted_3$5, [
1239
1235
  vue.createVNode(_component_el_input, {
1240
1236
  modelValue: data.params.title,
1241
1237
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.params.title = $event),
@@ -1252,7 +1248,7 @@
1252
1248
  _: 1
1253
1249
  }, 8, ["modelValue"])
1254
1250
  ]),
1255
- 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", _hoisted_7$1, [
1251
+ 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", _hoisted_5$2, [
1256
1252
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data.data, (item, index) => {
1257
1253
  return vue.openBlock(), vue.createElementBlock("div", {
1258
1254
  key: index,
@@ -1265,7 +1261,7 @@
1265
1261
  onChange: ($event) => select(item)
1266
1262
  }, {
1267
1263
  default: vue.withCtx(() => [
1268
- vue.createElementVNode("div", _hoisted_8, [
1264
+ vue.createElementVNode("div", _hoisted_6$1, [
1269
1265
  vue.createElementVNode("span", null, vue.toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
1270
1266
  vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
1271
1267
  ])
@@ -1330,15 +1326,15 @@
1330
1326
  class: "upload-wrap"
1331
1327
  };
1332
1328
  const _hoisted_3$4 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u672C\u5730\u4E0A\u4F20", -1);
1333
- 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);
1334
- const _hoisted_5$2 = {
1329
+ 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);
1330
+ const _hoisted_5$1 = {
1335
1331
  key: 1,
1336
1332
  class: "img-list"
1337
1333
  };
1338
1334
  const _hoisted_6 = ["src"];
1339
1335
  const _hoisted_7 = { class: "upload-btn" };
1340
1336
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
1341
- name: "index",
1337
+ __name: "index",
1342
1338
  props: {
1343
1339
  visible: { type: Boolean, default: false },
1344
1340
  imgList: { default: [] }
@@ -1411,8 +1407,8 @@
1411
1407
  }),
1412
1408
  _hoisted_3$4
1413
1409
  ]),
1414
- _hoisted_4$3
1415
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, [
1410
+ _hoisted_4$1
1411
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [
1416
1412
  vue.createVNode(vue.unref(draggable__default.default), {
1417
1413
  modelValue: vue.unref(imgListTemp),
1418
1414
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(imgListTemp) ? imgListTemp.value = $event : null),
@@ -1511,8 +1507,7 @@
1511
1507
  };
1512
1508
  const _hoisted_1$3 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
1513
1509
  const _hoisted_2$3 = { class: "insert-video" };
1514
- const _hoisted_3$3 = /* @__PURE__ */ vue.createTextVNode("\u9009\u62E9\u89C6\u9891");
1515
- 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);
1510
+ 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);
1516
1511
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
1517
1512
  const _component_el_button = vue.resolveComponent("el-button");
1518
1513
  const _component_BasicDialog = vue.resolveComponent("BasicDialog");
@@ -1534,11 +1529,11 @@
1534
1529
  onClick: $options.emitEvent
1535
1530
  }, {
1536
1531
  default: vue.withCtx(() => [
1537
- _hoisted_3$3
1532
+ vue.createTextVNode("\u9009\u62E9\u89C6\u9891")
1538
1533
  ]),
1539
1534
  _: 1
1540
1535
  }, 8, ["onClick"]),
1541
- _hoisted_4$2,
1536
+ _hoisted_3$3,
1542
1537
  vue.createElementVNode("input", {
1543
1538
  type: "file",
1544
1539
  accept: "video/*",
@@ -1661,8 +1656,8 @@
1661
1656
  };
1662
1657
  const _hoisted_2$1 = ["src"];
1663
1658
  const _hoisted_3$1 = { class: "article-item_right" };
1664
- const _hoisted_4$1 = { class: "name" };
1665
- const _hoisted_5$1 = { class: "score" };
1659
+ const _hoisted_4 = { class: "name" };
1660
+ const _hoisted_5 = { class: "score" };
1666
1661
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1667
1662
  const _component_el_icon_error = vue.resolveComponent("el-icon-error");
1668
1663
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
@@ -1672,8 +1667,8 @@
1672
1667
  alt: ""
1673
1668
  }, null, 8, _hoisted_2$1)) : vue.createCommentVNode("", true),
1674
1669
  vue.createElementVNode("div", _hoisted_3$1, [
1675
- vue.createElementVNode("div", _hoisted_4$1, vue.toDisplayString($props.article.title), 1),
1676
- vue.createElementVNode("div", _hoisted_5$1, [
1670
+ vue.createElementVNode("div", _hoisted_4, vue.toDisplayString($props.article.title), 1),
1671
+ vue.createElementVNode("div", _hoisted_5, [
1677
1672
  vue.createElementVNode("span", null, vue.toDisplayString($props.article.author), 1),
1678
1673
  vue.createElementVNode("span", null, vue.toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
1679
1674
  vue.createElementVNode("span", null, vue.toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
@@ -2960,8 +2955,6 @@
2960
2955
  slot: "footer",
2961
2956
  class: "dialog-footer"
2962
2957
  };
2963
- const _hoisted_4 = /* @__PURE__ */ vue.createTextVNode("\u53D6 \u6D88");
2964
- const _hoisted_5 = /* @__PURE__ */ vue.createTextVNode("\u786E \u5B9A");
2965
2958
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2966
2959
  const _component_el_input = vue.resolveComponent("el-input");
2967
2960
  const _component_el_form_item = vue.resolveComponent("el-form-item");
@@ -3029,7 +3022,7 @@
3029
3022
  onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
3030
3023
  }, {
3031
3024
  default: vue.withCtx(() => [
3032
- _hoisted_4
3025
+ vue.createTextVNode("\u53D6 \u6D88")
3033
3026
  ]),
3034
3027
  _: 1
3035
3028
  }),
@@ -3038,7 +3031,7 @@
3038
3031
  onClick: $options.insertLink
3039
3032
  }, {
3040
3033
  default: vue.withCtx(() => [
3041
- _hoisted_5
3034
+ vue.createTextVNode("\u786E \u5B9A")
3042
3035
  ]),
3043
3036
  _: 1
3044
3037
  }, 8, ["onClick"])
@@ -6726,7 +6719,6 @@
6726
6719
  Squire.startSelectionId = startSelectionId;
6727
6720
  Squire.endSelectionId = endSelectionId;
6728
6721
  win.Squire = Squire;
6729
- console.log(999);
6730
6722
  })(document);
6731
6723
  const squireRaw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6732
6724
  __proto__: null
@@ -3633,5 +3633,4 @@
3633
3633
  Squire.startSelectionId = startSelectionId;
3634
3634
  Squire.endSelectionId = endSelectionId;
3635
3635
  win.Squire = Squire;
3636
- console.log(999);
3637
3636
  })(document);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haluo/biz",
3
3
  "description": "rich text",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "module": "./dist/haluo-biz.js",
7
7
  "main": "./dist/haluo-biz.umd.cjs",