@sheetxl/sdk 0.7.13 → 0.7.14

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 (86) hide show
  1. package/browser/cjs/{CWcLBz5wacAKZ65z.cjs → -fzmLbmKCBzK9oRZ.cjs} +1 -1
  2. package/browser/cjs/{N8D-AiKZvmSpJoyk.cjs → 0lUbfhtrd_wufhL3.cjs} +1 -1
  3. package/browser/cjs/{D0rqCTa18JiwtkFg.cjs → B07Y1ERwDVHXTEuI.cjs} +1 -1
  4. package/browser/cjs/{CY7qa68VhzxfCks0.cjs → B1KDlf4Fbft4tjjj.cjs} +1 -1
  5. package/browser/cjs/{Djw2mPk9DA_xDR48.cjs → BPlMwBvlv1U2gJLp.cjs} +2 -2
  6. package/browser/cjs/{CDWlJ97tWSqdWRrC.cjs → BRR-eS8_1BbDQfVT.cjs} +1 -1
  7. package/browser/cjs/{BRkze9nkXD-OqXPT.cjs → BSjBjEqcjdqeygtj.cjs} +1 -1
  8. package/browser/cjs/{D9ALzAAPbqKp0qG4.cjs → BWPBBRKOt1TnEQW2.cjs} +1 -1
  9. package/browser/cjs/{C9AVwqTuY33VzH4e.cjs → BihhzXuYuVZlH947.cjs} +3 -3
  10. package/browser/cjs/{DrE0C6ruqS4-YkDG.cjs → C9EhsP1LNyShLPae.cjs} +1 -1
  11. package/browser/cjs/{DBL1LvXwFpR7MLsM.cjs → CBZAbsOH-qLoLVYi.cjs} +1 -1
  12. package/browser/cjs/{NwQUH5RlCwVclTou.cjs → CMA0dCN-jx8mUVpC.cjs} +1 -1
  13. package/browser/cjs/{FmMGqD2eGNSxs_tp.cjs → CMcvl1Zwdr7xqxk-.cjs} +1 -1
  14. package/browser/cjs/{DgKonEP5su-An4tv.cjs → CPSnUEg6iB67D_fE.cjs} +1 -1
  15. package/browser/cjs/{BibVdFisqTXEG0Y9.cjs → CaBb29bMjYq4FPC4.cjs} +1 -1
  16. package/browser/cjs/{84Qf-nDnKiLQ7HBc.cjs → CfhCVN63umYqcdux.cjs} +1 -1
  17. package/browser/cjs/{CgnB_AUJ9_aLjrjf.cjs → CflowdD2ofBImyxf.cjs} +1 -1
  18. package/browser/cjs/{CKFAjAwy-5z8a99W.cjs → Cjw_osDdQOhlKISB.cjs} +1 -1
  19. package/browser/cjs/{DYOYeMed2UXw1HaH.cjs → D8hRvoPQOnDRVPAe.cjs} +1 -1
  20. package/browser/cjs/{B7jslq9oFR6njKnW.cjs → DJJI0nPForZ7Fyw8.cjs} +1 -1
  21. package/browser/cjs/{CFvba6QKlCV7_Kvg.cjs → DPnnTvpwZeCYEQjl.cjs} +1 -1
  22. package/browser/cjs/{BWZocbfJ9j-b4EWY.cjs → DkAdWdbvFE7n1Hcq.cjs} +1 -1
  23. package/browser/cjs/{BuldQ3tfFYodOk9H.cjs → DkV8Vz21n9mOoxZg.cjs} +1 -1
  24. package/browser/cjs/{CbHx0iP74qQiiFGA.cjs → IHhWVKf3y4GPDEsu.cjs} +2 -2
  25. package/browser/cjs/{m-BThCiOY0U2UHKz.cjs → LysRTzmqVW8lE0wn.cjs} +1 -1
  26. package/browser/cjs/QK4uMmDx2ivy6yLv.cjs +55 -0
  27. package/browser/cjs/{CXsCIuAjTadPMZ2k.cjs → b5Qta6o-hfdLsZ2C.cjs} +1 -1
  28. package/browser/cjs/index.cjs +2 -2
  29. package/browser/esm/{DPGNTew-J9BDfx7H.mjs → 5UT-S_8enFmksHUV.mjs} +1 -1
  30. package/{node/esm/Cz5dfo_pXqz_RSCW.mjs → browser/esm/7VJFgeFQVJmSYXYk.mjs} +1 -1
  31. package/browser/esm/{B8TYkzlDKU9Ggkas.mjs → BGxFMxgIc6_Du8sb.mjs} +1 -1
  32. package/browser/esm/{DrgyAIoXbBJ7XEJz.mjs → BY5jOMg7oXwIKByq.mjs} +1 -1
  33. package/{node/esm/JBuDAROw1IhzpBDK.mjs → browser/esm/Bb0n7WwiIdOtgnRw.mjs} +1 -1
  34. package/browser/esm/{BelRhaFYXfqn3xBt.mjs → BdsrnU901jI-wd-4.mjs} +1 -1
  35. package/browser/esm/{BUh4gZOH8Uxd-hWh.mjs → BmsSmazArGNZbNeZ.mjs} +5322 -5303
  36. package/browser/esm/{B0zJo_YhAJZgLFb2.mjs → C-dC3AjFyCjRGGOv.mjs} +1 -1
  37. package/browser/esm/{C-rY9IQnclqMvLhW.mjs → C7vIejJBnmBAEaEW.mjs} +1 -1
  38. package/{node/esm/DVs7wiZMt1NvmibL.mjs → browser/esm/CGD1FZtnkDQ0SSBz.mjs} +1 -1
  39. package/{node/esm/B1mQhILY_Ee8mZj6.mjs → browser/esm/CgPPHJJUMVCN32D6.mjs} +1 -1
  40. package/browser/esm/{B6s60UZeDi9sgRHT.mjs → DHNBXeBjLI3QVhcQ.mjs} +1 -1
  41. package/browser/esm/{czwXw8arBOM78nIR.mjs → DJ-ZyaCf_y5KqImf.mjs} +1 -1
  42. package/{node/esm/Byme5OT9_LV09DwE.mjs → browser/esm/DJjQwq79V0wl9qhG.mjs} +1 -1
  43. package/browser/esm/{D2aynnS_ZvhUymlW.mjs → DLLkKYL-X-v73Z0R.mjs} +2 -2
  44. package/{node/esm/BqrAMV-sxGrw_IGy.mjs → browser/esm/DMASuJhDm2I6PXCN.mjs} +1 -1
  45. package/browser/esm/{D5SlMU39knV0sfaE.mjs → DSD5aS6kewydAsCA.mjs} +1 -1
  46. package/browser/esm/{DmzWhWp1sSLTOJmk.mjs → DbcMNEUrgozG6pB0.mjs} +1 -1
  47. package/browser/esm/{BXMGu5NmEgJKrpDn.mjs → DyG4EtOyTUl5wrhc.mjs} +2 -2
  48. package/{node/esm/CZzcgxj1VfTcHOLD.mjs → browser/esm/G5zHU3-mFg8u8npr.mjs} +1 -1
  49. package/browser/esm/{DECRnCXvKcFm5UW_.mjs → ItKDnjJiNUadHt-H.mjs} +3 -3
  50. package/browser/esm/{SAWt7fxsw4YrVlsO.mjs → PjxOQ4QiwWz0c6Ph.mjs} +1 -1
  51. package/browser/esm/index.mjs +53 -51
  52. package/{node/esm/CsjFegG9ZsVPWgLy.mjs → browser/esm/myjs_Lwk8vlrSFNh.mjs} +1 -1
  53. package/{node/esm/obyONN_ql1eCkYqn.mjs → browser/esm/tO5paHU0QdSdv1Jc.mjs} +1 -1
  54. package/browser/esm/{C3UqdgBtXrjr9U7B.mjs → vLCpNb3EvVHobA40.mjs} +1 -1
  55. package/{node/esm/BTrXUcjikfiXBuQs.mjs → browser/esm/zY-nSDUmnavhQata.mjs} +1 -1
  56. package/{node/esm/DdFgB4nRiWb-x8MU.mjs → browser/esm/zeLLXOAGHLwXQiRi.mjs} +1 -1
  57. package/node/esm/{DvtObSijnfKp4hVX.mjs → 0iGTcd9ooWNCeX4c.mjs} +1 -1
  58. package/{browser/esm/Cz5dfo_pXqz_RSCW.mjs → node/esm/7VJFgeFQVJmSYXYk.mjs} +1 -1
  59. package/node/esm/{YEoEG9HlehI4GxoO.mjs → 9tEJsH5MtfgJF2X4.mjs} +1 -1
  60. package/node/esm/{BSchhHzd9LhOSQyh.mjs → BNhLhktE2XilaoxK.mjs} +2 -2
  61. package/node/esm/{DGPSmLySgorgnRpF.mjs → BPBgVCP0v-ej5g24.mjs} +1 -1
  62. package/node/esm/{DrgyAIoXbBJ7XEJz.mjs → BY5jOMg7oXwIKByq.mjs} +1 -1
  63. package/{browser/esm/JBuDAROw1IhzpBDK.mjs → node/esm/Bb0n7WwiIdOtgnRw.mjs} +1 -1
  64. package/node/esm/{B0zJo_YhAJZgLFb2.mjs → C-dC3AjFyCjRGGOv.mjs} +1 -1
  65. package/node/esm/{DpSNP5QMfZvpJ_wv.mjs → C0uCmd6tFf75Wgtv.mjs} +1 -1
  66. package/node/esm/{D76Ug5nx4id19sWo.mjs → C1CvI8x7vaaCFzua.mjs} +1 -1
  67. package/node/esm/{C-rY9IQnclqMvLhW.mjs → C7vIejJBnmBAEaEW.mjs} +1 -1
  68. package/{browser/esm/DVs7wiZMt1NvmibL.mjs → node/esm/CGD1FZtnkDQ0SSBz.mjs} +1 -1
  69. package/node/esm/{jQQyFKgcBYKkYy5u.mjs → CaTmPKI90a8j_ksw.mjs} +1 -1
  70. package/{browser/esm/B1mQhILY_Ee8mZj6.mjs → node/esm/CgPPHJJUMVCN32D6.mjs} +1 -1
  71. package/{browser/esm/Byme5OT9_LV09DwE.mjs → node/esm/DJjQwq79V0wl9qhG.mjs} +1 -1
  72. package/{browser/esm/BqrAMV-sxGrw_IGy.mjs → node/esm/DMASuJhDm2I6PXCN.mjs} +1 -1
  73. package/node/esm/{D5SlMU39knV0sfaE.mjs → DSD5aS6kewydAsCA.mjs} +1 -1
  74. package/node/esm/{DBCmVfDXH2Gjy1gb.mjs → DeRbIp5DJRZ2hJCs.mjs} +1 -1
  75. package/{browser/esm/CZzcgxj1VfTcHOLD.mjs → node/esm/G5zHU3-mFg8u8npr.mjs} +1 -1
  76. package/node/esm/{SAWt7fxsw4YrVlsO.mjs → PjxOQ4QiwWz0c6Ph.mjs} +1 -1
  77. package/node/esm/index.mjs +3135 -3122
  78. package/{browser/esm/CsjFegG9ZsVPWgLy.mjs → node/esm/myjs_Lwk8vlrSFNh.mjs} +1 -1
  79. package/{browser/esm/obyONN_ql1eCkYqn.mjs → node/esm/tO5paHU0QdSdv1Jc.mjs} +1 -1
  80. package/node/esm/{ne4Ow4B53KelbGbA.mjs → yS3knP21QkdRIsvW.mjs} +1 -1
  81. package/{browser/esm/BTrXUcjikfiXBuQs.mjs → node/esm/zY-nSDUmnavhQata.mjs} +1 -1
  82. package/{browser/esm/DdFgB4nRiWb-x8MU.mjs → node/esm/zeLLXOAGHLwXQiRi.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/types/index.d.ts +32 -1
  85. package/types/scripting.d.ts +12 -1
  86. package/browser/cjs/rCv0GyYPZv7sdNXw.cjs +0 -55
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.13
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.14
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.13
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.14
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.13
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.14
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.13
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.14
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.13
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.14
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/sdk",
3
3
  "description": "SDK - A high-performance, embeddable spreadsheet engine.",
4
- "version": "0.7.13",
4
+ "version": "0.7.14",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -43,9 +43,9 @@
43
43
  "automation"
44
44
  ],
45
45
  "dependencies": {
46
- "@sheetxl/primitives": "^0.7.13",
47
- "@sheetxl/scripting": "^0.7.13",
48
- "@sheetxl/utils": "^0.7.13",
46
+ "@sheetxl/primitives": "^0.7.14",
47
+ "@sheetxl/scripting": "^0.7.14",
48
+ "@sheetxl/utils": "^0.7.14",
49
49
  "bahttext": "^2.3.0",
50
50
  "bessel": "^1.0.2",
51
51
  "chalk": "^5.6.2",
package/types/index.d.ts CHANGED
@@ -1042,10 +1042,21 @@ declare const DateUnit: {
1042
1042
 
1043
1043
  declare type DateUnit = typeof DateUnit[keyof typeof DateUnit];
1044
1044
 
1045
+ export declare namespace DateUtils {
1046
+ export {
1047
+ nowWithPrecision
1048
+ }
1049
+ }
1050
+
1045
1051
  declare const deepCull: (value: any, _min: number, _max: number) => boolean;
1046
1052
 
1047
1053
  declare const deepUpdate: (prevValue: any | null, newValue: any | null) => any | null;
1048
1054
 
1055
+ /**
1056
+ * A list of font sizes for showing in drop downs.
1057
+ */
1058
+ declare const DefaultFontSizes: readonly number[];
1059
+
1049
1060
  declare class DefaultProtection<T, P extends IProtection.Properties, J extends IProtection.JSON> implements IProtection<T, P, J> {
1050
1061
  protected _emitter: ListenerEmitter<this, IProtection.IListeners>;
1051
1062
  protected _isPaused: boolean;
@@ -1174,6 +1185,11 @@ declare const findIntersectMath: (p1: Point, p2: Point, min: number, max: number
1174
1185
  max: number;
1175
1186
  };
1176
1187
 
1188
+ /**
1189
+ * Searches an array of numbers for the next value.
1190
+ */
1191
+ declare const findNextFontSize: (size: number, increase?: boolean, steps?: readonly number[]) => number;
1192
+
1177
1193
  /**
1178
1194
  * Looks for a run going in a certain direction. If there isn't a run for this it will look for the next
1179
1195
  * run. If you only want the run if it is found then use {@link findRun}.
@@ -1227,6 +1243,13 @@ declare interface FontHandle {
1227
1243
  loaded: boolean;
1228
1244
  }
1229
1245
 
1246
+ export declare namespace FontUtils {
1247
+ export {
1248
+ DefaultFontSizes,
1249
+ findNextFontSize
1250
+ }
1251
+ }
1252
+
1230
1253
  declare class FormulaBlockEntry implements ISpatialMap.IUpdatableEntry<FormulaBlockEntry> {
1231
1254
  ref: IRange.Coords;
1232
1255
  formula: ICalcGraph.IFormulaBlock;
@@ -4288,7 +4311,7 @@ export declare namespace ICellHeaderRange {
4288
4311
  /**
4289
4312
  * An `ICellHeaderRanges` is a collection of {@link ICellHeaderRange}s.
4290
4313
  *
4291
- * Useful when working with a discontinuous set of ranges.
4314
+ * Useful when working with a discontinuous set of headers.
4292
4315
  */
4293
4316
  export declare interface ICellHeaderRanges {
4294
4317
  /**
@@ -18092,6 +18115,14 @@ declare interface NotifyOptions<T = any> {
18092
18115
  transactional?: boolean;
18093
18116
  }
18094
18117
 
18118
+ /**
18119
+ * Returns Date.now() rounded to a nearest time.
18120
+ *
18121
+ * @param precision The precision of time. Set to 1 if exact.
18122
+ * @defaultValue The nearest minute.
18123
+ */
18124
+ declare const nowWithPrecision: (precision?: number) => Date;
18125
+
18095
18126
  /**
18096
18127
  * Capabilities for defining and applying number formats to cells.
18097
18128
  *
@@ -4628,10 +4628,21 @@ declare module "font/IFontCollection" {
4628
4628
  */
4629
4629
  export const findBestMatch: (fontName: string, options?: FindBestMatchOptions) => FontHandle;
4630
4630
  }
4631
+ declare module "font/FontUtils" {
4632
+ /**
4633
+ * A list of font sizes for showing in drop downs.
4634
+ */
4635
+ export const DefaultFontSizes: readonly number[];
4636
+ /**
4637
+ * Searches an array of numbers for the next value.
4638
+ */
4639
+ export const findNextFontSize: (size: number, increase?: boolean, steps?: readonly number[]) => number;
4640
+ }
4631
4641
  declare module "font/index" {
4632
4642
  export * as IFontCollection from "font/IFontCollection";
4633
4643
  export * from "font/IFont";
4634
4644
  export * from "font/Font";
4645
+ export * as FontUtils from "font/FontUtils";
4635
4646
  }
4636
4647
  declare module "text/richtext/IStyledFont" {
4637
4648
  import { Properties as CSSProperties } from 'csstype';
@@ -32073,7 +32084,7 @@ declare module "cellRange/ICellHeaderRanges" {
32073
32084
  /**
32074
32085
  * An `ICellHeaderRanges` is a collection of {@link ICellHeaderRange}s.
32075
32086
  *
32076
- * Useful when working with a discontinuous set of ranges.
32087
+ * Useful when working with a discontinuous set of headers.
32077
32088
  */
32078
32089
  export interface ICellHeaderRanges {
32079
32090
  /**