react-semaphor 0.0.96 → 0.0.98

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.
@@ -6111,7 +6111,7 @@ const we = NP()(
6111
6111
  card: {
6112
6112
  id: Ms(),
6113
6113
  title: "Editor Card",
6114
- description: "Desdcription",
6114
+ description: "Description",
6115
6115
  type: "bar",
6116
6116
  data: []
6117
6117
  },
@@ -6405,7 +6405,12 @@ function zF(e, t) {
6405
6405
  isFetching: D,
6406
6406
  isError: H
6407
6407
  } = Di({
6408
- queryKey: [i, o, a],
6408
+ queryKey: [
6409
+ i,
6410
+ o,
6411
+ s,
6412
+ a
6413
+ ],
6409
6414
  queryFn: () => Vl(
6410
6415
  "https://semaphor.cloud/api/v1/columns",
6411
6416
  (r == null ? void 0 : r.accessToken) || "",
@@ -6443,7 +6448,7 @@ function zF(e, t) {
6443
6448
  function ge(U) {
6444
6449
  c(U);
6445
6450
  }
6446
- S && S.databases.length > 0, T && T.schemas.length > 0, X && X.columns.length > 0 && (n = X.columns.map((U) => ({
6451
+ S && S.databases.length > 0, T && T.schemas.length > 0, X && X.columns.length > 0 && (console.log("columnsData", X), n = X.columns.map((U) => ({
6447
6452
  ...U,
6448
6453
  data_type: U.data_type.toLowerCase()
6449
6454
  }))), P && (n = []), (H || y) && (n = []);
@@ -16151,6 +16156,7 @@ function Ts({
16151
16156
  ) : /* @__PURE__ */ w.jsx(
16152
16157
  "input",
16153
16158
  {
16159
+ onMouseDown: (g) => g.stopPropagation(),
16154
16160
  type: "text",
16155
16161
  className: Te(
16156
16162
  "px-2 py-1 text-sm bg-background outline-[0.5px] outline-dashed outline-primary/50 rounded-sm",
@@ -34758,11 +34764,13 @@ function KZ(e, t) {
34758
34764
  let py = ho(YZ), ZD = ho(GZ), XZ = ho(KZ), QZ = Object.assign(py, { Child: XZ, Root: py });
34759
34765
  const Qg = [
34760
34766
  "text",
34767
+ "enum",
34761
34768
  "varchar",
34762
34769
  "nvarchar",
34763
34770
  "nvarchar2",
34764
34771
  "char",
34765
34772
  "character",
34773
+ "longtext",
34766
34774
  "nchar",
34767
34775
  "char varying",
34768
34776
  "nchar varying",
@@ -41035,7 +41043,7 @@ function Bh({
41035
41043
  ),
41036
41044
  /* @__PURE__ */ w.jsx(W1, { children: /* @__PURE__ */ w.jsxs(RT, { children: [
41037
41045
  r ? /* @__PURE__ */ w.jsx(Up, { children: "Loading..." }) : /* @__PURE__ */ w.jsx(Up, { children: e }),
41038
- /* @__PURE__ */ w.jsx(w.Fragment, { children: t && t.map((d) => /* @__PURE__ */ w.jsx(Oa, { value: d.id, children: d.name }, d.id)) }),
41046
+ /* @__PURE__ */ w.jsx(w.Fragment, { children: t && t.map((d, f) => /* @__PURE__ */ w.jsx(Oa, { value: d.id, children: d.name }, f)) }),
41039
41047
  (r || i) && /* @__PURE__ */ w.jsx(Oa, { value: l, children: l })
41040
41048
  ] }) })
41041
41049
  ] })
@@ -50621,7 +50629,7 @@ function iA({
50621
50629
  cardType: o.type,
50622
50630
  cfg: o.cfg,
50623
50631
  customCfg: o.customCfg
50624
- })), /* @__PURE__ */ w.jsxs(
50632
+ })), console.log("EditorCard", o), /* @__PURE__ */ w.jsxs(
50625
50633
  Cx,
50626
50634
  {
50627
50635
  role: "editor-visual-card",
@@ -50635,7 +50643,8 @@ function iA({
50635
50643
  text: o.title,
50636
50644
  onSave: (l) => s({ ...o, title: l }),
50637
50645
  children: /* @__PURE__ */ w.jsx(Og, { className: "text-base", children: o.title })
50638
- }
50646
+ },
50647
+ o.title
50639
50648
  ),
50640
50649
  /* @__PURE__ */ w.jsx(
50641
50650
  Ts,
@@ -50646,7 +50655,8 @@ function iA({
50646
50655
  " ",
50647
50656
  o.description
50648
50657
  ] })
50649
- }
50658
+ },
50659
+ o.description
50650
50660
  )
50651
50661
  ] }),
50652
50662
  /* @__PURE__ */ w.jsxs(Pg, { className: "flex flex-col pb-3 grow", children: [