@web-utils/component 3.2.3 → 3.3.0

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 (57) hide show
  1. package/chunks/{FormTemp.0ezzipG4.mjs → FormTemp.2IfXIr8o.mjs} +6 -5
  2. package/chunks/{form-input-mixin.DLHG0EnH.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
  3. package/chunks/{form-item-mixin.gd9p9Rrj.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
  4. package/chunks/{index.Uf8ONhVI.mjs → index.LGsb2aDq.mjs} +3 -3
  5. package/data-display/index.mjs +15 -129
  6. package/data-table-picker/index.mjs +1 -1
  7. package/easy-popup/index.mjs +7 -8
  8. package/editable-tree/index.mjs +1 -1
  9. package/flex-column/index.mjs +1 -1
  10. package/flex-item/index.mjs +1 -1
  11. package/flex-row/index.mjs +1 -1
  12. package/flow-designer/index.mjs +164 -218
  13. package/flow-viewer/index.mjs +73 -161
  14. package/form-button/index.mjs +11 -25
  15. package/form-cascader/index.mjs +2 -2
  16. package/form-checkbox-group/index.mjs +2 -2
  17. package/form-date-picker/index.mjs +2 -2
  18. package/form-holder/index.mjs +1 -1
  19. package/form-input/index.mjs +2 -2
  20. package/form-input-email/index.mjs +2 -2
  21. package/form-input-id-card/index.mjs +2 -2
  22. package/form-input-number/index.mjs +2 -2
  23. package/form-input-phone-number/index.mjs +2 -2
  24. package/form-input-tag/index.mjs +31 -155
  25. package/form-input-time/index.mjs +2 -2
  26. package/form-item/index.mjs +1 -1
  27. package/form-radio-group/index.mjs +2 -2
  28. package/form-select/index.mjs +2 -2
  29. package/form-switch/index.mjs +2 -2
  30. package/form-textarea/index.mjs +2 -2
  31. package/form-view/index.mjs +13 -12
  32. package/fy-curd/index.mjs +5 -4
  33. package/fy-form/index.mjs +1 -1
  34. package/fy-form-design/index.mjs +329 -498
  35. package/fy-input-icon/index.mjs +21 -20
  36. package/fy-u-editor/index.mjs +237 -75
  37. package/highlight-j-s/index.mjs +3 -4
  38. package/icon-temp/index.mjs +6 -7
  39. package/nav-bar/index.mjs +6 -7
  40. package/package.json +1 -1
  41. package/page/index.mjs +0 -1
  42. package/page-header/index.mjs +2 -3
  43. package/page-skeleton/index.mjs +17 -95
  44. package/pageable-table/index.mjs +1 -1
  45. package/pageable-view/index.mjs +8 -8
  46. package/present-view/index.mjs +4 -3
  47. package/resize-observer/index.mjs +3 -4
  48. package/split-pane/index.mjs +4 -3
  49. package/swiper/index.mjs +4 -3
  50. package/table-view/index.mjs +1 -1
  51. package/watermark/index.mjs +1 -1
  52. package/web-types.json +1 -1
  53. package/x-input-tag/index.mjs +9 -10
  54. package/chunks/FyUEditor.c06LkvIy.mjs +0 -224
  55. package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +0 -167
  56. package/chunks/IconTemp.tzsg5qth.mjs +0 -29
  57. package/chunks/ResizeObserver.sOHk2Cm-.mjs +0 -51
@@ -1,5 +1,6 @@
1
1
  import { p as a, e as s } from "../chunks/event.lbJYeMJp.mjs";
2
- import { I as o } from "../chunks/IconTemp.tzsg5qth.mjs";
2
+ import o from "./icon-temp/index.mjs";
3
+ import "./icon-temp/style.css";
3
4
  import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
4
5
  const c = {
5
6
  name: "FyInputIcon",
@@ -24,10 +25,10 @@ const c = {
24
25
  },
25
26
  computed: {
26
27
  list() {
27
- let i = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
28
+ let n = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
28
29
  value: t
29
30
  } : t);
30
- return this.filterText && (i = i.filter((t) => t.label.indexOf(this.filterText) !== -1)), i;
31
+ return this.filterText && (n = n.filter((t) => t.label.indexOf(this.filterText) !== -1)), n;
31
32
  },
32
33
  option() {
33
34
  return {
@@ -39,11 +40,11 @@ const c = {
39
40
  this.tabs = this.iconList[0] || {};
40
41
  },
41
42
  methods: {
42
- handleTabs(i) {
43
- this.tabs = i;
43
+ handleTabs(n) {
44
+ this.tabs = n;
44
45
  },
45
- handleSubmit(i) {
46
- this.box = !1, this.text = i, this.handleChange(i);
46
+ handleSubmit(n) {
47
+ this.box = !1, this.text = n, this.handleChange(n);
47
48
  },
48
49
  handleShow() {
49
50
  this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
@@ -52,20 +53,20 @@ const c = {
52
53
  };
53
54
  var u = function() {
54
55
  var t = this, e = t._self._c;
55
- return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(n) {
56
+ return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(i) {
56
57
  return t.handleClick.apply(null, arguments);
57
58
  } }, scopedSlots: t._u([{ key: "append", fn: function() {
58
59
  return [e("IconTemp", { attrs: { text: t.text, size: 28, small: t.size === "mini" }, on: { click: t.handleShow } })];
59
- }, proxy: !0 }]), model: { value: t.text, callback: function(n) {
60
- t.text = n;
61
- }, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(n) {
62
- t.box = n;
63
- } } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(n) {
64
- t.filterText = n;
65
- }, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(n, l) {
66
- return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text === n }], on: { click: function(f) {
67
- return t.handleSubmit(n.value);
68
- } } }, [e("IconTemp", { attrs: { text: n.value, small: t.size === "mini" } }), e("p", [t._v(t._s(n.label || n.value))])], 1);
60
+ }, proxy: !0 }]), model: { value: t.text, callback: function(i) {
61
+ t.text = i;
62
+ }, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(i) {
63
+ t.box = i;
64
+ } } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(i) {
65
+ t.filterText = i;
66
+ }, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(i, l) {
67
+ return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text === i }], on: { click: function(f) {
68
+ return t.handleSubmit(i.value);
69
+ } } }, [e("IconTemp", { attrs: { text: i.value, small: t.size === "mini" } }), e("p", [t._v(t._s(i.label || i.value))])], 1);
69
70
  }), 0)], 1)], 1) : t._e()], 1);
70
71
  }, d = [], p = /* @__PURE__ */ r(
71
72
  c,
@@ -77,7 +78,7 @@ var u = function() {
77
78
  null,
78
79
  null
79
80
  );
80
- const b = p.exports;
81
+ const x = p.exports;
81
82
  export {
82
- b as default
83
+ x as default
83
84
  };
@@ -1,37 +1,199 @@
1
- var y = Object.defineProperty, g = Object.defineProperties;
2
- var b = Object.getOwnPropertyDescriptors;
3
- var h = Object.getOwnPropertySymbols;
4
- var S = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
- var p = (t, s, e) => s in t ? y(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e, u = (t, s) => {
6
- for (var e in s || (s = {}))
7
- S.call(s, e) && p(t, e, s[e]);
8
- if (h)
9
- for (var e of h(s))
10
- O.call(s, e) && p(t, e, s[e]);
11
- return t;
12
- }, f = (t, s) => g(t, b(s));
13
- var c = (t, s, e) => new Promise((a, i) => {
14
- var d = (r) => {
1
+ var g = Object.defineProperty, S = Object.defineProperties;
2
+ var C = Object.getOwnPropertyDescriptors;
3
+ var f = Object.getOwnPropertySymbols;
4
+ var b = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
+ var p = (e, t, r) => t in e ? g(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, h = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ b.call(t, r) && p(e, r, t[r]);
8
+ if (f)
9
+ for (var r of f(t))
10
+ x.call(t, r) && p(e, r, t[r]);
11
+ return e;
12
+ }, m = (e, t) => S(e, C(t));
13
+ var u = (e, t, r) => new Promise((o, i) => {
14
+ var n = (s) => {
15
15
  try {
16
- l(e.next(r));
17
- } catch (o) {
18
- i(o);
16
+ d(r.next(s));
17
+ } catch (a) {
18
+ i(a);
19
19
  }
20
- }, n = (r) => {
20
+ }, l = (s) => {
21
21
  try {
22
- l(e.throw(r));
23
- } catch (o) {
24
- i(o);
22
+ d(r.throw(s));
23
+ } catch (a) {
24
+ i(a);
25
25
  }
26
- }, l = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(d, n);
27
- l((e = e.apply(t, s)).next());
26
+ }, d = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(n, l);
27
+ d((r = r.apply(e, t)).next());
28
28
  });
29
29
  import "@wangeditor/editor/dist/css/style.css";
30
- import { g as C, a as _ } from "../chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs";
31
- import { createEditor as v, createToolbar as K } from "@wangeditor/editor";
32
- import { p as H } from "../chunks/util.y1gUGRqi.mjs";
33
- import { n as j } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
34
- const F = {
30
+ import { createEditor as v, createToolbar as A } from "@wangeditor/editor";
31
+ import { p as O } from "../chunks/util.y1gUGRqi.mjs";
32
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
33
+ const w = (e) => {
34
+ const { region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: n } = e;
35
+ return new window.OSS({ region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: n });
36
+ }, K = (e, t, r) => {
37
+ let { scope: o, deadline: i } = r;
38
+ var n = JSON.stringify({ scope: o, deadline: i }), l = k(H(n)), d = window.CryptoJS.HmacSHA1(l, t), s = d.toString(window.CryptoJS.enc.Base64), a = e + ":" + j(s) + ":" + l;
39
+ return a;
40
+ };
41
+ function H(e) {
42
+ var t, r, o, i;
43
+ for (t = "", o = e.length, r = 0; r < o; r++)
44
+ i = e.charCodeAt(r), i >= 1 && i <= 127 ? t += e.charAt(r) : i > 2047 ? (t += String.fromCharCode(224 | i >> 12 & 15), t += String.fromCharCode(128 | i >> 6 & 63), t += String.fromCharCode(128 | i >> 0 & 63)) : (t += String.fromCharCode(192 | i >> 6 & 31), t += String.fromCharCode(128 | i >> 0 & 63));
45
+ return t;
46
+ }
47
+ var c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
48
+ new Array(
49
+ -1,
50
+ -1,
51
+ -1,
52
+ -1,
53
+ -1,
54
+ -1,
55
+ -1,
56
+ -1,
57
+ -1,
58
+ -1,
59
+ -1,
60
+ -1,
61
+ -1,
62
+ -1,
63
+ -1,
64
+ -1,
65
+ -1,
66
+ -1,
67
+ -1,
68
+ -1,
69
+ -1,
70
+ -1,
71
+ -1,
72
+ -1,
73
+ -1,
74
+ -1,
75
+ -1,
76
+ -1,
77
+ -1,
78
+ -1,
79
+ -1,
80
+ -1,
81
+ -1,
82
+ -1,
83
+ -1,
84
+ -1,
85
+ -1,
86
+ -1,
87
+ -1,
88
+ -1,
89
+ -1,
90
+ -1,
91
+ -1,
92
+ 62,
93
+ -1,
94
+ -1,
95
+ -1,
96
+ 63,
97
+ 52,
98
+ 53,
99
+ 54,
100
+ 55,
101
+ 56,
102
+ 57,
103
+ 58,
104
+ 59,
105
+ 60,
106
+ 61,
107
+ -1,
108
+ -1,
109
+ -1,
110
+ -1,
111
+ -1,
112
+ -1,
113
+ -1,
114
+ 0,
115
+ 1,
116
+ 2,
117
+ 3,
118
+ 4,
119
+ 5,
120
+ 6,
121
+ 7,
122
+ 8,
123
+ 9,
124
+ 10,
125
+ 11,
126
+ 12,
127
+ 13,
128
+ 14,
129
+ 15,
130
+ 16,
131
+ 17,
132
+ 18,
133
+ 19,
134
+ 20,
135
+ 21,
136
+ 22,
137
+ 23,
138
+ 24,
139
+ 25,
140
+ -1,
141
+ -1,
142
+ -1,
143
+ -1,
144
+ -1,
145
+ -1,
146
+ 26,
147
+ 27,
148
+ 28,
149
+ 29,
150
+ 30,
151
+ 31,
152
+ 32,
153
+ 33,
154
+ 34,
155
+ 35,
156
+ 36,
157
+ 37,
158
+ 38,
159
+ 39,
160
+ 40,
161
+ 41,
162
+ 42,
163
+ 43,
164
+ 44,
165
+ 45,
166
+ 46,
167
+ 47,
168
+ 48,
169
+ 49,
170
+ 50,
171
+ 51,
172
+ -1,
173
+ -1,
174
+ -1,
175
+ -1,
176
+ -1
177
+ );
178
+ function k(e) {
179
+ var t, r, o, i, n, l;
180
+ for (o = e.length, r = 0, t = ""; r < o; ) {
181
+ if (i = e.charCodeAt(r++) & 255, r == o) {
182
+ t += c.charAt(i >> 2), t += c.charAt((i & 3) << 4), t += "==";
183
+ break;
184
+ }
185
+ if (n = e.charCodeAt(r++), r == o) {
186
+ t += c.charAt(i >> 2), t += c.charAt((i & 3) << 4 | (n & 240) >> 4), t += c.charAt((n & 15) << 2), t += "=";
187
+ break;
188
+ }
189
+ l = e.charCodeAt(r++), t += c.charAt(i >> 2), t += c.charAt((i & 3) << 4 | (n & 240) >> 4), t += c.charAt((n & 15) << 2 | (l & 192) >> 6), t += c.charAt(l & 63);
190
+ }
191
+ return t;
192
+ }
193
+ var j = function(e) {
194
+ return e = e.replace(/\+/g, "-"), e = e.replace(/\//g, "_"), e;
195
+ };
196
+ const E = {
35
197
  name: "FyUEditor",
36
198
  props: {
37
199
  data: {
@@ -103,35 +265,35 @@ const F = {
103
265
  }
104
266
  },
105
267
  watch: {
106
- disabled(t) {
107
- t ? this.editor.disable() : this.editor.enable();
268
+ disabled(e) {
269
+ e ? this.editor.disable() : this.editor.enable();
108
270
  },
109
- value(t) {
110
- t ? this.editor.setHtml(t) : this.editor.clear();
271
+ value(e) {
272
+ e ? this.editor.setHtml(e) : this.editor.clear();
111
273
  }
112
274
  },
113
275
  mounted() {
114
276
  this.initEdit();
115
277
  },
116
278
  beforeDestroy() {
117
- var t;
118
- (t = this.editor) == null || t.destroy();
279
+ var e;
280
+ (e = this.editor) == null || e.destroy();
119
281
  },
120
282
  methods: {
121
283
  initEdit() {
122
- const t = "default", s = f(u({
284
+ const e = "default", t = m(h({
123
285
  placeholder: this.placeholder,
124
286
  readOnly: this.disabled,
125
287
  MENU_CONF: {
126
288
  uploadImage: {
127
- customUpload: (a) => c(this, null, function* () {
128
- const i = yield this.uploadFile(a);
289
+ customUpload: (o) => u(this, null, function* () {
290
+ const i = yield this.uploadFile(o);
129
291
  this.editor.dangerouslyInsertHtml(i);
130
292
  })
131
293
  },
132
294
  uploadVideo: {
133
- customUpload: (a) => c(this, null, function* () {
134
- const i = yield this.uploadFile(a);
295
+ customUpload: (o) => u(this, null, function* () {
296
+ const i = yield this.uploadFile(o);
135
297
  this.editor.dangerouslyInsertHtml(i);
136
298
  })
137
299
  }
@@ -140,63 +302,63 @@ const F = {
140
302
  onFocus: () => {
141
303
  this.$emit("focus", this.value);
142
304
  },
143
- onBlur: (a) => {
144
- const i = a.getHtml();
305
+ onBlur: (o) => {
306
+ const i = o.getHtml();
145
307
  this.$emit("blur", i);
146
308
  },
147
- onChange: (a) => {
148
- const i = a.getHtml();
309
+ onChange: (o) => {
310
+ const i = o.getHtml();
149
311
  this.$emit("input", i);
150
312
  }
151
313
  });
152
314
  this.editor = Object.seal(
153
315
  v({
154
316
  selector: this.$refs.editor,
155
- config: s,
317
+ config: t,
156
318
  html: this.value,
157
- mode: t
319
+ mode: e
158
320
  })
159
321
  );
160
- const e = u({}, this.toolbarConfig);
161
- this.toolbar = K({
322
+ const r = h({}, this.toolbarConfig);
323
+ this.toolbar = A({
162
324
  editor: this.editor,
163
325
  selector: this.$refs.toolbar,
164
- config: e,
165
- mode: t
326
+ config: r,
327
+ mode: e
166
328
  });
167
329
  },
168
- uploadFile(t) {
169
- return new Promise((s, e) => {
170
- const a = Object.assign(this.headers, {
330
+ uploadFile(e) {
331
+ return new Promise((t, r) => {
332
+ const o = Object.assign(this.headers, {
171
333
  "Content-Type": "multipart/form-data"
172
334
  });
173
- let i = {}, d;
174
- const n = new FormData();
175
- let l = this.action;
176
- if (n.append(this.fileName, t), Object.keys(this.data).forEach((r) => {
177
- n.append(r, this.data[r]);
335
+ let i = {}, n;
336
+ const l = new FormData();
337
+ let d = this.action;
338
+ if (l.append(this.fileName, e), Object.keys(this.data).forEach((s) => {
339
+ l.append(s, this.data[s]);
178
340
  }), this.isQiniuOSS) {
179
341
  i = this.qiniu;
180
- const r = C(i.AK, i.SK, {
342
+ const s = K(i.AK, i.SK, {
181
343
  scope: i.scope,
182
344
  deadline: (/* @__PURE__ */ new Date()).getTime() + i.deadline * 3600
183
345
  });
184
- n.append("token", r), l = "http://up.qiniu.com/";
346
+ l.append("token", s), d = "http://up.qiniu.com/";
185
347
  } else
186
- this.isAliOSS && (i = this.ali, d = _({
348
+ this.isAliOSS && (i = this.ali, n = w({
187
349
  region: i.region,
188
350
  endpoint: i.endpoint,
189
351
  accessKeyId: i.accessKeyId,
190
352
  accessKeySecret: i.accessKeySecret,
191
353
  bucket: i.bucket
192
354
  }));
193
- (() => this.isAliOSS ? d.put(t.name, t) : this.$axios.post(l, n, { headers: a }))().then((r) => {
194
- let o;
195
- this.isAliOSS ? o = r : this.isQiniuOSS ? (o = r.data, o.key = i.url + o.key) : typeof this.resKey == "function" ? o = this.resKey(r.data) : (o = H(r.data, this.resKey), o = o[this.urlKey]);
196
- const m = this.homeUrl + o;
197
- s(m);
198
- }).catch((r) => {
199
- e(r);
355
+ (() => this.isAliOSS ? n.put(e.name, e) : this.$axios.post(d, l, { headers: o }))().then((s) => {
356
+ let a;
357
+ this.isAliOSS ? a = s : this.isQiniuOSS ? (a = s.data, a.key = i.url + a.key) : typeof this.resKey == "function" ? a = this.resKey(s.data) : (a = O(s.data, this.resKey), a = a[this.urlKey]);
358
+ const y = this.homeUrl + a;
359
+ t(y);
360
+ }).catch((s) => {
361
+ r(s);
200
362
  });
201
363
  });
202
364
  },
@@ -205,20 +367,20 @@ const F = {
205
367
  }
206
368
  }
207
369
  };
208
- var k = function() {
209
- var s = this, e = s._self._c;
210
- return e("div", { staticClass: "avue-ueditor" }, [e("div", { ref: "toolbar", staticClass: "fy-editor-toolbar" }), e("div", { ref: "editor", staticClass: "fy-editor" })]);
211
- }, E = [], U = /* @__PURE__ */ j(
212
- F,
213
- k,
370
+ var F = function() {
371
+ var t = this, r = t._self._c;
372
+ return r("div", { staticClass: "avue-ueditor" }, [r("div", { ref: "toolbar", staticClass: "fy-editor-toolbar" }), r("div", { ref: "editor", staticClass: "fy-editor" })]);
373
+ }, U = [], I = /* @__PURE__ */ _(
214
374
  E,
375
+ F,
376
+ U,
215
377
  !1,
216
378
  null,
217
379
  null,
218
380
  null,
219
381
  null
220
382
  );
221
- const T = U.exports;
383
+ const D = I.exports;
222
384
  export {
223
- T as default
385
+ D as default
224
386
  };
@@ -1,7 +1,6 @@
1
1
  import a from "highlight.js/lib/core";
2
2
  import "highlight.js/styles/atom-one-dark-reasonable.css";
3
3
  import { escapeHtml as g } from "@web-utils/core";
4
- /* empty css */
5
4
  import { n as l } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
6
5
  const i = {
7
6
  name: "HighlightJS",
@@ -47,7 +46,7 @@ const i = {
47
46
  var s = function() {
48
47
  var t = this, n = t._self._c;
49
48
  return n("pre", { staticClass: "highlight-js" }, [n("code", { class: t.className, domProps: { innerHTML: t._s(t.highlighted.value) } })]);
50
- }, r = [], o = /* @__PURE__ */ l(
49
+ }, r = [], h = /* @__PURE__ */ l(
51
50
  i,
52
51
  s,
53
52
  r,
@@ -57,7 +56,7 @@ var s = function() {
57
56
  null,
58
57
  null
59
58
  );
60
- const p = o.exports;
59
+ const m = h.exports;
61
60
  export {
62
- p as default
61
+ m as default
63
62
  };
@@ -1,5 +1,4 @@
1
- /* empty css */
2
- import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
1
+ import { n as t } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
2
  const s = {
4
3
  name: "IconTemp",
5
4
  props: {
@@ -11,9 +10,9 @@ const s = {
11
10
  }
12
11
  };
13
12
  var a = function() {
14
- var e = this, t = e._self._c;
15
- return t("span", { staticClass: "avue-icon", class: { "avue-icon--small": e.small } }, [e.text.includes("#") ? t("svg", { attrs: { "aria-hidden": "true" } }, [t("use", { attrs: { "xlink:href": e.text } })]) : t("i", { class: e.text })]);
16
- }, l = [], r = /* @__PURE__ */ n(
13
+ var e = this, n = e._self._c;
14
+ return n("span", { staticClass: "avue-icon", class: { "avue-icon--small": e.small } }, [e.text.includes("#") ? n("svg", { attrs: { "aria-hidden": "true" } }, [n("use", { attrs: { "xlink:href": e.text } })]) : n("i", { class: e.text })]);
15
+ }, l = [], r = /* @__PURE__ */ t(
17
16
  s,
18
17
  a,
19
18
  l,
@@ -23,7 +22,7 @@ var a = function() {
23
22
  null,
24
23
  null
25
24
  );
26
- const m = r.exports;
25
+ const i = r.exports;
27
26
  export {
28
- m as default
27
+ i as default
29
28
  };
package/nav-bar/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
- /* empty css */
2
- import { n as e } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
2
  const a = {
4
3
  name: "NavBar",
5
4
  props: {
@@ -16,9 +15,9 @@ const a = {
16
15
  }
17
16
  };
18
17
  var n = function() {
19
- var t = this, o = t._self._c;
20
- return o("div", { staticClass: "nav-bar" }, [t.showBack ? o("ElButton", { attrs: { type: "text", icon: "el-icon-arrow-left" }, on: { click: t.goBack } }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? o("div", { staticClass: "flex-item flex-row-column vertical-center" }, [t._t("right")], 2) : t._e()], 1);
21
- }, r = [], s = /* @__PURE__ */ e(
18
+ var t = this, e = t._self._c;
19
+ return e("div", { staticClass: "nav-bar" }, [t.showBack ? e("ElButton", { attrs: { type: "text", icon: "el-icon-arrow-left" }, on: { click: t.goBack } }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? e("div", { staticClass: "flex-item flex-row-column vertical-center" }, [t._t("right")], 2) : t._e()], 1);
20
+ }, r = [], s = /* @__PURE__ */ o(
22
21
  a,
23
22
  n,
24
23
  r,
@@ -28,7 +27,7 @@ var n = function() {
28
27
  null,
29
28
  null
30
29
  );
31
- const _ = s.exports;
30
+ const i = s.exports;
32
31
  export {
33
- _ as default
32
+ i as default
34
33
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.2.3",
4
+ "version": "3.3.0",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
package/page/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- /* empty css */
2
1
  import { n as t } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
2
  const l = {
4
3
  name: "Page",
@@ -1,4 +1,3 @@
1
- /* empty css */
2
1
  import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
2
  const l = {
4
3
  name: "PageHeader",
@@ -30,7 +29,7 @@ var a = function() {
30
29
  null,
31
30
  null
32
31
  );
33
- const d = i.exports;
32
+ const o = i.exports;
34
33
  export {
35
- d as default
34
+ o as default
36
35
  };