@yuiyideyui/everybody-ui 1.0.28 → 1.1.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.
@@ -1 +1 @@
1
- [data-v-da529416] .el-table__inner-wrapper{display:flex;flex-direction:column}[data-v-da529416] .el-scrollbar__view{will-change:transform}
1
+ [data-v-ec6b1b3a] .el-table__inner-wrapper{display:flex;flex-direction:column}[data-v-ec6b1b3a] .el-scrollbar__view{will-change:transform}
@@ -0,0 +1,65 @@
1
+ import { App } from 'vue';
2
+ import { DefineSetupFnComponent } from 'vue';
3
+ import { DirectiveBinding } from 'vue';
4
+ import { PublicProps } from 'vue';
5
+ import { VNode } from 'vue';
6
+
7
+ declare interface CustomListConfig {
8
+ cellRenderer?: (nodeData: {
9
+ val: any;
10
+ rowData: TableRowData;
11
+ prop: string;
12
+ }, el: Element, binding: DirectiveBinding, vnode: VNode) => any;
13
+ click?: (rowData: TableRowData) => void;
14
+ }
15
+
16
+ declare const _default: {
17
+ install(app: App, options?: EverybodyUIOptions): void;
18
+ };
19
+ export default _default;
20
+
21
+ export declare const EbCustomTable: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
22
+
23
+ export declare const EbMessage: (options: EbMessageOptions) => {
24
+ close: () => void;
25
+ };
26
+
27
+ export declare interface EbMessageOptions {
28
+ jsx: VNode | (() => VNode);
29
+ position: "top" | "bottom" | "left" | "right" | "center";
30
+ timeClose?: number;
31
+ baseStyle?: boolean;
32
+ }
33
+
34
+ export declare type everybodyTableHeader = everybodyTableHeaderItem[];
35
+
36
+ declare type everybodyTableHeaderItem = ItableHeaderNoChildren | ItableHeaderChildren;
37
+
38
+ export declare interface EverybodyUIOptions {
39
+ global?: boolean;
40
+ }
41
+
42
+ declare interface ItableHeaderChildren {
43
+ children: ItableHeaderNoChildren[];
44
+ label: string;
45
+ align?: 'left' | 'center' | 'right';
46
+ prop?: never;
47
+ }
48
+
49
+ declare interface ItableHeaderNoChildren {
50
+ prop: string;
51
+ label: string;
52
+ align?: 'left' | 'center' | 'right';
53
+ customList?: CustomListConfig[];
54
+ showOverflowTooltip?: boolean;
55
+ width?: string | number;
56
+ boxClass?: string;
57
+ boxStyle?: string;
58
+ children?: never;
59
+ }
60
+
61
+ declare interface TableRowData {
62
+ [key: string]: any;
63
+ }
64
+
65
+ export { }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, resolveDirective as O, ref as _, computed as w, resolveComponent as F, withDirectives as T, openBlock as H, createElementBlock as Q, createVNode as y, mergeProps as P, withCtx as I, unref as $, createElementVNode as L, normalizeStyle as M, Fragment as U, h as z, render as S, getCurrentScope as J, onScopeDispose as q, shallowRef as G, watch as D, toValue as m, watchEffect as W } from "vue";
1
+ import { defineComponent as x, resolveDirective as O, ref as _, computed as w, resolveComponent as F, withDirectives as T, openBlock as H, createElementBlock as Q, createVNode as y, mergeProps as P, withCtx as I, unref as $, createElementVNode as L, normalizeStyle as M, Fragment as U, h as z, render as S, getCurrentScope as J, onScopeDispose as q, shallowRef as G, watch as D, toValue as b, watchEffect as W } from "vue";
2
2
  import { ElTableColumn as k } from "element-plus";
3
3
  const X = {
4
4
  "element-loading-background": "transparent",
@@ -29,57 +29,57 @@ const X = {
29
29
  }
30
30
  },
31
31
  setup(a) {
32
- const l = (d) => d.map((u, v) => u.children && u.children.length > 0 ? y(k, {
33
- key: u.label + v,
34
- label: u.label,
35
- align: u.align
32
+ const l = (d) => d.map((i, v) => i.children && i.children.length > 0 ? y(k, {
33
+ key: i.label + v,
34
+ label: i.label,
35
+ align: i.align
36
36
  }, {
37
- default: () => l(u.children)
38
- }) : u.prop ? y(k, {
39
- key: u.prop + v,
40
- prop: u.prop,
41
- label: u.label,
42
- width: u.width,
43
- align: u.align,
44
- "show-overflow-tooltip": u.showOverflowTooltip
37
+ default: () => l(i.children)
38
+ }) : i.prop ? y(k, {
39
+ key: i.prop + v,
40
+ prop: i.prop,
41
+ label: i.label,
42
+ width: i.width,
43
+ align: i.align,
44
+ "show-overflow-tooltip": i.showOverflowTooltip
45
45
  }, {
46
- default: (g) => u.customList?.map((b, h) => {
47
- const A = g.row[u.prop], C = g.row;
48
- return b.cellRenderer && o ? T(y("span", {
46
+ default: (g) => i.customList?.map((m, h) => {
47
+ const A = g.row[i.prop], C = g.row;
48
+ return m.cellRenderer && o ? T(y("span", {
49
49
  key: h + "b",
50
- class: u.boxClass || "",
51
- style: u.boxStyle,
50
+ class: i.boxClass || "",
51
+ style: i.boxStyle,
52
52
  onClick: (B) => {
53
- b.click && (B.stopPropagation(), b.click?.(C));
53
+ m.click && (B.stopPropagation(), m.click?.(C));
54
54
  }
55
- }, null), [[o, [b.cellRenderer, A, C, u.prop]]]) : null;
55
+ }, null), [[o, [m.cellRenderer, A, C, i.prop]]]) : null;
56
56
  })
57
57
  }) : null);
58
58
  return () => y(U, null, [l(a.columns)]);
59
59
  }
60
- }), r = _(), i = _(0), c = _(0), s = w(() => {
60
+ }), r = _(), s = _(0), u = _(0), f = w(() => {
61
61
  if (!t.isDataSlice.isSlice) return t.data;
62
- const a = Math.max(0, c.value - 5), l = Math.min(t.data.length, a + (t.isDataSlice.num || 20) + 10);
62
+ const a = Math.max(0, u.value - 5), l = Math.min(t.data.length, a + (t.isDataSlice.num || 20) + 10);
63
63
  return t.data.slice(a, l);
64
- }), f = w(() => {
64
+ }), c = w(() => {
65
65
  if (!t.isDataSlice.isSlice)
66
66
  return 0;
67
- const a = Math.min(t.data.length, c.value + (t.isDataSlice.num || 20) + 5);
67
+ const a = Math.min(t.data.length, u.value + (t.isDataSlice.num || 20) + 5);
68
68
  return (t.data.length - a) * t.rowHeight;
69
69
  }), p = ({
70
70
  scrollTop: a
71
71
  }) => {
72
- if (i.value = a, t.isDataSlice.isSlice) {
73
- c.value = Math.floor(a / t.rowHeight);
72
+ if (s.value = a, t.isDataSlice.isSlice) {
73
+ u.value = Math.floor(a / t.rowHeight);
74
74
  const l = r.value?.$el.querySelector(".el-scrollbar__view");
75
75
  if (l) {
76
- const d = Math.max(0, c.value - 5) * t.rowHeight;
76
+ const d = Math.max(0, u.value - 5) * t.rowHeight;
77
77
  l.style.transform = `translateY(${d}px)`;
78
78
  }
79
79
  }
80
80
  };
81
81
  return (a, l) => {
82
- const d = F("el-table"), u = O("loading");
82
+ const d = F("el-table"), i = O("loading");
83
83
  return T((H(), Q("div", X, [y(d, P({
84
84
  onScroll: p,
85
85
  ref_key: "customTableRef",
@@ -88,7 +88,7 @@ const X = {
88
88
  style: {
89
89
  width: "100%"
90
90
  },
91
- data: s.value
91
+ data: f.value
92
92
  }, a.$attrs, {
93
93
  "row-style": {
94
94
  maxHeight: e.rowHeight + "px"
@@ -96,14 +96,14 @@ const X = {
96
96
  }), {
97
97
  append: I(() => [L("div", {
98
98
  style: M({
99
- height: f.value + "px"
99
+ height: c.value + "px"
100
100
  })
101
101
  }, null, 4)]),
102
102
  default: I(() => [y($(n), {
103
103
  columns: e.tableHeader
104
104
  }, null, 8, ["columns"])]),
105
105
  _: 1
106
- }, 16, ["data", "row-style"])])), [[u, e.customListLoading]]);
106
+ }, 16, ["data", "row-style"])])), [[i, e.customListLoading]]);
107
107
  };
108
108
  }
109
109
  }), K = (e, t) => {
@@ -111,15 +111,16 @@ const X = {
111
111
  for (const [n, r] of t)
112
112
  o[n] = r;
113
113
  return o;
114
- }, Z = /* @__PURE__ */ K(Y, [["__scopeId", "data-v-da529416"]]), ge = (e) => {
114
+ }, Z = /* @__PURE__ */ K(Y, [["__scopeId", "data-v-ec6b1b3a"]]), ge = (e) => {
115
115
  const t = document.createElement("div");
116
116
  t.className = "eb-message-container";
117
117
  const o = () => {
118
118
  S(null, t), t.remove();
119
119
  }, n = () => {
120
- const c = {
120
+ const u = {
121
121
  position: "fixed",
122
- zIndex: 1e3,
122
+ zIndex: 1e3
123
+ }, f = {
123
124
  backgroundColor: "#fff",
124
125
  border: "1px solid #ccc",
125
126
  borderRadius: "8px",
@@ -128,20 +129,24 @@ const X = {
128
129
  };
129
130
  if (e.position === "center")
130
131
  return {
131
- ...c,
132
+ ...f,
132
133
  top: "50%",
133
134
  left: "50%",
134
135
  transform: "translate(-50%, -50%)"
135
136
  };
136
- const s = {
137
+ const c = {
137
138
  left: "50%",
138
139
  transform: "translateX(-50%)"
139
140
  };
140
- return e.position === "left" ? (s.left = "20px", s.top = "50%", s.transform = "translateY(-50%)") : e.position === "right" ? (s.left = "auto", s.right = "20px", s.top = "50%", s.transform = "translateY(-50%)") : s[e.position] = "20px", {
141
- ...c,
142
- ...s
141
+ return e.position === "left" ? (c.left = "20px", c.top = "50%", c.transform = "translateY(-50%)") : e.position === "right" ? (c.left = "auto", c.right = "20px", c.top = "50%", c.transform = "translateY(-50%)") : c[e.position] = "20px", e.baseStyle === !1 ? {
142
+ ...u,
143
+ ...c
144
+ } : {
145
+ ...u,
146
+ ...f,
147
+ ...c
143
148
  };
144
- }, i = z(/* @__PURE__ */ x({
149
+ }, s = z(/* @__PURE__ */ x({
145
150
  setup() {
146
151
  return () => y("div", {
147
152
  class: "dialog-message-wrapper",
@@ -149,7 +154,7 @@ const X = {
149
154
  }, [typeof e.jsx == "function" ? e.jsx() : e.jsx]);
150
155
  }
151
156
  }));
152
- return S(i, t), document.body.appendChild(t), e.timeClose && setTimeout(o, e.timeClose), {
157
+ return S(s, t), document.body.appendChild(t), e.timeClose && setTimeout(o, e.timeClose), {
153
158
  close: o
154
159
  };
155
160
  };
@@ -313,44 +318,44 @@ const oe = te ? window : void 0, ae = {
313
318
  ]
314
319
  }, re = /* @__PURE__ */ Object.assign({}, { linear: R }, ae);
315
320
  function le([e, t, o, n]) {
316
- const r = (a, l) => 1 - 3 * l + 3 * a, i = (a, l) => 3 * l - 6 * a, c = (a) => 3 * a, s = (a, l, d) => ((r(l, d) * a + i(l, d)) * a + c(l)) * a, f = (a, l, d) => 3 * r(l, d) * a * a + 2 * i(l, d) * a + c(l), p = (a) => {
321
+ const r = (a, l) => 1 - 3 * l + 3 * a, s = (a, l) => 3 * l - 6 * a, u = (a) => 3 * a, f = (a, l, d) => ((r(l, d) * a + s(l, d)) * a + u(l)) * a, c = (a, l, d) => 3 * r(l, d) * a * a + 2 * s(l, d) * a + u(l), p = (a) => {
317
322
  let l = a;
318
323
  for (let d = 0; d < 4; ++d) {
319
- const u = f(l, e, o);
320
- if (u === 0) return l;
321
- const v = s(l, e, o) - a;
322
- l -= v / u;
324
+ const i = c(l, e, o);
325
+ if (i === 0) return l;
326
+ const v = f(l, e, o) - a;
327
+ l -= v / i;
323
328
  }
324
329
  return l;
325
330
  };
326
- return (a) => e === t && o === n ? a : s(p(a), t, n);
331
+ return (a) => e === t && o === n ? a : f(p(a), t, n);
327
332
  }
328
333
  function E(e, t, o) {
329
334
  return e + o * (t - e);
330
335
  }
331
336
  function se(e, t, o) {
332
- const n = m(e), r = m(t);
337
+ const n = b(e), r = b(t);
333
338
  if (typeof n == "number" && typeof r == "number") return E(n, r, o);
334
- if (Array.isArray(n) && Array.isArray(r)) return n.map((i, c) => E(i, m(r[c]), o));
339
+ if (Array.isArray(n) && Array.isArray(r)) return n.map((s, u) => E(s, b(r[u]), o));
335
340
  throw new TypeError("Unknown transition type, specify an interpolation function.");
336
341
  }
337
342
  function N(e) {
338
343
  var t;
339
- return typeof e == "function" ? e : (t = m(e)) !== null && t !== void 0 ? t : R;
344
+ return typeof e == "function" ? e : (t = b(e)) !== null && t !== void 0 ? t : R;
340
345
  }
341
346
  function ie(e, t, o, n = {}) {
342
347
  var r;
343
- const { window: i = oe } = n, c = m(t), s = m(o), f = (r = m(n.duration)) !== null && r !== void 0 ? r : 1e3, p = Date.now(), a = Date.now() + f, l = typeof n.interpolation == "function" ? n.interpolation : se, d = typeof n.easing < "u" ? N(n.easing) : N(n.transition), u = typeof d == "function" ? d : le(d);
348
+ const { window: s = oe } = n, u = b(t), f = b(o), c = (r = b(n.duration)) !== null && r !== void 0 ? r : 1e3, p = Date.now(), a = Date.now() + c, l = typeof n.interpolation == "function" ? n.interpolation : se, d = typeof n.easing < "u" ? N(n.easing) : N(n.transition), i = typeof d == "function" ? d : le(d);
344
349
  return new Promise((v) => {
345
- e.value = c;
350
+ e.value = u;
346
351
  const g = () => {
347
- var b;
348
- if (!((b = n.abort) === null || b === void 0) && b.call(n)) {
352
+ var m;
353
+ if (!((m = n.abort) === null || m === void 0) && m.call(n)) {
349
354
  v();
350
355
  return;
351
356
  }
352
357
  const h = Date.now();
353
- e.value = l(c, s, u((h - p) / f)), h < a ? i?.requestAnimationFrame(g) : (e.value = s, v());
358
+ e.value = l(u, f, i((h - p) / c)), h < a ? s?.requestAnimationFrame(g) : (e.value = f, v());
354
359
  };
355
360
  g();
356
361
  });
@@ -358,25 +363,25 @@ function ie(e, t, o, n = {}) {
358
363
  function ue(e, t = {}) {
359
364
  let o = 0;
360
365
  const n = () => {
361
- const i = m(e);
362
- return typeof t.interpolation > "u" && Array.isArray(i) ? i.map(m) : i;
366
+ const s = b(e);
367
+ return typeof t.interpolation > "u" && Array.isArray(s) ? s.map(b) : s;
363
368
  }, r = G(n());
364
- return D(n, async (i) => {
365
- var c, s;
366
- if (m(t.disabled)) return;
367
- const f = ++o;
368
- t.delay && await ne(m(t.delay)), f === o && ((c = t.onStarted) === null || c === void 0 || c.call(t), await ie(r, r.value, i, {
369
+ return D(n, async (s) => {
370
+ var u, f;
371
+ if (b(t.disabled)) return;
372
+ const c = ++o;
373
+ t.delay && await ne(b(t.delay)), c === o && ((u = t.onStarted) === null || u === void 0 || u.call(t), await ie(r, r.value, s, {
369
374
  ...t,
370
375
  abort: () => {
371
376
  var p;
372
- return f !== o || ((p = t.abort) === null || p === void 0 ? void 0 : p.call(t));
377
+ return c !== o || ((p = t.abort) === null || p === void 0 ? void 0 : p.call(t));
373
378
  }
374
- }), (s = t.onFinished) === null || s === void 0 || s.call(t));
375
- }, { deep: !0 }), D(() => m(t.disabled), (i) => {
376
- i && (o++, r.value = n());
379
+ }), (f = t.onFinished) === null || f === void 0 || f.call(t));
380
+ }, { deep: !0 }), D(() => b(t.disabled), (s) => {
381
+ s && (o++, r.value = n());
377
382
  }), ee(() => {
378
383
  o++;
379
- }), w(() => m(t.disabled) ? n() : r.value);
384
+ }), w(() => b(t.disabled) ? n() : r.value);
380
385
  }
381
386
  function ce(e, t, o) {
382
387
  return o ? e.toLocaleString(void 0, {
@@ -389,22 +394,22 @@ function V(e, t) {
389
394
  value: o,
390
395
  duration: n = 1e3,
391
396
  transition: r = "easeInOutCubic",
392
- format: i = !1
397
+ format: s = !1
393
398
  } = t;
394
399
  if (typeof o != "number") {
395
400
  e.textContent = String(o ?? "");
396
401
  return;
397
402
  }
398
- const c = e.__transitionNumber__?.source.value, s = _(typeof c == "number" ? c : 0), f = ue(s, {
403
+ const u = e.__transitionNumber__?.source.value, f = _(typeof u == "number" ? u : 0), c = ue(f, {
399
404
  duration: n,
400
405
  transition: re[r]
401
406
  }), p = w(() => {
402
407
  const l = o.toString(), d = l.indexOf(".");
403
408
  return d === -1 ? 0 : l.length - d - 1;
404
409
  }), a = W(() => {
405
- e.textContent = ce(f.value, p.value, i);
410
+ e.textContent = ce(c.value, p.value, s);
406
411
  });
407
- e.__transitionNumber__ = { source: s, stop: a }, s.value = o;
412
+ e.__transitionNumber__ = { source: f, stop: a }, f.value = o;
408
413
  }
409
414
  const de = {
410
415
  mounted(e, t, o) {
@@ -428,13 +433,13 @@ const de = {
428
433
  };
429
434
  function j(e, t, o) {
430
435
  try {
431
- const [n, r, i, c] = t.value, [s, f, p] = t.oldValue || [];
432
- (r !== f || JSON.stringify(i) !== JSON.stringify(p)) && S(
436
+ const [n, r, s, u] = t.value, [f, c, p] = t.oldValue || [];
437
+ (r !== c || JSON.stringify(s) !== JSON.stringify(p)) && S(
433
438
  n(
434
439
  {
435
440
  val: r,
436
- rowData: i,
437
- prop: c
441
+ rowData: s,
442
+ prop: u
438
443
  },
439
444
  e,
440
445
  t,
@@ -449,14 +454,14 @@ function j(e, t, o) {
449
454
  function pe(e) {
450
455
  return JSON.stringify(e.value) !== JSON.stringify(e.oldValue);
451
456
  }
452
- const me = (e) => {
457
+ const be = (e) => {
453
458
  e.directive("eb-jsx-table", fe), e.directive("eb-transition-text", de);
454
- }, be = {
459
+ }, me = {
455
460
  EbCustomTable: Z
456
461
  }, he = {
457
462
  install(e, t = { global: !0 }) {
458
- if (me(e), t.global !== !1) {
459
- for (const [o, n] of Object.entries(be))
463
+ if (be(e), t.global !== !1) {
464
+ for (const [o, n] of Object.entries(me))
460
465
  e.component(o, n);
461
466
  console.log("[Everybody-UI] 全量组件已注册");
462
467
  } else
@@ -1,2 +1,5 @@
1
- import { ComponentResolver } from 'unplugin-vue-components/types';
2
- export declare function EverybodyUIResolver(): ComponentResolver;
1
+ import { ComponentResolver } from 'unplugin-vue-components/types';
2
+
3
+ export declare function EverybodyUIResolver(): ComponentResolver;
4
+
5
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuiyideyui/everybody-ui",
3
- "version": "1.0.28",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "repository": {
@@ -12,17 +12,20 @@
12
12
  "access": "public",
13
13
  "provenance": true
14
14
  },
15
- "main": "./dist/index.umd.cjs",
15
+ "main": "./dist/index.js",
16
16
  "module": "./dist/index.js",
17
- "types": "./dist/types/main.d.ts",
17
+ "types": "./dist/index.d.ts",
18
18
  "exports": {
19
19
  ".": {
20
- "types": "./dist/types/main.d.ts",
20
+ "types": "./dist/index.d.ts",
21
21
  "import": "./dist/index.js"
22
22
  },
23
23
  "./resolver": {
24
24
  "types": "./dist/resolver.d.ts",
25
25
  "import": "./dist/resolver.js"
26
+ },
27
+ "./everybody-ui.css": {
28
+ "import": "./dist/everybody-ui.css"
26
29
  }
27
30
  },
28
31
  "files": [
@@ -1,9 +0,0 @@
1
- import { VNode } from 'vue';
2
- export interface EbMessageOptions {
3
- jsx: VNode | (() => VNode);
4
- position: "top" | "bottom" | "left" | "right" | "center";
5
- timeClose?: number;
6
- }
7
- export declare const EbMessage: (options: EbMessageOptions) => {
8
- close: () => void;
9
- };
@@ -1,51 +0,0 @@
1
- import { DirectiveBinding, VNode } from 'vue';
2
- export interface TableRowData {
3
- [key: string]: any;
4
- }
5
- export interface CustomListConfig {
6
- cellRenderer?: (nodeData: {
7
- val: any;
8
- rowData: TableRowData;
9
- prop: string;
10
- }, el: Element, binding: DirectiveBinding, vnode: VNode) => any;
11
- click?: (rowData: TableRowData) => void;
12
- }
13
- export interface ItableHeaderNoChildren {
14
- prop: string;
15
- label: string;
16
- align?: 'left' | 'center' | 'right';
17
- customList?: CustomListConfig[];
18
- showOverflowTooltip?: boolean;
19
- width?: string | number;
20
- boxClass?: string;
21
- boxStyle?: string;
22
- children?: never;
23
- }
24
- export interface ItableHeaderChildren {
25
- children: ItableHeaderNoChildren[];
26
- label: string;
27
- align?: 'left' | 'center' | 'right';
28
- prop?: never;
29
- }
30
- export type everybodyTableHeaderItem = ItableHeaderNoChildren | ItableHeaderChildren;
31
- export type everybodyTableHeader = everybodyTableHeaderItem[];
32
- export interface propsType {
33
- tableHeader: everybodyTableHeader;
34
- customListLoading?: boolean;
35
- data: Record<string, any>[];
36
- isDataSlice?: {
37
- isSlice: false;
38
- };
39
- rowHeight?: number;
40
- }
41
- export interface propsType1 {
42
- tableHeader: everybodyTableHeader;
43
- customListLoading?: boolean;
44
- data: Record<string, any>[];
45
- isDataSlice: {
46
- isSlice: true;
47
- num: number;
48
- };
49
- rowHeight: number;
50
- }
51
- export type everybodyTableProps = propsType | propsType1;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- import { App } from 'vue';
2
- export declare const initDirective: (app: App) => void;
@@ -1,6 +0,0 @@
1
- import { DirectiveBinding, VNode } from 'vue';
2
- declare const _default: {
3
- mounted(el: Element, binding: DirectiveBinding, vnode: VNode): void;
4
- updated(el: Element, binding: DirectiveBinding, vnode: VNode): void;
5
- };
6
- export default _default;
@@ -1,21 +0,0 @@
1
- import { DirectiveBinding, Ref, VNode } from 'vue';
2
- import { TransitionPresets } from '@vueuse/core';
3
- type TransitionCurve = keyof typeof TransitionPresets;
4
- interface TransitionOptions {
5
- value: number;
6
- duration?: number;
7
- transition?: TransitionCurve;
8
- format?: boolean;
9
- }
10
- interface ElWithTransition extends HTMLElement {
11
- __transitionNumber__?: {
12
- source: Ref<number>;
13
- stop: () => void;
14
- };
15
- }
16
- declare const _default: {
17
- mounted(el: ElWithTransition, binding: DirectiveBinding<TransitionOptions | string | number>, vnode: VNode): void;
18
- updated(el: ElWithTransition, binding: DirectiveBinding<TransitionOptions | string | number>, vnode: VNode): void;
19
- unmounted(el: ElWithTransition): void;
20
- };
21
- export default _default;
@@ -1,2 +0,0 @@
1
- import { everybodyTableHeader } from './components/table/src/EbCustomTable';
2
- export type { everybodyTableHeader };
package/dist/main.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { App } from 'vue';
2
- import { default as EbCustomTable } from './components/table/src/EbCustomTable.vue';
3
- import { EbMessage } from './components/message/src/EBmessage';
4
- export interface EverybodyUIOptions {
5
- global?: boolean;
6
- }
7
- export { EbCustomTable, EbMessage };
8
- export * from './index.type';
9
- declare const _default: {
10
- install(app: App, options?: EverybodyUIOptions): void;
11
- };
12
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vite').UserConfig;
2
- export default _default;