beca-ui 2.0.11-beta.5 → 2.0.11-beta.6

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 (2) hide show
  1. package/dist/beca-ui.js +18 -18
  2. package/package.json +1 -1
package/dist/beca-ui.js CHANGED
@@ -87516,24 +87516,24 @@ const Hqe = 50, Bqe = (e) => {
87516
87516
  []
87517
87517
  ), [y, C] = Et([]);
87518
87518
  Et([]);
87519
- const [b, x] = Et(1);
87519
+ const [b, x] = Et(1), [E, $] = Et(!1);
87520
87520
  Hn(
87521
- () => n == null ? void 0 : n.find((N) => N.appId === "QuyTrinh"),
87521
+ () => n == null ? void 0 : n.find((T) => T.appId === "QuyTrinh"),
87522
87522
  [JSON.stringify(n)]
87523
87523
  ), Jt(() => {
87524
- const N = [];
87525
- let O = [];
87526
- r.forEach((T) => {
87527
- N.push(T), T.isSeen !== !0 && O.push(T);
87528
- }), v(N), C(O);
87524
+ const T = [];
87525
+ let I = [];
87526
+ r.forEach((k) => {
87527
+ T.push(k), k.isSeen !== !0 && I.push(k);
87528
+ }), v(T), C(I);
87529
87529
  }, [JSON.stringify(r), JSON.stringify(l)]);
87530
- const E = async () => {
87531
- c && (c(b, Hqe), x((N) => N + 1));
87530
+ const N = async () => {
87531
+ E || ($(!0), c && (await c(b, Hqe), x((T) => T + 1)), $(!1));
87532
87532
  };
87533
87533
  Jt(() => {
87534
- E();
87534
+ N();
87535
87535
  }, []);
87536
- const $ = [
87536
+ const O = [
87537
87537
  {
87538
87538
  key: "all",
87539
87539
  label: t("All"),
@@ -87541,7 +87541,7 @@ const Hqe = 50, Bqe = (e) => {
87541
87541
  zY,
87542
87542
  {
87543
87543
  dataLength: m.length,
87544
- next: E,
87544
+ next: N,
87545
87545
  hasMore: m.length < d,
87546
87546
  loader: /* @__PURE__ */ z(mu, { paragraph: { rows: 1 }, active: !0 }),
87547
87547
  endMessage: /* @__PURE__ */ z(RQ, { plain: !0, children: t("This is bottom") }),
@@ -87552,10 +87552,10 @@ const Hqe = 50, Bqe = (e) => {
87552
87552
  {
87553
87553
  itemLayout: "horizontal",
87554
87554
  dataSource: m,
87555
- renderItem: (N) => /* @__PURE__ */ z(
87555
+ renderItem: (T) => /* @__PURE__ */ z(
87556
87556
  FY,
87557
87557
  {
87558
- item: N,
87558
+ item: T,
87559
87559
  applicationsCardData: n,
87560
87560
  onClickNotificationItem: i,
87561
87561
  onChangeStatus: s
@@ -87577,7 +87577,7 @@ const Hqe = 50, Bqe = (e) => {
87577
87577
  zY,
87578
87578
  {
87579
87579
  dataLength: m.length,
87580
- next: E,
87580
+ next: N,
87581
87581
  hasMore: m.length < d,
87582
87582
  loader: /* @__PURE__ */ z(mu, { paragraph: { rows: 1 }, active: !0 }),
87583
87583
  endMessage: /* @__PURE__ */ z(RQ, { plain: !0, children: t("This is bottom") }),
@@ -87588,10 +87588,10 @@ const Hqe = 50, Bqe = (e) => {
87588
87588
  {
87589
87589
  itemLayout: "horizontal",
87590
87590
  dataSource: y,
87591
- renderItem: (N) => /* @__PURE__ */ z(
87591
+ renderItem: (T) => /* @__PURE__ */ z(
87592
87592
  FY,
87593
87593
  {
87594
- item: N,
87594
+ item: T,
87595
87595
  applicationsCardData: n,
87596
87596
  onClickNotificationItem: i,
87597
87597
  onChangeStatus: s
@@ -87654,7 +87654,7 @@ const Hqe = 50, Bqe = (e) => {
87654
87654
  }
87655
87655
  ) })
87656
87656
  ] }),
87657
- /* @__PURE__ */ z(Qut, { defaultActiveKey: "1", items: $ })
87657
+ /* @__PURE__ */ z(Qut, { defaultActiveKey: "1", items: O })
87658
87658
  ] });
87659
87659
  }, FY = (e) => {
87660
87660
  var a, l;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.11-beta.5",
3
+ "version": "2.0.11-beta.6",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {