@web-utils/component 3.3.2 → 3.3.4

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/chat/index.mjs CHANGED
@@ -142,9 +142,9 @@ const d = {
142
142
  pushMsg(s = {}) {
143
143
  const t = s.mine === !0, e = s.text || {}, a = {
144
144
  date: s.date || r(Date.now(), "YYYY-MM-DD HH:mm:ss"),
145
- text: (() => typeof e != "object" ? {
145
+ text: typeof e != "object" ? {
146
146
  text: e
147
- } : e)(),
147
+ } : e,
148
148
  mine: t,
149
149
  img: t ? this.config.myImg : this.config.img,
150
150
  name: t ? this.config.myName : this.config.name
@@ -1,10 +1,11 @@
1
1
  import { isBlank as _ } from "@web-utils/core";
2
2
  import { formatDate as i } from "@web-utils/integrations/dayjs";
3
3
  import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.y1gUGRqi.mjs";
4
+ import "../fy-u-editor/style.css";
4
5
  import { a as D, b as O } from "./dataformat.Ab9PZnVk.mjs";
5
6
  import { s as j } from "./slot.j1uMmBnG.mjs";
6
7
  import { n as L } from "./_plugin-vue2_normalizer.JwmUNtgn.mjs";
7
- const M = (n = {}, e = {}, s = {}, r = []) => {
8
+ const R = (n = {}, e = {}, s = {}, r = []) => {
8
9
  let t = n[e.prop];
9
10
  const a = e.type, o = e.separator;
10
11
  if (e.bind && (t = h(n, e.bind)), _(t))
@@ -117,8 +118,8 @@ var k = function() {
117
118
  null,
118
119
  null
119
120
  );
120
- const R = I.exports;
121
+ const V = I.exports;
121
122
  export {
122
- R as F,
123
- M as d
123
+ V as F,
124
+ R as d
124
125
  };
@@ -47,12 +47,12 @@ const a = {
47
47
  title: "需要引入mock模拟数据包",
48
48
  github: "https://github.com/Colingo/mock"
49
49
  }
50
- }, o = (() => ({
50
+ }, o = {
51
51
  logs: function(s) {
52
52
  const t = a[s], i = l(s);
53
53
  i.warning(t.title), i.warning(`CDN:${t.url || "-"}`), i.warning(`GITHUB:${t.github || "-"}`);
54
54
  }
55
- }))();
55
+ };
56
56
  export {
57
57
  o as p
58
58
  };
@@ -1,4 +1,4 @@
1
- const t = (() => {
1
+ const t = /* @__PURE__ */ (() => {
2
2
  function n(e, s) {
3
3
  s.value === !1 ? e.style.display = "none" : e.style.display = "";
4
4
  }