@fileverse-dev/dsheet 0.0.84 → 0.0.86

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.
package/dist/index.es.js CHANGED
@@ -6905,31 +6905,30 @@ const aJ = (e, r, t, a) => {
6905
6905
  };
6906
6906
  return delete s.data, s;
6907
6907
  }), iJ = (e, r, t, a, n, o = !1, i, s, u) => {
6908
- const [l, c] = _t([]), [f, d] = _t(!1), h = Vt([]), p = Vt(!1), m = Vt(!1), v = Vt(!0), g = Vt(!1), y = Vt(null), b = Vt(!1), F = Vt(!1);
6908
+ const [l, c] = _t([]), [f, d] = _t(!1), h = Vt([]), p = Vt(!1), m = Vt(!1), v = Vt(!0), g = Vt(!1), y = Vt(null), b = Vt(!1);
6909
6909
  Jt(() => {
6910
6910
  if (!(!(n != null && n.length) || !e.current || !r))
6911
6911
  try {
6912
- const A = e.current, S = BY(n), x = new sf();
6913
- V3(x, S);
6914
- const N = x.getArray(r);
6915
- if (Array.from(N).length > 0) {
6916
- V3(A, S);
6917
- const j = A.getArray(r), O = Array.from(j);
6918
- h.current = O, m.current = !0, d(!0), b.current = !0, a && a((E) => E + 1);
6919
- }
6920
- x.destroy();
6921
- } catch (A) {
6922
- console.error("[DSheet] Error processing portal content:", A);
6912
+ const w = e.current, A = BY(n), S = new sf();
6913
+ V3(S, A);
6914
+ const x = S.getArray(r);
6915
+ if (Array.from(x).length > 0) {
6916
+ V3(w, A);
6917
+ const D = w.getArray(r), j = Array.from(D);
6918
+ h.current = j, m.current = !0, d(!0), b.current = !0, a && a((O) => O + 1);
6919
+ }
6920
+ S.destroy();
6921
+ } catch (w) {
6922
+ console.error("[DSheet] Error processing portal content:", w);
6923
6923
  }
6924
6924
  }, [n, r, e, o]), Jt(() => {
6925
6925
  if (!(!u || !e.current || !r))
6926
6926
  try {
6927
- const A = e.current.getArray(r), S = Array.from(A);
6928
- S.length > 0 && u && !F.current && (S.forEach((x) => {
6929
- const N = x.celldata;
6927
+ const w = e.current.getArray(r), A = Array.from(w);
6928
+ A.length > 0 && u && A.forEach((S, x) => {
6929
+ const N = S.celldata;
6930
6930
  N == null || N.forEach((D) => {
6931
- const j = u[`${D.r}_${D.c}`];
6932
- j && j.sheetId === x.id ? D.v && (D.v = {
6931
+ u[`${x}_${D.r}_${D.c}`] ? D.v && (D.v = {
6933
6932
  ...D.v,
6934
6933
  ps: tJ
6935
6934
  }) : D.v && (D.v = {
@@ -6937,46 +6936,46 @@ const aJ = (e, r, t, a) => {
6937
6936
  ps: void 0
6938
6937
  });
6939
6938
  });
6940
- }), F.current = !0);
6941
- } catch (A) {
6942
- console.error("[DSheet] Error processing comment data:", A);
6939
+ });
6940
+ } catch (w) {
6941
+ console.error("[DSheet] Error processing comment data:", w);
6943
6942
  }
6944
6943
  }, [u, r, e, o, f]), Jt(() => {
6945
6944
  !e.current || !r || s === "synced" && (() => {
6946
- var N, D;
6945
+ var x, N;
6947
6946
  if (m.current)
6948
6947
  return;
6949
- const S = (N = e.current) == null ? void 0 : N.getArray(r), x = Array.from(S || []);
6950
- if (x.length === 0)
6948
+ const A = (x = e.current) == null ? void 0 : x.getArray(r), S = Array.from(A || []);
6949
+ if (S.length === 0)
6951
6950
  if (o)
6952
6951
  d(!0), b.current;
6953
6952
  else {
6954
- const j = LE;
6955
- (D = e.current) == null || D.transact(() => {
6956
- S == null || S.delete(0, S.length), S == null || S.insert(0, j);
6957
- }), h.current = j;
6953
+ const D = LE;
6954
+ (N = e.current) == null || N.transact(() => {
6955
+ A == null || A.delete(0, A.length), A == null || A.insert(0, D);
6956
+ }), h.current = D;
6958
6957
  }
6959
6958
  else
6960
- h.current = x, a && a((j) => j + 1);
6959
+ h.current = S, a && a((D) => D + 1);
6961
6960
  m.current = !0, d(!0);
6962
6961
  })();
6963
6962
  }, [r, o, s]), Jt(() => {
6964
6963
  if (!e.current || !r) return;
6965
- const A = e.current.getArray(r), S = () => {
6964
+ const w = e.current.getArray(r), A = () => {
6966
6965
  if (g.current)
6967
6966
  return;
6968
6967
  p.current = !0;
6969
- const x = Array.from(A);
6970
- h.current = x, y.current !== null && window.clearTimeout(y.current), y.current = window.setTimeout(() => {
6971
- a && a((N) => N + 1), y.current = null;
6968
+ const S = Array.from(w);
6969
+ h.current = S, y.current !== null && window.clearTimeout(y.current), y.current = window.setTimeout(() => {
6970
+ a && a((x) => x + 1), y.current = null;
6972
6971
  }, 50);
6973
6972
  };
6974
- return A.observe(S), () => {
6975
- A.unobserve(S), y.current !== null && window.clearTimeout(y.current);
6973
+ return w.observe(A), () => {
6974
+ w.unobserve(A), y.current !== null && window.clearTimeout(y.current);
6976
6975
  };
6977
6976
  }, [e, r]);
6978
- const w = Ut(
6979
- (A) => {
6977
+ const F = Ut(
6978
+ (w) => {
6980
6979
  if (v.current) {
6981
6980
  v.current = !1;
6982
6981
  return;
@@ -6985,9 +6984,9 @@ const aJ = (e, r, t, a) => {
6985
6984
  p.current = !1;
6986
6985
  return;
6987
6986
  }
6988
- g.current = !0, aJ(e.current, r, A, t.current), setTimeout(() => {
6987
+ g.current = !0, aJ(e.current, r, w, t.current), setTimeout(() => {
6989
6988
  g.current = !1;
6990
- }, 50), i && i(A);
6989
+ }, 50), i && i(w);
6991
6990
  },
6992
6991
  [r, i]
6993
6992
  );
@@ -6997,7 +6996,7 @@ const aJ = (e, r, t, a) => {
6997
6996
  currentDataRef: h,
6998
6997
  remoteUpdateRef: p,
6999
6998
  isDataLoaded: f,
7000
- handleChange: w
6999
+ handleChange: F
7001
7000
  };
7002
7001
  }, oJ = 1200, lJ = 2500, tg = 3e4, Eb = (e) => {
7003
7002
  if (e.shouldConnect && e.ws === null) {
@@ -216077,44 +216076,43 @@ const Cwt = ({
216077
216076
  toggleTemplateSidebar: o,
216078
216077
  onboardingComplete: i,
216079
216078
  onboardingHandler: s,
216080
- dataBlockApiKeyHandler: u,
216081
- exportDropdownOpen: l = !1,
216082
- commentData: c,
216083
- getCommentCellUI: f,
216084
- setExportDropdownOpen: d = () => {
216085
- },
216086
- dsheetId: h,
216087
- storeApiKey: p
216079
+ exportDropdownOpen: u = !1,
216080
+ commentData: l,
216081
+ getCommentCellUI: c,
216082
+ setExportDropdownOpen: f = () => {
216083
+ },
216084
+ dsheetId: d,
216085
+ storeApiKey: h
216088
216086
  }) => {
216089
216087
  const {
216090
- sheetEditorRef: m,
216091
- ydocRef: v,
216092
- currentDataRef: g,
216093
- handleChange: y,
216094
- forceSheetRender: b,
216095
- setForceSheetRender: F,
216096
- syncStatus: w
216097
- } = XE(), { handleXLSXUpload: A } = Cwt({
216098
- sheetEditorRef: m,
216099
- ydocRef: v,
216100
- setForceSheetRender: F,
216101
- dsheetId: h,
216102
- currentDataRef: g
216103
- }), S = a ? n ? ["comment"] : [] : QY, x = a ? ["filter"] : eJ, N = a ? n ? ["filter", "comment"] : ["filter"] : JY;
216088
+ sheetEditorRef: p,
216089
+ ydocRef: m,
216090
+ currentDataRef: v,
216091
+ handleChange: g,
216092
+ forceSheetRender: y,
216093
+ setForceSheetRender: b,
216094
+ syncStatus: F
216095
+ } = XE(), { handleXLSXUpload: w } = Cwt({
216096
+ sheetEditorRef: p,
216097
+ ydocRef: m,
216098
+ setForceSheetRender: b,
216099
+ dsheetId: d,
216100
+ currentDataRef: v
216101
+ }), A = a ? n ? ["comment"] : [] : QY, S = a ? ["filter"] : eJ, x = a ? n ? ["filter", "comment"] : ["filter"] : JY;
216104
216102
  return ta(() => {
216105
- const D = `workbook-${h}-${b}`, j = g.current && g.current.length > 0 ? g.current : a ? [] : LE;
216103
+ const N = `workbook-${d}-${y}`, D = v.current && v.current.length > 0 ? v.current : a ? [] : LE;
216106
216104
  return (
216107
216105
  // @ts-ignore
216108
216106
  /* @__PURE__ */ cr.jsx(
216109
216107
  s6t,
216110
216108
  {
216111
- ref: m,
216112
- data: j,
216113
- toolbarItems: N,
216114
- cellContextMenu: S,
216115
- headerContextMenu: x,
216116
- getCommentCellUI: f,
216117
- onChange: y,
216109
+ ref: p,
216110
+ data: D,
216111
+ toolbarItems: x,
216112
+ cellContextMenu: A,
216113
+ headerContextMenu: S,
216114
+ getCommentCellUI: c,
216115
+ onChange: g,
216118
216116
  showFormulaBar: !0,
216119
216117
  showToolbar: !0,
216120
216118
  lang: "en",
@@ -216123,56 +216121,54 @@ const Cwt = ({
216123
216121
  defaultColWidth: 100,
216124
216122
  defaultRowHeight: 21,
216125
216123
  customToolbarItems: a ? [] : u6t({
216126
- setExportDropdownOpen: d,
216124
+ setExportDropdownOpen: f,
216127
216125
  handleCSVUpload: N6t,
216128
- handleXLSXUpload: A,
216126
+ handleXLSXUpload: w,
216129
216127
  handleExportToXLSX: Awt,
216130
216128
  handleExportToCSV: Twt,
216131
216129
  handleExportToJSON: xwt,
216132
- sheetEditorRef: m,
216133
- ydocRef: v,
216134
- dsheetId: h,
216135
- currentDataRef: g,
216136
- setForceSheetRender: F,
216130
+ sheetEditorRef: p,
216131
+ ydocRef: m,
216132
+ dsheetId: d,
216133
+ currentDataRef: v,
216134
+ setForceSheetRender: b,
216137
216135
  toggleTemplateSidebar: o,
216138
216136
  setShowFetchURLModal: r
216139
216137
  }),
216140
216138
  hooks: {
216141
- afterUpdateCell: (O, E, B, k) => {
216142
- console.log("afterUpdateCell Old value", B);
216143
- const T = { current: m.current };
216139
+ afterUpdateCell: (j, O, E, B) => {
216140
+ console.log("afterUpdateCell Old value", E);
216141
+ const k = { current: p.current };
216144
216142
  E6t({
216145
- row: O,
216146
- column: E,
216147
- newValue: k,
216148
- sheetEditorRef: T,
216143
+ row: j,
216144
+ column: O,
216145
+ newValue: B,
216146
+ sheetEditorRef: k,
216149
216147
  onboardingComplete: i,
216150
216148
  // @ts-ignore
216151
216149
  setFetchingURLData: t,
216152
216150
  onboardingHandler: s,
216153
- dataBlockApiKeyHandler: u,
216154
- storeApiKey: p,
216151
+ storeApiKey: h,
216155
216152
  setInputFetchURLDataBlock: e
216156
216153
  });
216157
216154
  }
216158
216155
  }
216159
216156
  },
216160
- D
216157
+ N
216161
216158
  )
216162
216159
  );
216163
216160
  }, [
216164
- b,
216165
- a,
216166
216161
  y,
216162
+ a,
216163
+ g,
216167
216164
  o,
216168
216165
  i,
216169
216166
  s,
216167
+ d,
216170
216168
  u,
216171
- h,
216172
216169
  l,
216173
- c,
216174
- w,
216175
- g.current
216170
+ F,
216171
+ v.current
216176
216172
  ]);
216177
216173
  }, Ewt = [
216178
216174
  {
@@ -291100,42 +291096,41 @@ const Cwt = ({
291100
291096
  toggleTemplateSidebar: n,
291101
291097
  onboardingComplete: o,
291102
291098
  onboardingHandler: i,
291103
- dataBlockApiKeyHandler: s,
291104
- isTemplateOpen: u,
291105
- exportDropdownOpen: l,
291106
- setExportDropdownOpen: c,
291107
- dsheetId: f,
291108
- commentData: d,
291109
- getCommentCellUI: h,
291110
- selectedTemplate: p,
291111
- setFetchingURLData: m,
291112
- setInputFetchURLDataBlock: v,
291113
- storeApiKey: g
291099
+ isTemplateOpen: s,
291100
+ exportDropdownOpen: u,
291101
+ setExportDropdownOpen: l,
291102
+ dsheetId: c,
291103
+ commentData: f,
291104
+ getCommentCellUI: d,
291105
+ selectedTemplate: h,
291106
+ setFetchingURLData: p,
291107
+ setInputFetchURLDataBlock: m,
291108
+ storeApiKey: v
291114
291109
  }) => {
291115
291110
  const {
291116
- loading: y,
291117
- sheetEditorRef: b,
291118
- currentDataRef: F,
291119
- ydocRef: w,
291120
- setForceSheetRender: A
291111
+ loading: g,
291112
+ sheetEditorRef: y,
291113
+ currentDataRef: b,
291114
+ ydocRef: F,
291115
+ setForceSheetRender: w
291121
291116
  } = XE();
291122
291117
  Dwt({
291123
- selectedTemplate: p,
291124
- ydocRef: w,
291125
- dsheetId: f,
291126
- currentDataRef: F,
291127
- setForceSheetRender: A,
291128
- sheetEditorRef: b
291118
+ selectedTemplate: h,
291119
+ ydocRef: F,
291120
+ dsheetId: c,
291121
+ currentDataRef: b,
291122
+ setForceSheetRender: w,
291123
+ sheetEditorRef: y
291129
291124
  }), PZ({
291130
- exportDropdownOpen: l,
291131
- isTemplateOpen: u,
291125
+ exportDropdownOpen: u,
291126
+ isTemplateOpen: s,
291132
291127
  isReadOnly: t,
291133
- loading: y
291128
+ loading: g
291134
291129
  });
291135
- const S = {
291136
- sheetEditorRef: b,
291137
- currentDataRef: F,
291138
- ydocRef: w
291130
+ const A = {
291131
+ sheetEditorRef: y,
291132
+ currentDataRef: b,
291133
+ ydocRef: F
291139
291134
  };
291140
291135
  return /* @__PURE__ */ cr.jsxs(
291141
291136
  "div",
@@ -291156,7 +291151,7 @@ const Cwt = ({
291156
291151
  "translate-y-[-100%]": !1
291157
291152
  }
291158
291153
  ),
291159
- children: r(S)
291154
+ children: r(A)
291160
291155
  }
291161
291156
  ),
291162
291157
  /* @__PURE__ */ cr.jsxs(
@@ -291165,26 +291160,25 @@ const Cwt = ({
291165
291160
  style: { height: "97.8%", marginTop: "44px" },
291166
291161
  className: "relative overflow-hidden",
291167
291162
  children: [
291168
- /* @__PURE__ */ cr.jsx(yS, { show: y, children: /* @__PURE__ */ cr.jsx(WZ, { isReadOnly: t }) }),
291169
- /* @__PURE__ */ cr.jsxs(yS, { show: !y, children: [
291163
+ /* @__PURE__ */ cr.jsx(yS, { show: g, children: /* @__PURE__ */ cr.jsx(WZ, { isReadOnly: t }) }),
291164
+ /* @__PURE__ */ cr.jsxs(yS, { show: !g, children: [
291170
291165
  t && /* @__PURE__ */ cr.jsx("div", { className: "absolute top-2 right-4 z-20", children: /* @__PURE__ */ cr.jsx(Nwt, { allowComments: a || !1 }) }),
291171
291166
  /* @__PURE__ */ cr.jsx(
291172
291167
  Swt,
291173
291168
  {
291174
291169
  setShowFetchURLModal: e,
291175
- setFetchingURLData: m,
291176
- setInputFetchURLDataBlock: v,
291177
- commentData: d,
291178
- getCommentCellUI: h,
291170
+ setFetchingURLData: p,
291171
+ setInputFetchURLDataBlock: m,
291172
+ commentData: f,
291173
+ getCommentCellUI: d,
291179
291174
  isReadOnly: t,
291180
291175
  toggleTemplateSidebar: n,
291181
291176
  onboardingComplete: o,
291182
291177
  onboardingHandler: i,
291183
- dataBlockApiKeyHandler: s,
291184
- exportDropdownOpen: l,
291185
- setExportDropdownOpen: c,
291186
- dsheetId: f,
291187
- storeApiKey: g,
291178
+ exportDropdownOpen: u,
291179
+ setExportDropdownOpen: l,
291180
+ dsheetId: c,
291181
+ storeApiKey: v,
291188
291182
  allowComments: a
291189
291183
  }
291190
291184
  )
@@ -291213,14 +291207,13 @@ const Cwt = ({
291213
291207
  onboardingHandler: p,
291214
291208
  commentData: m,
291215
291209
  getCommentCellUI: v,
291216
- dataBlockApiKeyHandler: g,
291217
- setFetchingURLData: y,
291218
- setShowFetchURLModal: b,
291219
- setInputFetchURLDataBlock: F,
291220
- sheetEditorRef: w,
291221
- storeApiKey: A
291210
+ setFetchingURLData: g,
291211
+ setShowFetchURLModal: y,
291212
+ setInputFetchURLDataBlock: b,
291213
+ sheetEditorRef: F,
291214
+ storeApiKey: w
291222
291215
  }) => {
291223
- const [S, x] = _t(!1);
291216
+ const [A, S] = _t(!1);
291224
291217
  return /* @__PURE__ */ cr.jsx(
291225
291218
  NJ,
291226
291219
  {
@@ -291231,7 +291224,7 @@ const Cwt = ({
291231
291224
  enableWebrtc: d,
291232
291225
  isReadOnly: r,
291233
291226
  onChange: s,
291234
- externalEditorRef: w,
291227
+ externalEditorRef: F,
291235
291228
  isCollaborative: e,
291236
291229
  commentData: m,
291237
291230
  children: /* @__PURE__ */ cr.jsx(
@@ -291240,20 +291233,19 @@ const Cwt = ({
291240
291233
  commentData: m,
291241
291234
  getCommentCellUI: v,
291242
291235
  renderNavbar: a,
291243
- setFetchingURLData: y,
291244
- setShowFetchURLModal: b,
291245
- setInputFetchURLDataBlock: F,
291236
+ setFetchingURLData: g,
291237
+ setShowFetchURLModal: y,
291238
+ setInputFetchURLDataBlock: b,
291246
291239
  isReadOnly: r,
291247
291240
  toggleTemplateSidebar: c,
291248
291241
  onboardingComplete: h,
291249
291242
  onboardingHandler: p,
291250
- dataBlockApiKeyHandler: g,
291251
291243
  isTemplateOpen: f,
291252
- exportDropdownOpen: S,
291253
- setExportDropdownOpen: x,
291244
+ exportDropdownOpen: A,
291245
+ setExportDropdownOpen: S,
291254
291246
  dsheetId: o,
291255
291247
  selectedTemplate: l,
291256
- storeApiKey: A,
291248
+ storeApiKey: w,
291257
291249
  allowComments: t
291258
291250
  }
291259
291251
  )
@@ -1,8 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
2
+ import { OnboardingHandlerType } from '../types';
3
3
 
4
4
  type OnboardingHandler = OnboardingHandlerType;
5
- type DataBlockApiKeyHandler = DataBlockApiKeyHandlerType;
6
5
  interface EditorWorkbookProps {
7
6
  setShowFetchURLModal?: React.Dispatch<React.SetStateAction<boolean>>;
8
7
  setFetchingURLData?: (fetching: boolean) => void;
@@ -12,7 +11,6 @@ interface EditorWorkbookProps {
12
11
  toggleTemplateSidebar?: () => void;
13
12
  onboardingComplete?: boolean;
14
13
  onboardingHandler?: OnboardingHandler;
15
- dataBlockApiKeyHandler?: DataBlockApiKeyHandler;
16
14
  exportDropdownOpen?: boolean;
17
15
  commentData?: Object;
18
16
  getCommentCellUI?: (row: number, column: number) => void;
@@ -7,5 +7,5 @@ import { DsheetProps } from './types';
7
7
  * @param props - Component properties
8
8
  * @returns The SpreadsheetEditor component
9
9
  */
10
- declare const SpreadsheetEditor: ({ isCollaborative, isReadOnly, allowComments, renderNavbar, enableIndexeddbSync, dsheetId, portalContent, onChange, username, selectedTemplate, toggleTemplateSidebar, isTemplateOpen, enableWebrtc, onboardingComplete, onboardingHandler, commentData, getCommentCellUI, dataBlockApiKeyHandler, setFetchingURLData, setShowFetchURLModal, setInputFetchURLDataBlock, sheetEditorRef: externalSheetEditorRef, storeApiKey, }: DsheetProps) => JSX.Element;
10
+ declare const SpreadsheetEditor: ({ isCollaborative, isReadOnly, allowComments, renderNavbar, enableIndexeddbSync, dsheetId, portalContent, onChange, username, selectedTemplate, toggleTemplateSidebar, isTemplateOpen, enableWebrtc, onboardingComplete, onboardingHandler, commentData, getCommentCellUI, setFetchingURLData, setShowFetchURLModal, setInputFetchURLDataBlock, sheetEditorRef: externalSheetEditorRef, storeApiKey, }: DsheetProps) => JSX.Element;
11
11
  export default SpreadsheetEditor;
@@ -1,4 +1,4 @@
1
- import { Sheet, Cell } from '@fileverse-dev/fortune-core';
1
+ import { Sheet } from '@fileverse-dev/fortune-core';
2
2
  import { RefObject } from 'react';
3
3
  import { WorkbookInstance } from '@fileverse-dev/fortune-react';
4
4
 
@@ -19,21 +19,6 @@ export type OnboardingHandlerType = (params: {
19
19
  row: number;
20
20
  column: number;
21
21
  };
22
- export type DataBlockApiKeyHandlerType = (params: {
23
- data: string;
24
- sheetEditorRef: React.RefObject<WorkbookInstance | null>;
25
- executeStringFunction: (functionCallString: string) => Promise<unknown>;
26
- row: number;
27
- column: number;
28
- newValue: Cell;
29
- formulaResponseUiSync: (params: {
30
- row: number;
31
- column: number;
32
- newValue: Record<string, string>;
33
- apiData: Array<Record<string, object>>;
34
- sheetEditorRef: React.RefObject<WorkbookInstance | null>;
35
- }) => void;
36
- }) => void;
37
22
  export interface DsheetProps {
38
23
  setShowFetchURLModal?: React.Dispatch<React.SetStateAction<boolean>>;
39
24
  setFetchingURLData?: (fetching: boolean) => void;
@@ -51,7 +36,6 @@ export interface DsheetProps {
51
36
  selectedTemplate?: string;
52
37
  onboardingComplete?: boolean;
53
38
  onboardingHandler?: OnboardingHandlerType;
54
- dataBlockApiKeyHandler?: DataBlockApiKeyHandlerType;
55
39
  setForceSheetRender?: React.Dispatch<React.SetStateAction<number>>;
56
40
  getCommentCellUI?: (row: number, column: number) => void;
57
41
  commentData?: Object;
@@ -1,6 +1,6 @@
1
1
  import { Cell } from '@fileverse-dev/fortune-core';
2
2
  import { WorkbookInstance } from '@fileverse-dev/fortune-react';
3
- import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
3
+ import { OnboardingHandlerType } from '../types';
4
4
 
5
5
  /**
6
6
  * Parameters for the afterUpdateCell function
@@ -13,7 +13,6 @@ interface AfterUpdateCellParams {
13
13
  onboardingComplete: boolean | undefined;
14
14
  setFetchingURLData: (fetching: boolean) => void;
15
15
  onboardingHandler: OnboardingHandlerType | undefined;
16
- dataBlockApiKeyHandler: DataBlockApiKeyHandlerType | undefined;
17
16
  setInputFetchURLDataBlock: React.Dispatch<React.SetStateAction<string>> | undefined;
18
17
  storeApiKey?: (apiKeyName: string) => void;
19
18
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "0.0.84",
5
+ "version": "0.0.86",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -82,4 +82,4 @@
82
82
  "typescript": "^5.2.2",
83
83
  "vite": "^5.0.0"
84
84
  }
85
- }
85
+ }