unifyedx-storybook-new 0.2.68 → 0.2.70

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.
Binary file
Binary file
@@ -8,7 +8,7 @@ import { useFloating as ia, offset as oa, flip as ca, shift as da, autoUpdate as
8
8
  import it, { debounce as rn } from "lodash";
9
9
  import { ToastContainer as nn, Slide as sn, toast as Oe } from "react-toastify";
10
10
  import "react-toastify/dist/ReactToastify.css";
11
- import { P as ln, S as on, a as cn, F as dn, G as mn, b as un, E as hn, c as pn, C as gn, R as bn, d as fn, e as yn, f as xn, g as vn, I as Nn, h as $t } from "./vendor-syncfusion-CEwtS66o.js";
11
+ import { P as ln, S as on, a as cn, F as dn, G as mn, b as un, E as hn, c as pn, C as gn, R as bn, d as fn, e as yn, f as xn, g as vn, I as Nn, h as $t } from "./vendor-syncfusion-Ep1PWSou.js";
12
12
  const wn = (t) => {
13
13
  let a = 2166136261;
14
14
  for (let s = 0; s < t.length; s++)
@@ -1930,7 +1930,8 @@ const Dn = {
1930
1930
  onChange: s,
1931
1931
  labelPosition: i = "right",
1932
1932
  error: l,
1933
- ...m
1933
+ labelStyle: m = "",
1934
+ ...o
1934
1935
  }) => /* @__PURE__ */ n("div", { className: "switch-container", children: [
1935
1936
  /* @__PURE__ */ n(qr, { as: "div", className: "switch-group", children: [
1936
1937
  t && i === "left" && /* @__PURE__ */ e(lt.Label, { className: "switch-label", passive: !0, children: t }),
@@ -1943,11 +1944,11 @@ const Dn = {
1943
1944
  // Renamed from switch-wrapper
1944
1945
  "switch-element--error": !!l
1945
1946
  }),
1946
- ...m,
1947
+ ...o,
1947
1948
  children: /* @__PURE__ */ e("span", { "aria-hidden": "true", className: "switch-thumb" })
1948
1949
  }
1949
1950
  ),
1950
- t && i === "right" && /* @__PURE__ */ e(lt.Label, { className: "switch-label", passive: !0, children: t })
1951
+ t && i === "right" && /* @__PURE__ */ e(lt.Label, { className: `switch-label ${m}`, passive: !0, children: t })
1951
1952
  ] }),
1952
1953
  l && /* @__PURE__ */ e("p", { className: "switch-error-message", children: l })
1953
1954
  ] }), Bl = ({
@@ -5968,9 +5969,11 @@ const Bt = () => {
5968
5969
  const M = x();
5969
5970
  if (M)
5970
5971
  switch (w) {
5971
- case "Delete":
5972
- N && M.deleteRecords?.();
5972
+ case "Delete": {
5973
+ const S = M.getSelectedRecords();
5974
+ console.log("delete action is clicked", S), N && M.getSelectedRecords?.();
5973
5975
  break;
5976
+ }
5974
5977
  case "ColumnChooser":
5975
5978
  y && (T ? p(T) : M.openColumnChooser?.());
5976
5979
  break;
@@ -6088,7 +6091,7 @@ const Bt = () => {
6088
6091
  ] });
6089
6092
  };
6090
6093
  function ai(t) {
6091
- console.log("consoling from CustomDataGrid");
6094
+ console.log("consoling from CustomDataGrid****");
6092
6095
  const {
6093
6096
  data: a = [],
6094
6097
  totalCount: s = 0,
@@ -6149,9 +6152,7 @@ function ai(t) {
6149
6152
  y,
6150
6153
  R,
6151
6154
  F
6152
- ]);
6153
- console.log("checking service", _);
6154
- const E = ae(() => {
6155
+ ]), E = ae(() => {
6155
6156
  const V = () => f.current, ne = (W, ce) => {
6156
6157
  !ce && process.env.NODE_ENV !== "production" && console.warn(`[CustomDataGrid] ${W} requested but related service/feature is disabled.`);
6157
6158
  };