@huyooo/ui 0.4.27 → 0.4.28

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,26 +1,26 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { defineComponent as A, ref as v, createBlock as g, openBlock as h, unref as a, withCtx as _, createElementVNode as n, createVNode as U, createCommentVNode as V, toDisplayString as C, createTextVNode as w } from "vue";
4
+ import { defineComponent as A, ref as v, createBlock as g, openBlock as _, unref as a, withCtx as C, createElementVNode as n, createVNode as U, createCommentVNode as V, toDisplayString as h, createTextVNode as w } from "vue";
5
5
  import { Modal as y } from "@arco-design/web-vue";
6
6
  import { api as T } from "@huyooo/api";
7
7
  import { u as B } from "./useTableHandle-DKUIdSSh.js";
8
8
  import { C as D } from "./CustomTable-KSnj5x8U.js";
9
- import { C as W } from "./Clipboard-Bful1lNJ.js";
10
- import { a as q } from "./useAuthkitUsersProfile-Diituvy1.js";
11
- import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- function H(s, u) {
9
+ import { C as q } from "./Clipboard-Bful1lNJ.js";
10
+ import { a as E } from "./useAuthkitUsersProfile-Diituvy1.js";
11
+ import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ function M(s, u) {
13
13
  return T({
14
14
  url: `${s}/restfulApi/referrer/referees`,
15
15
  method: "post",
16
16
  data: u
17
17
  });
18
18
  }
19
- const M = {
19
+ const $ = {
20
20
  class: "invite-code-section"
21
- }, $ = {
21
+ }, j = {
22
22
  class: "invite-code-value"
23
- }, j = /* @__PURE__ */ A({
23
+ }, F = /* @__PURE__ */ A({
24
24
  __name: "ReferrerReferees",
25
25
  props: {
26
26
  prefixUrl: {
@@ -39,23 +39,21 @@ const M = {
39
39
  setPage: m
40
40
  } = B("被邀请人"), {
41
41
  userProfile: c
42
- } = q(), k = [{
42
+ } = E(), k = [{
43
43
  dataIndex: "email",
44
44
  slotName: "email",
45
45
  title: "被邀请人邮箱",
46
46
  ellipsis: !0,
47
- tooltip: !0,
48
- minWidth: 180
47
+ tooltip: !0
49
48
  }, {
50
49
  dataIndex: "createAt",
51
50
  slotName: "createAt",
52
51
  title: "创建日期",
53
52
  ellipsis: !0,
54
- tooltip: !0,
55
- minWidth: 180
53
+ tooltip: !0
56
54
  }], r = v(!1);
57
55
  function f() {
58
- r.value = !0, H(b.prefixUrl, {
56
+ r.value = !0, M(b.prefixUrl, {
59
57
  current: t.value.current,
60
58
  pageSize: t.value.pageSize
61
59
  }).then(({
@@ -81,7 +79,7 @@ const M = {
81
79
  }
82
80
  return u({
83
81
  setData: R
84
- }), (e, i) => (h(), g(a(y), {
82
+ }), (e, i) => (_(), g(a(y), {
85
83
  visible: o.value,
86
84
  "onUpdate:visible": i[0] || (i[0] = (l) => o.value = l),
87
85
  title: "被邀请人详情",
@@ -92,11 +90,11 @@ const M = {
92
90
  "unmount-on-close": "",
93
91
  onCancel: P
94
92
  }, {
95
- default: _(() => {
93
+ default: C(() => {
96
94
  var l, d;
97
- return [n("div", M, [i[1] || (i[1] = n("div", {
95
+ return [n("div", $, [i[1] || (i[1] = n("div", {
98
96
  class: "invite-code-label"
99
- }, "我的邀请码:", -1)), n("div", $, [n("span", null, C(((l = a(c)) == null ? void 0 : l.referrerId) || "-"), 1), (d = a(c)) != null && d.referrerId ? (h(), g(W, {
97
+ }, "我的邀请码:", -1)), n("div", j, [n("span", null, h(((l = a(c)) == null ? void 0 : l.referrerId) || "-"), 1), (d = a(c)) != null && d.referrerId ? (_(), g(q, {
100
98
  key: 0,
101
99
  value: a(c).referrerId,
102
100
  message: "邀请码复制成功"
@@ -108,16 +106,16 @@ const M = {
108
106
  onPageChange: I,
109
107
  onPageSizeChange: N
110
108
  }, {
111
- email: _(({
109
+ email: C(({
112
110
  record: z
113
- }) => [w(C(z.refereeInfo.email || "-"), 1)]),
111
+ }) => [w(h(z.refereeInfo.email || "-"), 1)]),
114
112
  _: 1
115
113
  }, 8, ["data", "loading", "pagination"])];
116
114
  }),
117
115
  _: 1
118
116
  }, 8, ["visible", "ok-loading"]));
119
117
  }
120
- }), te = /* @__PURE__ */ E(j, [["__scopeId", "data-v-2b0831d9"]]);
118
+ }), te = /* @__PURE__ */ H(F, [["__scopeId", "data-v-45010e4b"]]);
121
119
  export {
122
120
  te as R
123
121
  };
@@ -5,7 +5,7 @@
5
5
  import { defineComponent as _, createElementBlock as k, openBlock as l, normalizeStyle as V, normalizeClass as O, createElementVNode as d, computed as D, createBlock as y, createCommentVNode as M, createVNode as i, unref as t, withCtx as s, createTextVNode as f, toDisplayString as C, renderSlot as Se, ref as p, Fragment as be } from "vue";
6
6
  import { Tag as Ce, Button as q, Avatar as E, Dropdown as Ie, Divider as K, Doption as g } from "@arco-design/web-vue";
7
7
  import { S as he } from "./PaySubscriptions-u3gwyezu.js";
8
- import { R as $e } from "./ReferrerReferees-CFaLm7zO.js";
8
+ import { R as $e } from "./ReferrerReferees-D2NqWvol.js";
9
9
  import { a as T, u as xe } from "./useAuthkitUsersProfile-Diituvy1.js";
10
10
  import { a as Ue, u as Pe } from "./useAuthkitProps-CW3Jem_o.js";
11
11
  import { u as Be } from "./useUserPanelProps-C5W72fZJ.js";
package/dist/common.js CHANGED
@@ -3,9 +3,9 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
3
3
  import { C as i, E as u } from "./CustomTable-KSnj5x8U.js";
4
4
  import { I as x } from "./MessageHandle-DN_JsQb2.js";
5
5
  import { M as d, a as U } from "./Menu-Cxo8Rpu3.js";
6
- import { S as I, b, c as S, a as g, U as v } from "./UserPanel-xTXMSKGJ.js";
6
+ import { S as I, b, c as S, a as g, U as v } from "./UserPanel-B9y5Hs2k.js";
7
7
  import { S as B } from "./PaySubscriptions-u3gwyezu.js";
8
- import { R as P } from "./ReferrerReferees-CFaLm7zO.js";
8
+ import { R as P } from "./ReferrerReferees-D2NqWvol.js";
9
9
  import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
10
10
  import { u as R } from "./useUserPanelProps-C5W72fZJ.js";
11
11
  import { a as W, u as h } from "./useActiveDoc-BWHkOJhJ.js";
package/dist/index.js CHANGED
@@ -14,9 +14,9 @@ import { C as us, a as Ps } from "./CollapseItem-Cw1vcdLu.js";
14
14
  import { C as cs, G as ps, S as Ls, W as hs } from "./WidthContainer-D795bWdT.js";
15
15
  import { C as ms, E as ks } from "./CustomTable-KSnj5x8U.js";
16
16
  import { M as bs, a as Cs } from "./Menu-Cxo8Rpu3.js";
17
- import { S as Ss, b as xs, c as Fs, a as Is, U as Us, S as Ts } from "./UserPanel-xTXMSKGJ.js";
17
+ import { S as Ss, b as xs, c as Fs, a as Is, U as Us, S as Ts } from "./UserPanel-B9y5Hs2k.js";
18
18
  import { S as Ns, S as Es } from "./PaySubscriptions-u3gwyezu.js";
19
- import { R as Ds, R as Rs } from "./ReferrerReferees-CFaLm7zO.js";
19
+ import { R as Ds, R as Rs } from "./ReferrerReferees-D2NqWvol.js";
20
20
  import { _ as ys } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
21
21
  import { u as Hs } from "./useUserPanelProps-C5W72fZJ.js";
22
22
  import { a as _s, u as Vs } from "./useActiveDoc-BWHkOJhJ.js";
package/dist/referrer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as f } from "./ReferrerReferees-CFaLm7zO.js";
1
+ import { R as f } from "./ReferrerReferees-D2NqWvol.js";
2
2
  export {
3
3
  f as ReferrerReferees
4
4
  };