@web-utils/component 2.70.0 → 3.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.
Files changed (189) hide show
  1. package/address-input/index.mjs +16 -14
  2. package/awesome-button/index.mjs +30 -29
  3. package/card/index.mjs +42 -40
  4. package/carousel/index.mjs +27 -25
  5. package/chat/index.mjs +70 -59
  6. package/chunk-file-uploader/index.mjs +594 -35
  7. package/chunk-file-uploader/style.css +1 -1
  8. package/chunks/CountUp.f1a19f35.mjs +124 -0
  9. package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +8 -0
  10. package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +32 -0
  11. package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +356 -0
  12. package/chunks/ElementDialog.d8f3105c.mjs +211 -0
  13. package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +95 -0
  14. package/chunks/EmptyView.e2430422.mjs +51 -0
  15. package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +23 -0
  16. package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +37 -0
  17. package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +65 -0
  18. package/chunks/FormItem.2920ac0c.mjs +45 -0
  19. package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +258 -0
  20. package/chunks/FormItemGroup.41daddb6.mjs +64 -0
  21. package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +155 -0
  22. package/chunks/FyCurd.8acd2983.mjs +548 -0
  23. package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +2945 -0
  24. package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +47 -0
  25. package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +151 -0
  26. package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +22 -0
  27. package/chunks/FyForm.0294e494.mjs +439 -0
  28. package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +737 -0
  29. package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +93 -0
  30. package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +56 -0
  31. package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +158 -0
  32. package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +39 -0
  33. package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +102 -0
  34. package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +41 -0
  35. package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +15 -0
  36. package/chunks/IconTemp.42c48e1f.mjs +32 -0
  37. package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +23 -0
  38. package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +172 -0
  39. package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +23 -0
  40. package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +21 -0
  41. package/chunks/Page.81f4b8d9.mjs +32 -0
  42. package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +13 -0
  43. package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +26 -0
  44. package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +88 -0
  45. package/chunks/PageableTable.333cbdc1.mjs +335 -0
  46. package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +148 -0
  47. package/chunks/ResizeObserver.60f728f0.mjs +54 -0
  48. package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +13 -0
  49. package/chunks/TableColumn.8503272e.mjs +106 -0
  50. package/chunks/Toolbar.5c539dbb.mjs +24 -0
  51. package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +275 -0
  52. package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +31 -0
  53. package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +74 -0
  54. package/chunks/confirmable-mixin.26e1d0e0.mjs +197 -0
  55. package/chunks/{dataformat.f995e2f9.mjs → dataformat.816df805.mjs} +5 -5
  56. package/chunks/{dic.eaac0823.mjs → dic.3b4ba802.mjs} +40 -40
  57. package/chunks/{event.b5d855dd.mjs → event.4377230d.mjs} +2 -2
  58. package/chunks/{index.57f871af.mjs → index.d91bd77a.mjs} +7 -7
  59. package/chunks/{init.47f219b4.mjs → init.f0a03127.mjs} +2 -2
  60. package/chunks/{util.ae730cde.mjs → util.7844e2c2.mjs} +21 -21
  61. package/color-picker/index.mjs +200 -32
  62. package/confirm-button/index.mjs +1 -1
  63. package/confirmable/index.mjs +1 -1
  64. package/count-up/index.mjs +14 -17
  65. package/data-box/index.mjs +36 -33
  66. package/data-card/index.mjs +35 -33
  67. package/data-cardtext/index.mjs +29 -27
  68. package/data-display/index.mjs +37 -34
  69. package/data-icons/index.mjs +32 -29
  70. package/data-imgtext/index.mjs +30 -27
  71. package/data-operatext/index.mjs +41 -39
  72. package/data-panel/index.mjs +39 -36
  73. package/data-pay/index.mjs +26 -22
  74. package/data-price/index.mjs +34 -32
  75. package/data-progress/index.mjs +32 -28
  76. package/data-rotate/index.mjs +38 -35
  77. package/data-table-picker/index.mjs +25 -22
  78. package/data-tabs/index.mjs +35 -32
  79. package/dialog-form/index.mjs +41 -32
  80. package/dynamic-table/index.mjs +47 -42
  81. package/easy-popup/index.mjs +29 -56
  82. package/editable-progress/index.mjs +16 -14
  83. package/editable-tree/index.mjs +129 -476
  84. package/egd-collapse-item/index.mjs +1 -2
  85. package/element-dialog/index.mjs +37 -126
  86. package/empty-view/index.mjs +13 -31
  87. package/flex-column/index.mjs +1 -1
  88. package/flex-item/index.mjs +1 -1
  89. package/flex-row/index.mjs +1 -1
  90. package/flow/index.mjs +105 -40
  91. package/flow-designer/index.mjs +1190 -1114
  92. package/flow-node/index.mjs +15 -47
  93. package/flow-viewer/index.mjs +167 -78
  94. package/form-block/index.mjs +24 -22
  95. package/form-cascader/index.mjs +29 -29
  96. package/form-checkbox-group/index.mjs +76 -31
  97. package/form-date-picker/index.mjs +21 -20
  98. package/form-holder/index.mjs +16 -15
  99. package/form-input/index.mjs +30 -88
  100. package/form-input-email/index.mjs +28 -28
  101. package/form-input-id-card/index.mjs +37 -37
  102. package/form-input-number/index.mjs +219 -59
  103. package/form-input-phone-number/index.mjs +25 -25
  104. package/form-input-tag/index.mjs +160 -38
  105. package/form-input-time/index.mjs +23 -23
  106. package/form-item/index.mjs +15 -144
  107. package/form-item-group/index.mjs +15 -163
  108. package/form-radio-group/index.mjs +39 -38
  109. package/form-select/index.mjs +33 -32
  110. package/form-switch/index.mjs +26 -26
  111. package/form-textarea/index.mjs +26 -26
  112. package/form-view/index.mjs +46 -42
  113. package/fy-array/index.mjs +65 -61
  114. package/fy-cascader/index.mjs +14 -13
  115. package/fy-checkbox/index.mjs +37 -32
  116. package/fy-code/index.mjs +11 -14
  117. package/fy-curd/index.mjs +206 -2795
  118. package/fy-date/index.mjs +16 -57
  119. package/fy-draggable/index.mjs +21 -20
  120. package/fy-dynamic/index.mjs +64 -207
  121. package/fy-empty/index.mjs +12 -29
  122. package/fy-form/index.mjs +178 -732
  123. package/fy-form-design/index.mjs +1738 -1179
  124. package/fy-input/index.mjs +15 -101
  125. package/fy-input-color/index.mjs +17 -66
  126. package/fy-input-icon/index.mjs +21 -116
  127. package/fy-input-map/index.mjs +27 -24
  128. package/fy-input-number/index.mjs +23 -22
  129. package/fy-input-table/index.mjs +22 -18
  130. package/fy-input-tree/index.mjs +32 -28
  131. package/fy-progress/index.mjs +24 -23
  132. package/fy-radio/index.mjs +23 -18
  133. package/fy-rate/index.mjs +16 -49
  134. package/fy-select/index.mjs +29 -122
  135. package/fy-slider/index.mjs +18 -17
  136. package/fy-switch/index.mjs +21 -20
  137. package/fy-tabs/index.mjs +14 -48
  138. package/fy-time/index.mjs +20 -14
  139. package/fy-title/index.mjs +1 -1
  140. package/fy-tree/index.mjs +26 -20
  141. package/fy-u-editor/index.mjs +1 -1
  142. package/fy-upload/index.mjs +76 -74
  143. package/guide-steps/index.mjs +24 -22
  144. package/highlight-j-s/index.mjs +19 -29
  145. package/icon-temp/index.mjs +12 -30
  146. package/iframe-window/index.mjs +19 -18
  147. package/image-cropper/index.mjs +53 -51
  148. package/image-preview/index.mjs +27 -25
  149. package/input-number/index.mjs +63 -172
  150. package/input-number-range/index.mjs +24 -23
  151. package/license/index.mjs +1 -1
  152. package/loading-view/index.mjs +15 -33
  153. package/login/index.mjs +40 -35
  154. package/nav-bar/index.mjs +15 -30
  155. package/notice/index.mjs +19 -18
  156. package/package.json +1 -1
  157. package/page/index.mjs +12 -20
  158. package/page-header/index.mjs +13 -34
  159. package/page-index/index.mjs +34 -33
  160. package/page-index-top/index.mjs +100 -51
  161. package/page-skeleton/index.mjs +18 -35
  162. package/page-skeleton-new/index.mjs +16 -15
  163. package/pageable-table/index.mjs +85 -223
  164. package/pageable-view/index.mjs +34 -33
  165. package/present-view/index.mjs +75 -71
  166. package/record-video/index.mjs +1 -1
  167. package/resize-observer/index.mjs +21 -29
  168. package/search/index.mjs +29 -27
  169. package/search-popover/index.mjs +1 -1
  170. package/sign/index.mjs +1 -1
  171. package/split-pane/index.mjs +40 -45
  172. package/static-pageable-table/index.mjs +20 -18
  173. package/swiper/index.mjs +27 -25
  174. package/table-view/index.mjs +627 -89
  175. package/tag-render/index.mjs +21 -19
  176. package/text-ellipsis/index.mjs +13 -12
  177. package/tinymce-editor/index.mjs +73 -72
  178. package/toolbar/index.mjs +15 -208
  179. package/toolbar-button/index.mjs +32 -57
  180. package/verify/index.mjs +1 -1
  181. package/vue-cron/index.mjs +112 -104
  182. package/watermark/index.mjs +1 -1
  183. package/web-types.json +1 -1
  184. package/x-input-tag/index.mjs +51 -117
  185. package/chunks/FormTemp.7f91629d.mjs +0 -165
  186. package/chunks/confirmable-mixin.817b542f.mjs +0 -116
  187. package/chunks/form-input-mixin.4632ad36.mjs +0 -24
  188. package/chunks/form-item-mixin.ad148e7b.mjs +0 -140
  189. package/chunks/input-number-mixin.41a066be.mjs +0 -60
package/chat/index.mjs CHANGED
@@ -1,7 +1,18 @@
1
- import { formatDate as c } from "@web-utils/integrations/dayjs";
2
- import { s as l } from "../chunks/util.ae730cde.mjs";
3
- import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var u = function() {
1
+ import { formatDate as f } from "@web-utils/integrations/dayjs";
2
+ import { s as r } from "../chunks/util.7844e2c2.mjs";
3
+ import { _ as c } from "../chunks/ElementDialog.d8f3105c.mjs";
4
+ import d from "element-ui/lib/input";
5
+ import p from "element-ui/lib/form-item";
6
+ import _ from "element-ui/lib/form";
7
+ import l from "element-ui/lib/button";
8
+ import h from "element-ui/lib/tooltip";
9
+ import u from "element-ui/lib/dropdown-item";
10
+ import g from "element-ui/lib/scrollbar";
11
+ import y from "element-ui/lib/popover";
12
+ import v from "element-ui/lib/dropdown-menu";
13
+ import b from "element-ui/lib/dropdown";
14
+ import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
15
+ var x = function() {
5
16
  var t = this, o = t.$createElement, e = t._self._c || o;
6
17
  return e("div", {
7
18
  staticClass: "avue-chat",
@@ -49,9 +60,9 @@ var u = function() {
49
60
  }, [e("div", {
50
61
  ref: "main",
51
62
  staticClass: "web__main"
52
- }, t._l(t.list, function(i, a) {
63
+ }, t._l(t.list, function(i, n) {
53
64
  return e("div", {
54
- key: a,
65
+ key: n,
55
66
  staticClass: "web__main-item",
56
67
  class: {
57
68
  "web__main-item--mine": i.mine
@@ -75,11 +86,11 @@ var u = function() {
75
86
  }
76
87
  }), i.text.list ? t._e() : e("ul", {
77
88
  staticClass: "web__main-list"
78
- }, t._l(i.text.list, function(s, n) {
89
+ }, t._l(i.text.list, function(s, a) {
79
90
  return e("li", {
80
- key: n,
91
+ key: a,
81
92
  on: {
82
- click: function(g) {
93
+ click: function(N) {
83
94
  return t.handleItemMsg(s);
84
95
  }
85
96
  }
@@ -135,7 +146,7 @@ var u = function() {
135
146
  }
136
147
  }), e("div", {
137
148
  staticClass: "web__msg-menu"
138
- }, [e("ElDropdown", {
149
+ }, [e(b, {
139
150
  staticClass: "web__msg-submit",
140
151
  attrs: {
141
152
  "split-button": "",
@@ -149,7 +160,7 @@ var u = function() {
149
160
  scopedSlots: t._u([{
150
161
  key: "dropdown",
151
162
  fn: function() {
152
- return [e("ElDropdownMenu", [e("ElDropdownItem", [e("ElPopover", {
163
+ return [e(v, [e(u, [e(y, {
153
164
  attrs: {
154
165
  placement: "top",
155
166
  width: "160"
@@ -157,7 +168,7 @@ var u = function() {
157
168
  scopedSlots: t._u([{
158
169
  key: "reference",
159
170
  fn: function() {
160
- return [e("ElButton", {
171
+ return [e(l, {
161
172
  attrs: {
162
173
  type: "text",
163
174
  icon: "el-icon-plus"
@@ -173,7 +184,7 @@ var u = function() {
173
184
  },
174
185
  expression: "visible"
175
186
  }
176
- }, [e("ElInput", {
187
+ }, [e(d, {
177
188
  staticStyle: {
178
189
  "margin-bottom": "10px"
179
190
  },
@@ -197,7 +208,7 @@ var u = function() {
197
208
  margin: "0",
198
209
  "text-align": "right"
199
210
  }
200
- }, [e("ElButton", {
211
+ }, [e(l, {
201
212
  attrs: {
202
213
  size: "mini",
203
214
  type: "text"
@@ -207,7 +218,7 @@ var u = function() {
207
218
  t.visible = !1;
208
219
  }
209
220
  }
210
- }, [t._v(" 取消 ")]), e("ElButton", {
221
+ }, [t._v(" 取消 ")]), e(l, {
211
222
  attrs: {
212
223
  type: "primary",
213
224
  size: "mini"
@@ -215,19 +226,19 @@ var u = function() {
215
226
  on: {
216
227
  click: t.addKey
217
228
  }
218
- }, [t._v(" 确定 ")])], 1)], 1)], 1), e("ElScrollbar", {
229
+ }, [t._v(" 确定 ")])], 1)], 1)], 1), e(g, {
219
230
  staticStyle: {
220
231
  height: "100px"
221
232
  }
222
- }, t._l(t.keylist, function(i, a) {
223
- return e("ElDropdownItem", {
224
- key: a,
233
+ }, t._l(t.keylist, function(i, n) {
234
+ return e(u, {
235
+ key: n,
225
236
  nativeOn: {
226
237
  click: function(s) {
227
238
  return t.sendKey(i);
228
239
  }
229
240
  }
230
- }, [e("ElTooltip", {
241
+ }, [e(h, {
231
242
  attrs: {
232
243
  effect: "dark",
233
244
  content: i,
@@ -238,7 +249,7 @@ var u = function() {
238
249
  },
239
250
  proxy: !0
240
251
  }])
241
- }, [t._v(" 发送 ")])], 1)])])]), t._t("default")], 2), t.upload.box ? e("div", [e("ElementDialog", {
252
+ }, [t._v(" 发送 ")])], 1)])])]), t._t("default")], 2), t.upload.box ? e("div", [e(c, {
242
253
  attrs: {
243
254
  title: t.upload.title,
244
255
  "body-padding": !1,
@@ -253,7 +264,7 @@ var u = function() {
253
264
  scopedSlots: t._u([{
254
265
  key: "footer",
255
266
  fn: function() {
256
- return [e("ElButton", {
267
+ return [e(l, {
257
268
  attrs: {
258
269
  size: "small"
259
270
  },
@@ -262,7 +273,7 @@ var u = function() {
262
273
  t.upload.box = !1;
263
274
  }
264
275
  }
265
- }, [t._v("取 消")]), e("ElButton", {
276
+ }, [t._v("取 消")]), e(l, {
266
277
  attrs: {
267
278
  type: "primary",
268
279
  size: "small"
@@ -274,12 +285,12 @@ var u = function() {
274
285
  },
275
286
  proxy: !0
276
287
  }], null, !1, 99567638)
277
- }, [e("ElForm", {
288
+ }, [e(_, {
278
289
  ref: "form",
279
290
  attrs: {
280
291
  model: t.upload
281
292
  }
282
- }, [e("ElFormItem", {
293
+ }, [e(p, {
283
294
  attrs: {
284
295
  prop: "src",
285
296
  rules: [{
@@ -287,7 +298,7 @@ var u = function() {
287
298
  message: "地址不能为空"
288
299
  }]
289
300
  }
290
- }, [e("ElInput", {
301
+ }, [e(d, {
291
302
  staticStyle: {
292
303
  "margin-bottom": "10px"
293
304
  },
@@ -306,7 +317,7 @@ var u = function() {
306
317
  },
307
318
  expression: "upload.src"
308
319
  }
309
- })], 1)], 1)], 1)], 1) : t._e(), t.show ? e("div", [e("ElementDialog", {
320
+ })], 1)], 1)], 1)], 1) : t._e(), t.show ? e("div", [e(c, {
310
321
  staticClass: "web__dialog",
311
322
  attrs: {
312
323
  visible: t.show,
@@ -347,8 +358,8 @@ var u = function() {
347
358
  controls: "controls"
348
359
  }
349
360
  }) : t._e()])], 1) : t._e()]);
350
- }, f = [];
351
- const m = {
361
+ }, S = [];
362
+ const k = {
352
363
  name: "Chat",
353
364
  props: {
354
365
  beforeOpen: Function,
@@ -427,12 +438,12 @@ const m = {
427
438
  },
428
439
  heightStyleName() {
429
440
  return {
430
- height: l(this.height)
441
+ height: r(this.height)
431
442
  };
432
443
  },
433
444
  widthStyleName() {
434
445
  return {
435
- width: l(this.width)
446
+ width: r(this.width)
436
447
  };
437
448
  },
438
449
  msgActive() {
@@ -463,32 +474,32 @@ const m = {
463
474
  getNotification(t) {
464
475
  const o = this, e = Notification || window.Notification;
465
476
  if (e) {
466
- let a = function() {
467
- e.requestPermission(function(n) {
468
- n === "granted" ? s() : console.log("用户无情残忍的拒绝了你!!!");
477
+ let n = function() {
478
+ e.requestPermission(function(a) {
479
+ a === "granted" ? s() : console.log("用户无情残忍的拒绝了你!!!");
469
480
  });
470
481
  }, s = function() {
471
- const n = new Notification(o.config.name, {
482
+ const a = new Notification(o.config.name, {
472
483
  body: t,
473
484
  icon: o.config.img
474
485
  });
475
- n.onshow = function() {
486
+ a.onshow = function() {
476
487
  o.getAudio(), setTimeout(() => {
477
- n.close();
488
+ a.close();
478
489
  }, 2500);
479
- }, n.onclick = function() {
480
- n.close();
490
+ }, a.onclick = function() {
491
+ a.close();
481
492
  };
482
493
  };
483
494
  const i = e.permission;
484
- i === "granted" ? s() : i === "denied" ? console.log("用户拒绝了你!!!") : a();
495
+ i === "granted" ? s() : i === "denied" ? console.log("用户拒绝了你!!!") : n();
485
496
  }
486
497
  },
487
498
  // mine为'我'的对话
488
499
  // text为内容
489
500
  pushMsg(t = {}) {
490
- const o = t.mine === !0, e = t.text || {}, a = {
491
- date: t.date || c(Date.now(), "YYYY-MM-DD HH:mm:ss"),
501
+ const o = t.mine === !0, e = t.text || {}, n = {
502
+ date: t.date || f(Date.now(), "YYYY-MM-DD HH:mm:ss"),
492
503
  text: (() => typeof e != "object" ? {
493
504
  text: e
494
505
  } : e)(),
@@ -496,7 +507,7 @@ const m = {
496
507
  img: o ? this.config.myImg : this.config.img,
497
508
  name: o ? this.config.myName : this.config.name
498
509
  };
499
- this.list.push(a), setTimeout(() => {
510
+ this.list.push(n), setTimeout(() => {
500
511
  this.setScroll();
501
512
  }, 50);
502
513
  },
@@ -518,8 +529,8 @@ const m = {
518
529
  const o = t;
519
530
  return setTimeout(() => {
520
531
  (this.$refs.content || []).forEach((i) => {
521
- for (let a = 0; a < i.children.length; a++) {
522
- const s = i.children[a];
532
+ for (let n = 0; n < i.children.length; n++) {
533
+ const s = i.children[n];
523
534
  s.getAttribute("data-flag") !== "0" && (s.setAttribute("data-flag", 0), s.onclick = () => {
524
535
  this.handleEvent(s.dataset);
525
536
  }, s.tagName === "IMG" ? (s.className = "web__msg--img", s.src = s.getAttribute("data-src")) : s.tagName === "VIDEO" ? (s.className = "web__msg--video", s.src = s.getAttribute("data-src")) : s.tagName === "AUDIO" ? (s.className = "web__msg--audio", s.controls = "controls", s.src = s.getAttribute("data-src")) : s.tagName === "FILE" ? (s.className = "web__msg--file", s.innerHTML = `<h2>File</h2><span>${s.getAttribute("data-name")}</span>`) : s.tagName === "MAP" && (s.className = "web__msg--file web__msg--map", s.innerHTML = `<h2>Map</h2><span>${s.getAttribute("data-longitude")} , ${s.getAttribute(
@@ -530,7 +541,7 @@ const m = {
530
541
  }, 0), o;
531
542
  },
532
543
  getDetail(t = {}) {
533
- const { type: o, src: e, name: i, longitude: a, latitude: s, address: n } = t;
544
+ const { type: o, src: e, name: i, longitude: n, latitude: s, address: a } = t;
534
545
  if (o === "img")
535
546
  return `<img data-type="IMG" data-src="${e}" alt=""/>`;
536
547
  if (o === "video")
@@ -540,7 +551,7 @@ const m = {
540
551
  if (o === "file")
541
552
  return `<file data-type="FILE" data-name="${i}" data-src="${e}"></file>`;
542
553
  if (o === "map")
543
- return `<map data-type="MAP" data-src="${e}" data-address="${n} " data-latitude="${s}" data-longitude="${a}"></map>`;
554
+ return `<map data-type="MAP" data-src="${e}" data-address="${a} " data-latitude="${s}" data-longitude="${n}"></map>`;
544
555
  },
545
556
  // 处理事件
546
557
  handleEvent(t) {
@@ -555,24 +566,24 @@ const m = {
555
566
  }), this.notice && this.getNotification(t.text || t);
556
567
  }
557
568
  }
558
- }, r = {};
559
- var p = /* @__PURE__ */ d(
560
- m,
561
- u,
562
- f,
569
+ }, m = {};
570
+ var $ = /* @__PURE__ */ w(
571
+ k,
572
+ x,
573
+ S,
563
574
  !1,
564
- h,
575
+ C,
565
576
  null,
566
577
  null,
567
578
  null
568
579
  );
569
- function h(t) {
570
- for (let o in r)
571
- this[o] = r[o];
580
+ function C(t) {
581
+ for (let o in m)
582
+ this[o] = m[o];
572
583
  }
573
- const b = /* @__PURE__ */ function() {
574
- return p.exports;
584
+ const K = /* @__PURE__ */ function() {
585
+ return $.exports;
575
586
  }();
576
587
  export {
577
- b as default
588
+ K as default
578
589
  };