@fileverse-dev/dsheet 4.1.20 → 4.1.21

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
@@ -1,5 +1,5 @@
1
- import { C as s, d as o, f as t, S as r, g as l, h as n, j as d, T as S, k as c, l as i, n as m, o as h, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A, B as f, D as I, E as L, F as T, G as w, H as y, I as v, J as D, K as M, L as b, M as k, N as z, O, P } from "./index-DJeCEiQ_.js";
2
- import { cy as G, cz as K, cA as U, cG as X, bs as _, e as j, f as B, l as H, a as J, dj as N, dk as q, bb as Y, dl as Z, dm as Q, dr as W, ds as $, du as ee, I as ae, dJ as se, eg as oe, b4 as te } from "./executeStringFunction-B1_kGelH.js";
1
+ import { C as s, d as o, f as t, S as r, g as l, h as n, j as d, T as S, k as c, l as i, n as m, o as h, p, q as C, t as u, u as E, v as F, w as g, x, z as R, A, B as f, D as I, E as L, F as T, G as w, H as y, I as v, J as D, K as M, L as b, M as k, N as z, O, P } from "./index-BZbTaVjU.js";
2
+ import { cy as G, cz as K, cA as U, cG as X, bs as _, e as j, f as B, l as H, a as J, dj as N, dk as q, bb as Y, dl as Z, dm as Q, dr as W, ds as $, du as ee, I as ae, dJ as se, eg as oe, b4 as te } from "./executeStringFunction-CQ922vEp.js";
3
3
  import { FLVURL as le } from "@fileverse-dev/formulajs";
4
4
  import { E as de, S as Se } from "./constants-8Ij49Lxv.js";
5
5
  export {
@@ -1 +1,2 @@
1
1
  export declare const colors: string[];
2
+ export declare function getRangeColor(rangeIndex: number): string;
@@ -8,5 +8,12 @@ export declare function checkboxChange(ctx: Context, r: number, c: number): void
8
8
  export declare function getFailureText(ctx: Context, item: any): string;
9
9
  export declare function getHintText(ctx: Context, item: any): any;
10
10
  export declare function cellFocus(ctx: Context, r: number, c: number, clickMode: boolean): void;
11
- export declare function setDropdownValue(ctx: Context, value: string, arr: any): void;
11
+ /**
12
+ * `target` is the cell the dropdown was opened for. Without it, the current
13
+ * selection focus is used, which may have moved since the list opened.
14
+ */
15
+ export declare function setDropdownValue(ctx: Context, value: string, arr: any, target?: {
16
+ row: number;
17
+ column: number;
18
+ }): void;
12
19
  export declare function confirmMessage(ctx: Context, generalDialog: any, dataVerification: any): boolean;
@@ -1,10 +1,10 @@
1
1
  import * as BZ from "yjs";
2
- import { i as Yl, a as hl, s as eZ, r as ul, y as Il, b as pl, m as Rl } from "./index-DJeCEiQ_.js";
3
- import { g as sl } from "./executeStringFunction-B1_kGelH.js";
2
+ import { i as Yl, a as hl, s as eZ, r as ul, y as Il, b as pl, m as Rl } from "./index-BZbTaVjU.js";
3
+ import { g as sl } from "./executeStringFunction-CQ922vEp.js";
4
4
  import { Workbook as al } from "exceljs";
5
5
  import Kl from "luckyexcel";
6
- import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-CpiKJ54P.js";
7
- import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-CcFT4HV-.js";
6
+ import { e as Jl, b as xl, n as Ml } from "./xlsx-hyperlink-inline-CEmgXple.js";
7
+ import { parseDefinedNamesFromXlsxBuffer as Sl, excelEntriesToDefinedNames as OZ } from "./xlsx-defined-names-CGkkDs3a.js";
8
8
  import { toast as fZ } from "@fileverse/ui";
9
9
  var Zl = { exports: {} };
10
10
  (function(m) {
@@ -1,5 +1,5 @@
1
- import { i as w } from "./executeStringFunction-B1_kGelH.js";
2
- import { J as x } from "./xlsx-hyperlink-inline-CpiKJ54P.js";
1
+ import { i as w } from "./executeStringFunction-CQ922vEp.js";
2
+ import { J as x } from "./xlsx-hyperlink-inline-CEmgXple.js";
3
3
  function g(o) {
4
4
  return o.startsWith("_xlnm.");
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import { utils as S, write as nt } from "xlsx-js-style";
2
2
  import { Workbook as pt } from "exceljs";
3
3
  import { toast as rt } from "@fileverse/ui";
4
- import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-CpiKJ54P.js";
5
- import { b as gt } from "./executeStringFunction-B1_kGelH.js";
6
- import { e as bt } from "./index-DJeCEiQ_.js";
4
+ import { J as dt, c as X, g as ht, a as mt } from "./xlsx-hyperlink-inline-CEmgXple.js";
5
+ import { b as gt } from "./executeStringFunction-CQ922vEp.js";
6
+ import { e as bt } from "./index-BZbTaVjU.js";
7
7
  const xt = {
8
8
  1: "thin",
9
9
  2: "hair",
@@ -854,7 +854,7 @@ const Z = (t) => {
854
854
  O
855
855
  );
856
856
  });
857
- const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-CcFT4HV-.js");
857
+ const { applyDefinedNamesToExcelWorkbook: ct } = await import("./xlsx-defined-names-CGkkDs3a.js");
858
858
  ct(
859
859
  B,
860
860
  (k = (C = (s = t.current).getWorkbookContext) == null ? void 0 : C.call(s)) == null ? void 0 : k.definedNames,
@@ -1,5 +1,5 @@
1
- import { g as Rt, c as yt } from "./executeStringFunction-B1_kGelH.js";
2
- import { c as wt } from "./index-DJeCEiQ_.js";
1
+ import { g as Rt, c as yt } from "./executeStringFunction-CQ922vEp.js";
2
+ import { c as wt } from "./index-BZbTaVjU.js";
3
3
  function jt(J, nt) {
4
4
  const g = J.getImages();
5
5
  if (!g.length) return [];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "4.1.20",
5
+ "version": "4.1.21",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/fileverse/fileverse-dsheets.git"