javascript-excel 1.0.3 → 2.0.0-alpha.2

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 (58) hide show
  1. package/README.md +69 -2
  2. package/dist/auto-width-2oBzjeNG.d.cts +11 -0
  3. package/dist/auto-width-CT-BihTW.d.ts +10 -0
  4. package/dist/csv-DyVH9y7S.cjs +647 -0
  5. package/dist/csv-pXfaputs.js +618 -0
  6. package/dist/csv.cjs +7 -0
  7. package/dist/csv.d.cts +89 -0
  8. package/dist/csv.d.ts +89 -0
  9. package/dist/csv.js +1 -0
  10. package/dist/dom.cjs +440 -0
  11. package/dist/dom.d.cts +78 -0
  12. package/dist/dom.d.ts +78 -0
  13. package/dist/dom.js +437 -0
  14. package/dist/errors-CvGlfw0E.js +28 -0
  15. package/dist/errors-DOPrrGS4.cjs +69 -0
  16. package/dist/index.cjs +627 -0
  17. package/dist/index.d.cts +255 -0
  18. package/dist/index.d.ts +255 -0
  19. package/dist/index.js +597 -0
  20. package/dist/infer-BR-J9BZa.js +88 -0
  21. package/dist/infer-D9EC9vJ-.cjs +105 -0
  22. package/dist/iso-date-3TY1OlGd.cjs +57 -0
  23. package/dist/iso-date-CXnn-9mT.js +46 -0
  24. package/dist/numfmt-BBgB7iQA.js +429 -0
  25. package/dist/numfmt-Dv6AjopS.cjs +512 -0
  26. package/dist/read-C6L7Nyy3.d.cts +78 -0
  27. package/dist/read-DDN5ZsPe.js +2909 -0
  28. package/dist/read-Ddkks7qC.d.ts +78 -0
  29. package/dist/read-Ym1voUct.cjs +2932 -0
  30. package/dist/read.cjs +6 -0
  31. package/dist/read.d.cts +15 -0
  32. package/dist/read.d.ts +15 -0
  33. package/dist/read.js +1 -0
  34. package/dist/sheet-names-qpXsvMpM.cjs +1005 -0
  35. package/dist/sheet-names-uT2EH5Ui.js +832 -0
  36. package/dist/signal-Dz0ZYe6d.d.cts +13 -0
  37. package/dist/signal-Dz0ZYe6d.d.ts +13 -0
  38. package/dist/warnings-C_12PT4t.d.cts +410 -0
  39. package/dist/warnings-DXJKe1lx.d.ts +410 -0
  40. package/dist/worker.cjs +240 -0
  41. package/dist/worker.d.cts +65 -0
  42. package/dist/worker.d.ts +65 -0
  43. package/dist/worker.js +238 -0
  44. package/dist/write-BOh9jfu1.cjs +1487 -0
  45. package/dist/write-C5JgeIar.d.cts +29 -0
  46. package/dist/write-CYpLGuzl.d.ts +29 -0
  47. package/dist/write-DubvcG-x.js +1470 -0
  48. package/package.json +101 -51
  49. package/.babelrc +0 -10
  50. package/.circleci/config.yml +0 -39
  51. package/lib/index.d.ts +0 -1
  52. package/lib/index.js +0 -22
  53. package/lib/javascript-excel.js +0 -17703
  54. package/src/index.tsx +0 -11
  55. package/test/unit/sample.spec.js +0 -5
  56. package/tsconfig.json +0 -54
  57. package/webpack.config.js +0 -19
  58. /package/{LICENSE.md → LICENSE} +0 -0
package/dist/read.cjs ADDED
@@ -0,0 +1,6 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_read = require("./read-Ym1voUct.cjs");
3
+ exports.DEFAULT_READ_LIMITS = require_read.DEFAULT_READ_LIMITS;
4
+ exports.detectFormat = require_read.detectFormat;
5
+ exports.read = require_read.read;
6
+ exports.readSheetNames = require_read.readSheetNames;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * javascript-excel/read: the xlsx reader (docs/api.md §5.2, §8).
3
+ *
4
+ * Parts are found through relationships, never by fixed path; each part is
5
+ * inflated and streamed through the XML tokenizer; zip limits are counted on
6
+ * the inflated bytes. ISO/IEC 29500 Strict files read like transitional ones,
7
+ * because the tokenizer ignores namespace prefixes and relationship types
8
+ * are matched by their last path segment, which both variants share.
9
+ * .xlsm, .xltx and .xltm read like .xlsx; macros are never read or run.
10
+ */
11
+ import { A as RichTextRun, C as GradientFill, D as PatternType, E as PatternFill, F as Theme, I as Workbook, M as Sheet, N as SheetView, O as PrintSetup, P as Style, S as Font, T as NumFmt, _ as ColumnWidth, a as BlobType, b as ErrorCode, c as BorderSide, d as CellErrorValue, f as CellInput, g as ColumnProps, h as Color, i as BlobLike, j as RowProps, k as RichText, l as BorderStyle, m as CellValue, n as ExcelWarningCode, o as Alignment, p as CellType, r as BinaryInput, s as Border, t as ExcelWarning, u as Cell, v as DefinedName, w as Hyperlink, x as Fill, y as DocProperties } from "./warnings-C_12PT4t.cjs";
12
+ import { t as AbortSignalLike } from "./signal-Dz0ZYe6d.cjs";
13
+ import { t as Progress } from "./write-C5JgeIar.cjs";
14
+ import { a as ReadResult, c as read, i as ReadOptions, l as readSheetNames, n as DetectedFormat, o as SheetInfo, r as ReadLimits, s as detectFormat, t as DEFAULT_READ_LIMITS } from "./read-C6L7Nyy3.cjs";
15
+ export { type AbortSignalLike, type Alignment, type BinaryInput, type BlobLike, type BlobType, type Border, type BorderSide, type BorderStyle, type Cell, type CellErrorValue, type CellInput, type CellType, type CellValue, type Color, type ColumnProps, type ColumnWidth, DEFAULT_READ_LIMITS, type DefinedName, DetectedFormat, type DocProperties, type ErrorCode, type ExcelWarning, type ExcelWarningCode, type Fill, type Font, type GradientFill, type Hyperlink, type NumFmt, type PatternFill, type PatternType, type PrintSetup, type Progress, ReadLimits, ReadOptions, ReadResult, type RichText, type RichTextRun, type RowProps, type Sheet, SheetInfo, type SheetView, type Style, type Theme, type Workbook, detectFormat, read, readSheetNames };
package/dist/read.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /**
2
+ * javascript-excel/read: the xlsx reader (docs/api.md §5.2, §8).
3
+ *
4
+ * Parts are found through relationships, never by fixed path; each part is
5
+ * inflated and streamed through the XML tokenizer; zip limits are counted on
6
+ * the inflated bytes. ISO/IEC 29500 Strict files read like transitional ones,
7
+ * because the tokenizer ignores namespace prefixes and relationship types
8
+ * are matched by their last path segment, which both variants share.
9
+ * .xlsm, .xltx and .xltm read like .xlsx; macros are never read or run.
10
+ */
11
+ import { A as SheetView, C as PatternFill, D as RichTextRun, E as RichText, F as BlobLike, I as BlobType, M as Theme, N as Workbook, O as RowProps, P as BinaryInput, S as NumFmt, T as PrintSetup, _ as ErrorCode, a as BorderSide, b as GradientFill, c as CellErrorValue, d as CellValue, f as Color, g as DocProperties, h as DefinedName, i as Border, j as Style, k as Sheet, l as CellInput, m as ColumnWidth, n as ExcelWarningCode, o as BorderStyle, p as ColumnProps, r as Alignment, s as Cell, t as ExcelWarning, u as CellType, v as Fill, w as PatternType, x as Hyperlink, y as Font } from "./warnings-DXJKe1lx.js";
12
+ import { t as AbortSignalLike } from "./signal-Dz0ZYe6d.js";
13
+ import { t as Progress } from "./write-CYpLGuzl.js";
14
+ import { a as ReadResult, c as read, i as ReadOptions, l as readSheetNames, n as DetectedFormat, o as SheetInfo, r as ReadLimits, s as detectFormat, t as DEFAULT_READ_LIMITS } from "./read-Ddkks7qC.js";
15
+ export { type AbortSignalLike, type Alignment, type BinaryInput, type BlobLike, type BlobType, type Border, type BorderSide, type BorderStyle, type Cell, type CellErrorValue, type CellInput, type CellType, type CellValue, type Color, type ColumnProps, type ColumnWidth, DEFAULT_READ_LIMITS, type DefinedName, DetectedFormat, type DocProperties, type ErrorCode, type ExcelWarning, type ExcelWarningCode, type Fill, type Font, type GradientFill, type Hyperlink, type NumFmt, type PatternFill, type PatternType, type PrintSetup, type Progress, ReadLimits, ReadOptions, ReadResult, type RichText, type RichTextRun, type RowProps, type Sheet, SheetInfo, type SheetView, type Style, type Theme, type Workbook, detectFormat, read, readSheetNames };
package/dist/read.js ADDED
@@ -0,0 +1 @@
1
+ export { t as DEFAULT_READ_LIMITS, n as detectFormat, r as read, i as readSheetNames } from "./read-DDN5ZsPe.js";