react-big-screen 0.0.24 → 0.0.26

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 (44) hide show
  1. package/es/{attributes-DRoIzLZg.mjs → attributes-BEr36PPS.mjs} +1 -1
  2. package/es/{attributes-CH9MBgiG.mjs → attributes-BorgmEuq.mjs} +1 -1
  3. package/es/{attributes-CfPeTY5D.mjs → attributes-BqpzJUpw.mjs} +2 -2
  4. package/es/{attributes-RjWkk9Ep.mjs → attributes-C1A9908m.mjs} +1 -1
  5. package/es/{attributes-2p9Zk1-n.mjs → attributes-CF-lP4Tl.mjs} +1 -1
  6. package/es/{attributes-DEejGpyc.mjs → attributes-CLFZcWAB.mjs} +1 -1
  7. package/es/{attributes-CdSoE5xJ.mjs → attributes-DUaK076s.mjs} +1 -1
  8. package/es/{attributes-8wJNGwLE.mjs → attributes-DZOgwszX.mjs} +1 -1
  9. package/es/{attributes-BNGJPVyh.mjs → attributes-Dfr3b13g.mjs} +1 -1
  10. package/es/{attributes-CUgbOLAh.mjs → attributes-SrukxCct.mjs} +1 -1
  11. package/es/{attributes-CJsbMpOn.mjs → attributes-pYXM3BGl.mjs} +1 -1
  12. package/es/{attributes-DRRt0HtT.mjs → attributes-zB7QAb6A.mjs} +1 -1
  13. package/es/{index-D9YQ4kEQ.mjs → index-B6qPIrOx.mjs} +2 -2
  14. package/es/{index-CR_TAWUR.mjs → index-BKv9EAtX.mjs} +2 -2
  15. package/es/{index-DGJ8dCRu.mjs → index-BTEqUeDS.mjs} +2 -2
  16. package/es/{index-C9Wc2Kzs.mjs → index-BmzrDQHQ.mjs} +3 -3
  17. package/es/{index-CS4fwJHw.mjs → index-BocA4dcF.mjs} +2 -2
  18. package/es/{index-BOqgdslU.mjs → index-Bs2yu7J6.mjs} +2 -2
  19. package/es/{index-Bh0co1x-.mjs → index-BvJ4xx2h.mjs} +1 -1
  20. package/es/{index-4S2OXFT4.mjs → index-C2aQoFOi.mjs} +2 -2
  21. package/es/{index-BeTrQloT.mjs → index-CIs39Kyq.mjs} +3 -3
  22. package/es/{index-DUvmwvc8.mjs → index-CX8Y7AOe.mjs} +2 -2
  23. package/es/{index-Dbkk-b9S.mjs → index-Cr2RXjtr.mjs} +92 -89
  24. package/es/{index-COuWSAwb.mjs → index-CraAaVS_.mjs} +2 -2
  25. package/es/{index-DiAdz_6L.mjs → index-CtKpbpyM.mjs} +3 -3
  26. package/es/{index-Df0DLqCw.mjs → index-D8v1cc5M.mjs} +2 -2
  27. package/es/{index-BjMdtwev.mjs → index-DHdde3-c.mjs} +2 -2
  28. package/es/{index-CnzZjrjU.mjs → index-DM0HOT8p.mjs} +2 -2
  29. package/es/{index-CQp7fz9I.mjs → index-DeSSSWVT.mjs} +2 -2
  30. package/es/{index-DHZzVkTM.mjs → index-Dk3V3zbH.mjs} +2 -2
  31. package/es/{index-DHoxa3x_.mjs → index-DmEGqsGs.mjs} +3 -3
  32. package/es/{index-CV1vqX8-.mjs → index-Dp3cAb00.mjs} +2 -2
  33. package/es/{index-Bn3nDy5T.mjs → index-Qui7yLq3.mjs} +2 -2
  34. package/es/{index-ByVgagvo.mjs → index-YvM6Nke0.mjs} +1185 -1174
  35. package/es/{index-BaLteAvQ.mjs → index-_zn5qv_O.mjs} +2 -2
  36. package/es/{index-Bely-J50.mjs → index-hkMT846_.mjs} +2 -2
  37. package/es/{index-D66jJN7b.mjs → index-ycFZ60KR.mjs} +1 -1
  38. package/es/{index-B0NWyl8u.mjs → index-zozSTDVn.mjs} +2 -2
  39. package/es/index.mjs +1 -1
  40. package/es/{selectPage-BQ7Fdnqf.mjs → selectPage-1ojYk6EF.mjs} +1 -1
  41. package/es/{useCurrentPageId-6JCOgaZV.mjs → useCurrentPageId-DG0SfHzH.mjs} +1 -1
  42. package/package.json +1 -1
  43. package/types/src/export/index.d.ts +2 -2
  44. package/types/src/pages/components/Header/index.d.ts +9 -0
@@ -105,7 +105,7 @@ async function At(r) {
105
105
  var l;
106
106
  let i, o;
107
107
  arguments.length === 1 ? (i = [], o = arguments[0]) : arguments.length === 2 ? [i, o] = arguments : arguments.length === 3 && (i = arguments[1], o = arguments[2]);
108
- const s = ((l = i == null ? void 0 : i.map) == null ? void 0 : l.call(i, (g) => be(g))) || [];
108
+ const s = ((l = i == null ? void 0 : i.map) == null ? void 0 : l.call(i, (h) => be(h))) || [];
109
109
  t = o == null ? void 0 : o(...s);
110
110
  }, n = new Function("define", r);
111
111
  try {
@@ -540,7 +540,7 @@ const Ot = "_configRender_wy2nc_59", Dt = "_configRender_item_wy2nc_65", Rt = "_
540
540
  function le() {
541
541
  return rt(Ie);
542
542
  }
543
- import("./index-CQp7fz9I.mjs").then((r) => {
543
+ import("./index-DeSSSWVT.mjs").then((r) => {
544
544
  var e;
545
545
  (e = r.default) == null || e.call(r);
546
546
  });
@@ -561,8 +561,8 @@ function Se(r) {
561
561
  form: t,
562
562
  className: P.configRender,
563
563
  onValuesChange: (s) => {
564
- var l, g;
565
- (g = (l = a.current) == null ? void 0 : l.onChange) == null || g.call(l, {
564
+ var l, h;
565
+ (h = (l = a.current) == null ? void 0 : l.onChange) == null || h.call(l, {
566
566
  ...t.getFieldsValue(),
567
567
  ...s
568
568
  });
@@ -947,10 +947,10 @@ class Bt {
947
947
  return a ? ((i = (n = a == null ? void 0 : a.panels) == null ? void 0 : n.reduce) == null ? void 0 : i.call(n, (o, s) => {
948
948
  const l = this.getPanelChildrenIds(s.value);
949
949
  return o.concat(
950
- l.reduce((g, h) => {
950
+ l.reduce((h, g) => {
951
951
  var m;
952
- const v = this.get(h);
953
- return v && (g.push(v), t && ((m = v.panels) != null && m.length) && g.push(...this.getPanelComponentNodes(v, t))), g;
952
+ const v = this.get(g);
953
+ return v && (h.push(v), t && ((m = v.panels) != null && m.length) && h.push(...this.getPanelComponentNodes(v, t))), h;
954
954
  }, [])
955
955
  );
956
956
  }, [])) || [] : [];
@@ -981,11 +981,11 @@ class Bt {
981
981
  const l = this.createFromComponentNode(o, {
982
982
  id: I()
983
983
  });
984
- delete l.groupId, o != null && o.panels && (l.panels = o.panels.map((g) => {
985
- const h = I();
986
- return g.value === l.currentPanelId && (l.currentPanelId = h), a.set(g.value, h), {
987
- ...g,
988
- value: h
984
+ delete l.groupId, o != null && o.panels && (l.panels = o.panels.map((h) => {
985
+ const g = I();
986
+ return h.value === l.currentPanelId && (l.currentPanelId = g), a.set(h.value, g), {
987
+ ...h,
988
+ value: g
989
989
  };
990
990
  })), i.push(l), (s = t == null ? void 0 : t.onClone) == null || s.call(t, o, l);
991
991
  }
@@ -1337,8 +1337,8 @@ const j = {
1337
1337
  allowClear: a == null ? void 0 : a.allowClear,
1338
1338
  placeholder: a == null ? void 0 : a.placeholder,
1339
1339
  onChange: (l) => {
1340
- const g = l.target.value;
1341
- n("input", g), s(g);
1340
+ const h = l.target.value;
1341
+ n("input", h), s(h);
1342
1342
  }
1343
1343
  }
1344
1344
  );
@@ -1475,8 +1475,8 @@ const j = {
1475
1475
  y: 0,
1476
1476
  width: 500,
1477
1477
  height: 300,
1478
- component: c.lazy(() => import("./index-BOqgdslU.mjs")),
1479
- attributesComponent: c.lazy(() => import("./attributes-CH9MBgiG.mjs"))
1478
+ component: c.lazy(() => import("./index-Bs2yu7J6.mjs")),
1479
+ attributesComponent: c.lazy(() => import("./attributes-BorgmEuq.mjs"))
1480
1480
  },
1481
1481
  {
1482
1482
  cId: "image",
@@ -1487,8 +1487,8 @@ const j = {
1487
1487
  y: 0,
1488
1488
  width: 270,
1489
1489
  height: 150,
1490
- component: c.lazy(() => import("./index-BjMdtwev.mjs")),
1491
- attributesComponent: c.lazy(() => import("./attributes-DRoIzLZg.mjs"))
1490
+ component: c.lazy(() => import("./index-DHdde3-c.mjs")),
1491
+ attributesComponent: c.lazy(() => import("./attributes-BEr36PPS.mjs"))
1492
1492
  },
1493
1493
  {
1494
1494
  cId: "dateDisplay",
@@ -1499,8 +1499,8 @@ const j = {
1499
1499
  y: 0,
1500
1500
  width: 250,
1501
1501
  height: 26,
1502
- component: c.lazy(() => import("./index-COuWSAwb.mjs")),
1503
- attributesComponent: c.lazy(() => import("./attributes-CJsbMpOn.mjs"))
1502
+ component: c.lazy(() => import("./index-CraAaVS_.mjs")),
1503
+ attributesComponent: c.lazy(() => import("./attributes-pYXM3BGl.mjs"))
1504
1504
  },
1505
1505
  {
1506
1506
  cId: "doubleText",
@@ -1511,8 +1511,8 @@ const j = {
1511
1511
  y: 0,
1512
1512
  width: 120,
1513
1513
  height: 64,
1514
- component: c.lazy(() => import("./index-Df0DLqCw.mjs")),
1515
- attributesComponent: c.lazy(() => import("./attributes-CUgbOLAh.mjs"))
1514
+ component: c.lazy(() => import("./index-D8v1cc5M.mjs")),
1515
+ attributesComponent: c.lazy(() => import("./attributes-SrukxCct.mjs"))
1516
1516
  }
1517
1517
  ], da = "_carousel_1b8a0_59", ua = "_carousel_bordered_1b8a0_62", ce = {
1518
1518
  carousel: da,
@@ -1535,13 +1535,13 @@ function wa(r) {
1535
1535
  function l() {
1536
1536
  i((e == null ? void 0 : e.label) || ""), a(!0);
1537
1537
  }
1538
- function g() {
1539
- var h;
1538
+ function h() {
1539
+ var g;
1540
1540
  if (!n) {
1541
1541
  me.warn("必须填写名称");
1542
1542
  return;
1543
1543
  }
1544
- a(!1), (h = r == null ? void 0 : r.onUpdate) == null || h.call(r, {
1544
+ a(!1), (g = r == null ? void 0 : r.onUpdate) == null || g.call(r, {
1545
1545
  ...e,
1546
1546
  label: n
1547
1547
  });
@@ -1554,8 +1554,8 @@ function wa(r) {
1554
1554
  onMouseEnter: () => s(!0),
1555
1555
  onMouseLeave: () => s(!1),
1556
1556
  onClick: () => {
1557
- var h;
1558
- return (h = r == null ? void 0 : r.onSelect) == null ? void 0 : h.call(r);
1557
+ var g;
1558
+ return (g = r == null ? void 0 : r.onSelect) == null ? void 0 : g.call(r);
1559
1559
  },
1560
1560
  children: /* @__PURE__ */ u(
1561
1561
  "div",
@@ -1576,8 +1576,8 @@ function wa(r) {
1576
1576
  size: "small",
1577
1577
  maxLength: 100,
1578
1578
  placeholder: "请输入",
1579
- onChange: (h) => {
1580
- i(h.target.value);
1579
+ onChange: (g) => {
1580
+ i(g.target.value);
1581
1581
  }
1582
1582
  }
1583
1583
  ) : /* @__PURE__ */ u(
@@ -1589,8 +1589,8 @@ function wa(r) {
1589
1589
  o && b.editItem_body_text_hover
1590
1590
  ),
1591
1591
  onClick: () => {
1592
- var h;
1593
- return (h = r == null ? void 0 : r.onSelect) == null ? void 0 : h.call(r);
1592
+ var g;
1593
+ return (g = r == null ? void 0 : r.onSelect) == null ? void 0 : g.call(r);
1594
1594
  },
1595
1595
  onMouseEnter: () => s(!0),
1596
1596
  onMouseLeave: () => s(!1),
@@ -1598,10 +1598,10 @@ function wa(r) {
1598
1598
  }
1599
1599
  ) }),
1600
1600
  /* @__PURE__ */ u("div", { className: b.editItem_right, children: /* @__PURE__ */ C(fe, { children: [
1601
- t ? /* @__PURE__ */ u(D, { title: "保存", children: /* @__PURE__ */ u(mt, { className: b.editList_opt, onClick: g }) }) : /* @__PURE__ */ u(D, { title: "编辑", children: /* @__PURE__ */ u(yt, { className: b.editList_opt, onClick: l }) }),
1601
+ t ? /* @__PURE__ */ u(D, { title: "保存", children: /* @__PURE__ */ u(mt, { className: b.editList_opt, onClick: h }) }) : /* @__PURE__ */ u(D, { title: "编辑", children: /* @__PURE__ */ u(yt, { className: b.editList_opt, onClick: l }) }),
1602
1602
  /* @__PURE__ */ u(D, { title: "删除", children: /* @__PURE__ */ u(pt, { className: b.editList_opt, onClick: () => {
1603
- var h;
1604
- return (h = r == null ? void 0 : r.onDelete) == null ? void 0 : h.call(r);
1603
+ var g;
1604
+ return (g = r == null ? void 0 : r.onDelete) == null ? void 0 : g.call(r);
1605
1605
  } }) })
1606
1606
  ] }) })
1607
1607
  ] });
@@ -1713,7 +1713,7 @@ function Ta(r) {
1713
1713
  }
1714
1714
  }) : s(m);
1715
1715
  }
1716
- function g() {
1716
+ function h() {
1717
1717
  const m = [
1718
1718
  ...n,
1719
1719
  {
@@ -1723,7 +1723,7 @@ function Ta(r) {
1723
1723
  ];
1724
1724
  i == null || i(m);
1725
1725
  }
1726
- function h(m, y) {
1726
+ function g(m, y) {
1727
1727
  Object.assign(m, y), i == null || i([...n]);
1728
1728
  }
1729
1729
  return /* @__PURE__ */ C("div", { className: k(ga.editList, r == null ? void 0 : r.className), style: r == null ? void 0 : r.style, children: [
@@ -1739,7 +1739,7 @@ function Ta(r) {
1739
1739
  l(m.value);
1740
1740
  },
1741
1741
  onUpdate: (y) => {
1742
- h(m, y);
1742
+ g(m, y);
1743
1743
  }
1744
1744
  },
1745
1745
  m == null ? void 0 : m.value
@@ -1752,7 +1752,7 @@ function Ta(r) {
1752
1752
  block: !0,
1753
1753
  icon: /* @__PURE__ */ u(_t, {}),
1754
1754
  style: { marginTop: 4 },
1755
- onClick: () => g(),
1755
+ onClick: () => h(),
1756
1756
  children: "新增"
1757
1757
  }
1758
1758
  )
@@ -1826,11 +1826,11 @@ const Me = [
1826
1826
  { label: "面板点击", value: "onClick" }
1827
1827
  ], Le = [{ label: "切换面板", value: "changePanel" }], La = T((r) => {
1828
1828
  var m;
1829
- const { engine: e } = Ee(), { options: t, width: a, height: n, componentNode: i, handleTrigger: o, useExpose: s } = r, l = R(), [g, h] = x(0);
1829
+ const { engine: e } = Ee(), { options: t, width: a, height: n, componentNode: i, handleTrigger: o, useExpose: s } = r, l = R(), [h, g] = x(0);
1830
1830
  function v(y) {
1831
1831
  var f, _;
1832
1832
  const p = (_ = (f = i.panels) == null ? void 0 : f[y]) == null ? void 0 : _.value;
1833
- l.current !== void 0 && p === l.current || (o("onChange", y), h(y), p && setTimeout(() => {
1833
+ l.current !== void 0 && p === l.current || (o("onChange", y), g(y), p && setTimeout(() => {
1834
1834
  e.componentNode.hidePanel(l.current), l.current = p, e.componentNode.showPanel(p);
1835
1835
  }));
1836
1836
  }
@@ -1853,7 +1853,7 @@ const Me = [
1853
1853
  children: /* @__PURE__ */ u(
1854
1854
  Ma,
1855
1855
  {
1856
- value: g,
1856
+ value: h,
1857
1857
  count: (m = i.panels) == null ? void 0 : m.length,
1858
1858
  onChange: (y) => v(y)
1859
1859
  }
@@ -1898,8 +1898,8 @@ const Me = [
1898
1898
  y: 0,
1899
1899
  width: 400,
1900
1900
  height: 300,
1901
- component: c.lazy(() => import("./index-DGJ8dCRu.mjs")),
1902
- attributesComponent: c.lazy(() => import("./attributes-DRRt0HtT.mjs")),
1901
+ component: c.lazy(() => import("./index-BTEqUeDS.mjs")),
1902
+ attributesComponent: c.lazy(() => import("./attributes-zB7QAb6A.mjs")),
1903
1903
  icon: () => import("./specialCard-jikYSVVg.mjs"),
1904
1904
  panels: [{ label: "特殊卡片", value: "" }]
1905
1905
  }
@@ -1913,7 +1913,7 @@ const Me = [
1913
1913
  y: 0,
1914
1914
  width: 250,
1915
1915
  height: 250,
1916
- component: c.lazy(() => import("./index-4S2OXFT4.mjs"))
1916
+ component: c.lazy(() => import("./index-C2aQoFOi.mjs"))
1917
1917
  },
1918
1918
  {
1919
1919
  cId: "line",
@@ -1924,8 +1924,8 @@ const Me = [
1924
1924
  y: 0,
1925
1925
  width: 250,
1926
1926
  height: 250,
1927
- component: c.lazy(() => import("./index-C9Wc2Kzs.mjs")),
1928
- attributesComponent: c.lazy(() => import("./attributes-2p9Zk1-n.mjs")),
1927
+ component: c.lazy(() => import("./index-BmzrDQHQ.mjs")),
1928
+ attributesComponent: c.lazy(() => import("./attributes-CF-lP4Tl.mjs")),
1929
1929
  dataSourceType: "static",
1930
1930
  staticDataSource: [
1931
1931
  { name: "选项一", value1: 100, value2: 200, value3: 300 },
@@ -1942,7 +1942,7 @@ const Me = [
1942
1942
  y: 0,
1943
1943
  width: 250,
1944
1944
  height: 250,
1945
- component: c.lazy(() => import("./index-Bely-J50.mjs"))
1945
+ component: c.lazy(() => import("./index-hkMT846_.mjs"))
1946
1946
  },
1947
1947
  {
1948
1948
  cId: "radar",
@@ -1954,7 +1954,7 @@ const Me = [
1954
1954
  width: 350,
1955
1955
  height: 300,
1956
1956
  options: {},
1957
- component: c.lazy(() => import("./index-D9YQ4kEQ.mjs"))
1957
+ component: c.lazy(() => import("./index-B6qPIrOx.mjs"))
1958
1958
  },
1959
1959
  {
1960
1960
  cId: "gauge",
@@ -1966,7 +1966,7 @@ const Me = [
1966
1966
  width: 350,
1967
1967
  height: 300,
1968
1968
  options: {},
1969
- component: c.lazy(() => import("./index-CV1vqX8-.mjs"))
1969
+ component: c.lazy(() => import("./index-Dp3cAb00.mjs"))
1970
1970
  },
1971
1971
  {
1972
1972
  cId: "horizontalBar",
@@ -1978,7 +1978,7 @@ const Me = [
1978
1978
  width: 350,
1979
1979
  height: 300,
1980
1980
  options: {},
1981
- component: c.lazy(() => import("./index-B0NWyl8u.mjs"))
1981
+ component: c.lazy(() => import("./index-zozSTDVn.mjs"))
1982
1982
  },
1983
1983
  {
1984
1984
  cId: "barLine",
@@ -1990,7 +1990,7 @@ const Me = [
1990
1990
  width: 350,
1991
1991
  height: 300,
1992
1992
  options: {},
1993
- component: c.lazy(() => import("./index-DHZzVkTM.mjs"))
1993
+ component: c.lazy(() => import("./index-Dk3V3zbH.mjs"))
1994
1994
  },
1995
1995
  {
1996
1996
  cId: "ring",
@@ -2002,8 +2002,8 @@ const Me = [
2002
2002
  width: 350,
2003
2003
  height: 300,
2004
2004
  options: {},
2005
- component: c.lazy(() => import("./index-BeTrQloT.mjs")),
2006
- attributesComponent: c.lazy(() => import("./attributes-CdSoE5xJ.mjs"))
2005
+ component: c.lazy(() => import("./index-CIs39Kyq.mjs")),
2006
+ attributesComponent: c.lazy(() => import("./attributes-DUaK076s.mjs"))
2007
2007
  }
2008
2008
  ], Fa = [
2009
2009
  {
@@ -2017,7 +2017,7 @@ const Me = [
2017
2017
  width: 300,
2018
2018
  height: 32,
2019
2019
  isAllPage: !0,
2020
- component: c.lazy(() => import("./index-DiAdz_6L.mjs"))
2020
+ component: c.lazy(() => import("./index-CtKpbpyM.mjs"))
2021
2021
  }
2022
2022
  ];
2023
2023
  async function Ha(r, e = 300) {
@@ -2046,8 +2046,8 @@ const de = {
2046
2046
  { name: "魔某人", age: "12", sex: "女", address: "浙江省杭州市" }
2047
2047
  ];
2048
2048
  function Ba(r, e) {
2049
- var o, s, l, g, h, v, m, y;
2050
- const t = (s = (o = e == null ? void 0 : e.name) == null ? void 0 : o.toLowerCase) == null ? void 0 : s.call(o), a = (g = (l = e == null ? void 0 : e.age) == null ? void 0 : l.toLowerCase) == null ? void 0 : g.call(l), n = (v = (h = e == null ? void 0 : e.sex) == null ? void 0 : h.toLowerCase) == null ? void 0 : v.call(h), i = (y = (m = e == null ? void 0 : e.address) == null ? void 0 : m.toLowerCase) == null ? void 0 : y.call(m);
2049
+ var o, s, l, h, g, v, m, y;
2050
+ const t = (s = (o = e == null ? void 0 : e.name) == null ? void 0 : o.toLowerCase) == null ? void 0 : s.call(o), a = (h = (l = e == null ? void 0 : e.age) == null ? void 0 : l.toLowerCase) == null ? void 0 : h.call(l), n = (v = (g = e == null ? void 0 : e.sex) == null ? void 0 : g.toLowerCase) == null ? void 0 : v.call(g), i = (y = (m = e == null ? void 0 : e.address) == null ? void 0 : m.toLowerCase) == null ? void 0 : y.call(m);
2051
2051
  return r.filter((p) => {
2052
2052
  var N, K, Y, E, Q, ee, M, te, ae, L, ne, ie;
2053
2053
  let f = "", _ = !0;
@@ -2062,24 +2062,24 @@ const wn = ot(
2062
2062
  (r, e) => {
2063
2063
  const t = r == null ? void 0 : r.component, [a, n] = x(), [i, o] = x(!1), [s, l] = x(!0);
2064
2064
  return st(e, () => ({
2065
- open(g) {
2066
- n(g), o(!0), l(!1);
2065
+ open(h) {
2066
+ n(h), o(!0), l(!1);
2067
2067
  },
2068
- close(g = !0) {
2069
- o(!1), l(g);
2068
+ close(h = !0) {
2069
+ o(!1), l(h);
2070
2070
  }
2071
2071
  })), !t || s ? /* @__PURE__ */ u(et, {}) : /* @__PURE__ */ u(
2072
2072
  t,
2073
2073
  {
2074
2074
  params: a,
2075
2075
  visible: i,
2076
- onCancel: (...g) => {
2077
- var h;
2078
- o(!1), (h = r == null ? void 0 : r.onCancel) == null || h.call(r, ...g);
2076
+ onCancel: (...h) => {
2077
+ var g;
2078
+ o(!1), (g = r == null ? void 0 : r.onCancel) == null || g.call(r, ...h);
2079
2079
  },
2080
- onOk: (...g) => {
2081
- var h;
2082
- o(!1), (h = r == null ? void 0 : r.onOk) == null || h.call(r, ...g);
2080
+ onOk: (...h) => {
2081
+ var g;
2082
+ o(!1), (g = r == null ? void 0 : r.onOk) == null || g.call(r, ...h);
2083
2083
  },
2084
2084
  afterClose: () => {
2085
2085
  l(!0);
@@ -2096,7 +2096,7 @@ const wn = ot(
2096
2096
  const { width: e, height: t, useExpose: a } = r, [n, i, o] = Ua(de), {
2097
2097
  data: s = [],
2098
2098
  loading: l,
2099
- refresh: g
2099
+ refresh: h
2100
2100
  } = Ct(
2101
2101
  async () => {
2102
2102
  const v = await Ha($a);
@@ -2105,7 +2105,7 @@ const wn = ot(
2105
2105
  {
2106
2106
  refreshDeps: [n]
2107
2107
  }
2108
- ), h = [
2108
+ ), g = [
2109
2109
  { dataIndex: "name", title: "姓名" },
2110
2110
  { dataIndex: "age", title: "年龄" },
2111
2111
  { dataIndex: "sex", title: "性别" },
@@ -2113,7 +2113,7 @@ const wn = ot(
2113
2113
  ];
2114
2114
  return a({
2115
2115
  refresh: () => {
2116
- g();
2116
+ h();
2117
2117
  },
2118
2118
  changeFilter: (v) => {
2119
2119
  i({
@@ -2131,7 +2131,7 @@ const wn = ot(
2131
2131
  ht,
2132
2132
  {
2133
2133
  style: { width: e, height: t, overflow: "hidden auto" },
2134
- columns: h,
2134
+ columns: g,
2135
2135
  loading: l,
2136
2136
  dataSource: s,
2137
2137
  pagination: !1
@@ -2165,8 +2165,8 @@ const wn = ot(
2165
2165
  y: 0,
2166
2166
  width: 500,
2167
2167
  height: 500,
2168
- component: c.lazy(() => import("./index-DHoxa3x_.mjs")),
2169
- attributesComponent: c.lazy(() => import("./attributes-8wJNGwLE.mjs"))
2168
+ component: c.lazy(() => import("./index-DmEGqsGs.mjs")),
2169
+ attributesComponent: c.lazy(() => import("./attributes-DZOgwszX.mjs"))
2170
2170
  },
2171
2171
  {
2172
2172
  cId: "scrollList",
@@ -2187,8 +2187,8 @@ const wn = ot(
2187
2187
  { key: "5", title: "培训项目二", status: "2" },
2188
2188
  { key: "6", title: "tjh项目", status: "1" }
2189
2189
  ],
2190
- component: c.lazy(() => import("./index-CR_TAWUR.mjs")),
2191
- attributesComponent: c.lazy(() => import("./attributes-BNGJPVyh.mjs"))
2190
+ component: c.lazy(() => import("./index-BKv9EAtX.mjs")),
2191
+ attributesComponent: c.lazy(() => import("./attributes-Dfr3b13g.mjs"))
2192
2192
  },
2193
2193
  {
2194
2194
  cId: "defaultImage",
@@ -2200,8 +2200,8 @@ const wn = ot(
2200
2200
  y: 0,
2201
2201
  width: 150,
2202
2202
  height: 150,
2203
- component: c.lazy(() => import("./index-BaLteAvQ.mjs")),
2204
- attributesComponent: c.lazy(() => import("./attributes-CfPeTY5D.mjs"))
2203
+ component: c.lazy(() => import("./index-_zn5qv_O.mjs")),
2204
+ attributesComponent: c.lazy(() => import("./attributes-BqpzJUpw.mjs"))
2205
2205
  },
2206
2206
  {
2207
2207
  cId: "ProgressList",
@@ -2222,8 +2222,8 @@ const wn = ot(
2222
2222
  { key: "5", title: "培训项目二", count: 200 },
2223
2223
  { key: "6", title: "tjh项目", count: 0 }
2224
2224
  ],
2225
- component: c.lazy(() => import("./index-CS4fwJHw.mjs")),
2226
- attributesComponent: c.lazy(() => import("./attributes-RjWkk9Ep.mjs"))
2225
+ component: c.lazy(() => import("./index-BocA4dcF.mjs")),
2226
+ attributesComponent: c.lazy(() => import("./attributes-C1A9908m.mjs"))
2227
2227
  },
2228
2228
  {
2229
2229
  cId: "specialTitle",
@@ -2235,14 +2235,14 @@ const wn = ot(
2235
2235
  y: 0,
2236
2236
  width: 500,
2237
2237
  height: 32,
2238
- component: c.lazy(() => import("./index-Bn3nDy5T.mjs")),
2239
- attributesComponent: c.lazy(() => import("./attributes-DEejGpyc.mjs"))
2238
+ component: c.lazy(() => import("./index-Qui7yLq3.mjs")),
2239
+ attributesComponent: c.lazy(() => import("./attributes-CLFZcWAB.mjs"))
2240
2240
  }
2241
2241
  ], ja = {
2242
2242
  id: "system",
2243
2243
  name: "默认组件包",
2244
2244
  origin: "system",
2245
- version: "0.0.23",
2245
+ version: "0.0.25",
2246
2246
  description: "由官方发布的组件库,随编辑器主版本迭代而更新。",
2247
2247
  components: [
2248
2248
  ...ca,
@@ -4253,7 +4253,7 @@ function main(value, {origin, target, option}) {
4253
4253
  }, Symbol.toStringTag, { value: "Module" })), Pn = {
4254
4254
  classic: Ge,
4255
4255
  multiple_components_interactive: Ke
4256
- }, O = "_$_rbs_current_engine_$_", en = c.lazy(() => import("./index-ByVgagvo.mjs")), tn = c.lazy(() => import("./index-DUvmwvc8.mjs"));
4256
+ }, O = "_$_rbs_current_engine_$_", en = c.lazy(() => import("./index-YvM6Nke0.mjs")), tn = c.lazy(() => import("./index-CX8Y7AOe.mjs"));
4257
4257
  class zn {
4258
4258
  constructor(e) {
4259
4259
  /** react createApp */
@@ -4277,7 +4277,8 @@ class zn {
4277
4277
  pageFooter: i,
4278
4278
  pageLogo: o,
4279
4279
  pageToolBar: s,
4280
- ...l
4280
+ toolBarOptions: l,
4281
+ ...h
4281
4282
  } = e || {};
4282
4283
  this.options = {
4283
4284
  activeGlobal: t,
@@ -4285,8 +4286,9 @@ class zn {
4285
4286
  dom: n,
4286
4287
  pageFooter: i,
4287
4288
  pageLogo: o,
4288
- pageToolBar: s
4289
- }, this.engine = new Qa(l), n && this.mount(n), t && this.activeGlobal(), a && this.on("startPreview", a);
4289
+ pageToolBar: s,
4290
+ toolBarOptions: l
4291
+ }, this.engine = new Qa(h), n && this.mount(n), t && this.activeGlobal(), a && this.on("startPreview", a);
4290
4292
  }
4291
4293
  /**
4292
4294
  * 挂载dom(会触发编辑器渲染)
@@ -4364,7 +4366,7 @@ class zn {
4364
4366
  */
4365
4367
  async importJSON(e) {
4366
4368
  return new Promise((t, a) => {
4367
- var n, i, o;
4369
+ var n, i, o, s;
4368
4370
  try {
4369
4371
  if (!this.el)
4370
4372
  throw new Error("el not found.");
@@ -4377,14 +4379,15 @@ class zn {
4377
4379
  onJSONLoad: t,
4378
4380
  pageToolBar: (n = this.options) == null ? void 0 : n.pageToolBar,
4379
4381
  pageFooter: (i = this.options) == null ? void 0 : i.pageFooter,
4380
- pageLogo: (o = this.options) == null ? void 0 : o.pageLogo
4382
+ pageLogo: (o = this.options) == null ? void 0 : o.pageLogo,
4383
+ toolBarOptions: (s = this.options) == null ? void 0 : s.toolBarOptions
4381
4384
  }
4382
4385
  ) })
4383
4386
  ) : this.mode === "preview" && this.app.render(
4384
4387
  /* @__PURE__ */ u(U.Provider, { value: { engine: this.engine, rbsEngine: this }, children: /* @__PURE__ */ u(tn, { json: e, engine: this.engine, onJSONLoad: t }) })
4385
4388
  ));
4386
- } catch (s) {
4387
- a(s);
4389
+ } catch (l) {
4390
+ a(l);
4388
4391
  }
4389
4392
  });
4390
4393
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
- import { n as l } from "./index-Dbkk-b9S.mjs";
2
+ import { n as l } from "./index-Cr2RXjtr.mjs";
3
3
  import "localforage";
4
4
  import { useRef as c, useEffect as a } from "react";
5
5
  import "react-dom";
@@ -9,7 +9,7 @@ import "driver.js";
9
9
  import "driver.js/dist/driver.css";
10
10
  import "lodash-es";
11
11
  import "ahooks";
12
- import { DEFAULT_OPTIONS as p } from "./attributes-CJsbMpOn.mjs";
12
+ import { DEFAULT_OPTIONS as p } from "./attributes-pYXM3BGl.mjs";
13
13
  import u from "dayjs";
14
14
  const T = l((m) => {
15
15
  const { width: i, height: o, options: r } = m, t = c(null);
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as h, Fragment as m } from "react/jsx-runtime";
2
- import { n as u } from "./index-Dbkk-b9S.mjs";
2
+ import { n as u } from "./index-Cr2RXjtr.mjs";
3
3
  import "localforage";
4
4
  import { useMemo as v } from "react";
5
5
  import "react-dom";
@@ -9,8 +9,8 @@ import "driver.js";
9
9
  import "driver.js/dist/driver.css";
10
10
  import "lodash-es";
11
11
  import "ahooks";
12
- import { u as f, s as I } from "./selectPage-BQ7Fdnqf.mjs";
13
- import { u as L } from "./useCurrentPageId-6JCOgaZV.mjs";
12
+ import { u as f, s as I } from "./selectPage-1ojYk6EF.mjs";
13
+ import { u as L } from "./useCurrentPageId-DG0SfHzH.mjs";
14
14
  import S from "classnames";
15
15
  import "hotkeys-js";
16
16
  import "dayjs";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
- import { n as a } from "./index-Dbkk-b9S.mjs";
2
+ import { n as a } from "./index-Cr2RXjtr.mjs";
3
3
  import "localforage";
4
4
  import "react";
5
5
  import "react-dom";
@@ -9,7 +9,7 @@ import "driver.js";
9
9
  import "driver.js/dist/driver.css";
10
10
  import "lodash-es";
11
11
  import "ahooks";
12
- import { DEFAULT_OPTIONS as m } from "./attributes-CUgbOLAh.mjs";
12
+ import { DEFAULT_OPTIONS as m } from "./attributes-SrukxCct.mjs";
13
13
  const i = a((l) => {
14
14
  const { options: e, width: _, height: t } = l;
15
15
  return /* @__PURE__ */ g(
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { Image as i } from "antd";
3
- import { n as p } from "./index-Dbkk-b9S.mjs";
3
+ import { n as p } from "./index-Cr2RXjtr.mjs";
4
4
  import "localforage";
5
5
  import "react";
6
6
  import "react-dom";
@@ -9,7 +9,7 @@ import "driver.js";
9
9
  import "driver.js/dist/driver.css";
10
10
  import "lodash-es";
11
11
  import "ahooks";
12
- import { DEFAULT_OPTIONS as n } from "./attributes-DRoIzLZg.mjs";
12
+ import { DEFAULT_OPTIONS as n } from "./attributes-BEr36PPS.mjs";
13
13
  const E = p((t) => {
14
14
  const { options: r, width: e, height: m } = t;
15
15
  return /* @__PURE__ */ o(
@@ -1,7 +1,7 @@
1
1
  var R = Object.defineProperty;
2
2
  var T = (e, n, t) => n in e ? R(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var b = (e, n, t) => T(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { b as O, u as k, I as x, R as F } from "./index-Dbkk-b9S.mjs";
4
+ import { b as O, u as k, I as x, R as F } from "./index-Cr2RXjtr.mjs";
5
5
  import "localforage";
6
6
  import N, { useEffect as y, useMemo as M, useRef as w, useState as _, useCallback as z } from "react";
7
7
  import "react-dom";
@@ -15,7 +15,7 @@ import "ahooks";
15
15
  import Z from "umi-request";
16
16
  import { u as j } from "./useListenRef-B01dENv0.mjs";
17
17
  import { u as Q } from "./useEffectOnce-l5sUTCBG.mjs";
18
- import { u as V } from "./useCurrentPageId-6JCOgaZV.mjs";
18
+ import { u as V } from "./useCurrentPageId-DG0SfHzH.mjs";
19
19
  import I from "hotkeys-js";
20
20
  import "dayjs";
21
21
  function X(e) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as g } from "react/jsx-runtime";
2
- import { C as l } from "./index-Dbkk-b9S.mjs";
3
- import { I as u } from "./index-Bh0co1x-.mjs";
2
+ import { C as l } from "./index-Cr2RXjtr.mjs";
3
+ import { I as u } from "./index-BvJ4xx2h.mjs";
4
4
  import "react";
5
5
  import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
6
6
  import "ahooks";
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { n as b } from "./index-Dbkk-b9S.mjs";
2
+ import { n as b } from "./index-Cr2RXjtr.mjs";
3
3
  import "localforage";
4
4
  import { useState as u, useMemo as x } from "react";
5
5
  import "react-dom";
@@ -11,7 +11,7 @@ import "driver.js/dist/driver.css";
11
11
  import "lodash-es";
12
12
  import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
13
13
  import "ahooks";
14
- import { R as h } from "./index-D66jJN7b.mjs";
14
+ import { R as h } from "./index-ycFZ60KR.mjs";
15
15
  const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 250, a = [210, 200, 195, 200, 202, 195, 180], O = b((i) => {
16
16
  const { width: n, height: s } = i, [e, l] = u(a), m = x(() => {
17
17
  const o = e.map((t) => t * 100 / r);
@@ -1,5 +1,5 @@
1
1
  import { jsx as b } from "react/jsx-runtime";
2
- import { n as C } from "./index-Dbkk-b9S.mjs";
2
+ import { n as C } from "./index-Cr2RXjtr.mjs";
3
3
  import "localforage";
4
4
  import "react";
5
5
  import "react-dom";
@@ -9,8 +9,8 @@ import "driver.js";
9
9
  import "driver.js/dist/driver.css";
10
10
  import "lodash-es";
11
11
  import { useRequest as v } from "ahooks";
12
- import { R as S } from "./index-D66jJN7b.mjs";
13
- import { DEFAULT_OPTIONS as g } from "./attributes-8wJNGwLE.mjs";
12
+ import { R as S } from "./index-ycFZ60KR.mjs";
13
+ import { DEFAULT_OPTIONS as g } from "./attributes-DZOgwszX.mjs";
14
14
  const n = "chinaOutline";
15
15
  async function p() {
16
16
  var t, o;
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { R as i } from "./index-D66jJN7b.mjs";
3
- import { n as a } from "./index-Dbkk-b9S.mjs";
2
+ import { R as i } from "./index-ycFZ60KR.mjs";
3
+ import { n as a } from "./index-Cr2RXjtr.mjs";
4
4
  import "localforage";
5
5
  import "react";
6
6
  import "react-dom";