@sheetxl/sdk 0.6.17 → 0.6.18

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/{B8C0qJCXRmSK9w8i.cjs → B0zohbxoMFX_YyxY.cjs} +1 -1
  2. package/browser/cjs/BZT_rYid0KGk6sZI.cjs +54 -0
  3. package/browser/cjs/{Bt0KH5ry8A-H2XJc.cjs → BcL0Co5Do0G0Rj5q.cjs} +1 -1
  4. package/browser/cjs/{SDe43jbsWmUivkUh.cjs → BrglwewnyDRuLNWu.cjs} +1 -1
  5. package/browser/cjs/{C_7BUvmtSDknJjxh.cjs → C14oRLcJ8yOb9CWe.cjs} +1 -1
  6. package/browser/cjs/{QSfpWHpM3ExP8C31.cjs → CLBDa9p40Rz5OGjx.cjs} +1 -1
  7. package/browser/cjs/{MxGT1owu3LK7lzv4.cjs → CQieV6dfbzhE2w7T.cjs} +1 -1
  8. package/browser/cjs/{BiZu_UkuyEYl_49H.cjs → CQvAuEtmtwQxq-I1.cjs} +1 -1
  9. package/browser/cjs/{C2z-2oeFQXCC2sdF.cjs → CgdCEbzcF7rIXt8W.cjs} +1 -1
  10. package/browser/cjs/{DbJg_p3YrWqNiONk.cjs → Ckf0d3wir_sWEI3T.cjs} +1 -1
  11. package/browser/cjs/{DwpsSlAaY2T3Rh0z.cjs → D6_FJSzGbDbkYdyY.cjs} +1 -1
  12. package/browser/cjs/{BrPDVJeOA7eotIdQ.cjs → DNX1XrhRaOAey1_z.cjs} +1 -1
  13. package/browser/cjs/{PYxlwwf8LymgB6KF.cjs → DNusCtUnYhRhmQL0.cjs} +1 -1
  14. package/browser/cjs/{ByU95-ZXPn3w3tPi.cjs → DONdvNCr8LuMIIS7.cjs} +1 -1
  15. package/browser/cjs/{g44jkX22Kjpaujd8.cjs → DQl3xEXMQLpJnYPV.cjs} +1 -1
  16. package/browser/cjs/{Dudo2JNx8nSohuJ9.cjs → DRzdCOrAOTMPb1ss.cjs} +1 -1
  17. package/browser/cjs/{BynzHHQPUmhMyHYX.cjs → DogX-tehVlVU2SW9.cjs} +3 -3
  18. package/browser/cjs/{DSBHJBPea75XkjbG.cjs → DsmkViXfzL4G6X6W.cjs} +1 -1
  19. package/browser/cjs/{OlJ4WvknCU0tx9zr.cjs → FZmhteeUwe0eSNtL.cjs} +2 -2
  20. package/browser/cjs/{B0ZRkYe5vXS8AXl5.cjs → ReNBPGr_5_vvZUCh.cjs} +1 -1
  21. package/browser/cjs/{g-p1ZhI1XIJx-vvq.cjs → VfcBbuxKX8ZadDv9.cjs} +1 -1
  22. package/browser/cjs/{CNU-5-cLXkZdlc_I.cjs → XUcgaBiwOYwhUqws.cjs} +1 -1
  23. package/browser/cjs/{DS7I31gDrgGx-Kjc.cjs → euQrUNlCF6FVGuYC.cjs} +1 -1
  24. package/browser/cjs/index.cjs +2 -2
  25. package/browser/cjs/{DAVtwWgUmRbYKaUI.cjs → qqAOZx9mCg-TnSrl.cjs} +1 -1
  26. package/browser/cjs/{Ck6yfrJGBKcCAnfo.cjs → s2MQ3DsuTavQ9dN-.cjs} +2 -2
  27. package/browser/cjs/{vytrRYuoufF5SUFz.cjs → vcpWwpZjtrXPzI50.cjs} +1 -1
  28. package/browser/cjs/{BjkUWCp2ObvYeP19.cjs → xxCGv_gVXM4DTEoK.cjs} +1 -1
  29. package/browser/esm/{Dh0gG6If4az9wdA_.mjs → -DwlZg9-ZTkwvPlZ.mjs} +1 -1
  30. package/browser/esm/{vbJIfJnzIQ7BWeaz.mjs → B4RYxdPPBEHNCkI3.mjs} +1 -1
  31. package/{node/esm/Ls1ZSIs4_Dizy6M2.mjs → browser/esm/B5eOPZ5RRHL262ea.mjs} +1 -1
  32. package/browser/esm/{VABCB8JWd3GRuJSJ.mjs → B8lkad2rSCLUdG9n.mjs} +1 -1
  33. package/browser/esm/{xQmntmz9bIJQGGk5.mjs → BCOF7PqfsSRVZVul.mjs} +1 -1
  34. package/{node/esm/DKVh-BpPSxRKNBg0.mjs → browser/esm/BDNcayNfFPm-8zAk.mjs} +1 -1
  35. package/browser/esm/{D1kVfIYxJreinijW.mjs → BQ3vUttTMZM0L93K.mjs} +1 -1
  36. package/{node/esm/BbRFZyuCl2YcHE_O.mjs → browser/esm/BQlpN8RH7fYEKRtT.mjs} +1 -1
  37. package/browser/esm/{W2jVr33Yj6xCsoBI.mjs → BUAJHem9junUyoVX.mjs} +3 -3
  38. package/browser/esm/{BcSMUT4Sx-YNny4I.mjs → BUi_q1ySFjLbihcH.mjs} +1 -1
  39. package/browser/esm/{v18e8vKmxVrtktOm.mjs → BVKxfHTrt_Mr9LKV.mjs} +1 -1
  40. package/browser/esm/{CijgE8Xdf4U-p_n_.mjs → BXb3b0oo2bfzftCe.mjs} +1 -1
  41. package/{node/esm/Cjbrqj_RTTjDFoIZ.mjs → browser/esm/B_vPhfIkq3qtt3K4.mjs} +1 -1
  42. package/browser/esm/{D_RGE3EZfJC5ZZWR.mjs → BgeQl8RviunaaWGM.mjs} +2 -2
  43. package/browser/esm/{PC-0s4BlfmcUuM2n.mjs → BjVsHHeGEOCJ5hVk.mjs} +2 -2
  44. package/browser/esm/{DbfaEgmktGZoVmR9.mjs → Bl4x8NGhwNSCEvq9.mjs} +1 -1
  45. package/browser/esm/{Bj5dWxpiNTkchR1Y.mjs → Bo4HpDJSEwBn0sv4.mjs} +1 -1
  46. package/browser/esm/{DGvCi12sa7ZIIyrU.mjs → C0FiKljzxZosroIB.mjs} +1 -1
  47. package/browser/esm/{CF9WRmqFK1b5FwUY.mjs → CNxnsGNSSTehLI1r.mjs} +1 -1
  48. package/{node/esm/D3Dm6W1dzveetEon.mjs → browser/esm/Ccv_vRwixLeC7RdZ.mjs} +1 -1
  49. package/browser/esm/{BSkaqwyDqSBFahkS.mjs → CkGWLqyLTaWRjjk9.mjs} +1 -1
  50. package/browser/esm/{Bu-rq4yH8T1EwN2P.mjs → DHPwiZkatoCILg96.mjs} +1 -1
  51. package/browser/esm/{BCR-QupOzqFjIQ26.mjs → DHc-VtJT0L6s243f.mjs} +5409 -5412
  52. package/browser/esm/{CiDTEYF3f2Ays6hs.mjs → DXLxPBEhgfxqn6N4.mjs} +1 -1
  53. package/browser/esm/{1H4OcVpECNdo2leo.mjs → Dq8N-lIPRFwDnnUA.mjs} +1 -1
  54. package/{node/esm/Bo9TMq-qqBydQB-d.mjs → browser/esm/DqBNVvFKQxSMwMNs.mjs} +1 -1
  55. package/browser/esm/index.mjs +2 -2
  56. package/browser/esm/{sblqA0GEw7u_7uUc.mjs → lz0-1WdmlC0gLtak.mjs} +1 -1
  57. package/node/esm/{Dh0gG6If4az9wdA_.mjs → -DwlZg9-ZTkwvPlZ.mjs} +1 -1
  58. package/node/esm/{60NBbrQpc9hm9XDF.mjs → 2H0pff69AyPZGpAO.mjs} +1 -1
  59. package/node/esm/{B-VscQXhRPYYzMBg.mjs → B0VjzdpK5PQFtjEP.mjs} +1 -1
  60. package/{browser/esm/Ls1ZSIs4_Dizy6M2.mjs → node/esm/B5eOPZ5RRHL262ea.mjs} +1 -1
  61. package/node/esm/{VABCB8JWd3GRuJSJ.mjs → B8lkad2rSCLUdG9n.mjs} +1 -1
  62. package/{browser/esm/DKVh-BpPSxRKNBg0.mjs → node/esm/BDNcayNfFPm-8zAk.mjs} +1 -1
  63. package/node/esm/{D1kVfIYxJreinijW.mjs → BQ3vUttTMZM0L93K.mjs} +1 -1
  64. package/{browser/esm/BbRFZyuCl2YcHE_O.mjs → node/esm/BQlpN8RH7fYEKRtT.mjs} +1 -1
  65. package/node/esm/{CV4lgmXng9GwC7Jc.mjs → BSfu58pAZZDNQg3w.mjs} +2 -2
  66. package/node/esm/{BcSMUT4Sx-YNny4I.mjs → BUi_q1ySFjLbihcH.mjs} +1 -1
  67. package/node/esm/{v18e8vKmxVrtktOm.mjs → BVKxfHTrt_Mr9LKV.mjs} +1 -1
  68. package/{browser/esm/Cjbrqj_RTTjDFoIZ.mjs → node/esm/B_vPhfIkq3qtt3K4.mjs} +1 -1
  69. package/node/esm/{BpnjD3v17ME5wsuw.mjs → Bfex2e2cpTMCbUdz.mjs} +1 -1
  70. package/node/esm/{DbfaEgmktGZoVmR9.mjs → Bl4x8NGhwNSCEvq9.mjs} +1 -1
  71. package/node/esm/{Bj5dWxpiNTkchR1Y.mjs → Bo4HpDJSEwBn0sv4.mjs} +1 -1
  72. package/node/esm/{C4eGsdqRlRQklHCI.mjs → C7TE2FuzcKezSHTI.mjs} +1 -1
  73. package/node/esm/{Ch4EonmIhss9y_h3.mjs → CQpuLeCV2YlYuGV5.mjs} +1 -1
  74. package/{browser/esm/D3Dm6W1dzveetEon.mjs → node/esm/Ccv_vRwixLeC7RdZ.mjs} +1 -1
  75. package/node/esm/{DkQjw7yUaMjLtVhs.mjs → Ck8VpGt0yQVrOQNB.mjs} +1 -1
  76. package/node/esm/{BSkaqwyDqSBFahkS.mjs → CkGWLqyLTaWRjjk9.mjs} +1 -1
  77. package/node/esm/{Bu-rq4yH8T1EwN2P.mjs → DHPwiZkatoCILg96.mjs} +1 -1
  78. package/node/esm/{CduvvHyonYr0CJdM.mjs → DRMIiCGl6hiPlgJc.mjs} +1 -1
  79. package/{browser/esm/Bo9TMq-qqBydQB-d.mjs → node/esm/DqBNVvFKQxSMwMNs.mjs} +1 -1
  80. package/node/esm/{DrAv_iWPmonAJ9-3.mjs → L2939vUK7F6NFIof.mjs} +1 -1
  81. package/node/esm/index.mjs +3090 -3113
  82. package/node/esm/{sblqA0GEw7u_7uUc.mjs → lz0-1WdmlC0gLtak.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/types/index.d.ts +32 -4
  85. package/types/scripting.d.ts +33 -5
  86. package/browser/cjs/D_KL_f2CIY390LrK.cjs +0 -54
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.17
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.18
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.6.17",
4
+ "version": "0.6.18",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -31,9 +31,9 @@
31
31
  "automation"
32
32
  ],
33
33
  "dependencies": {
34
- "@sheetxl/primitives": "^0.6.17",
35
- "@sheetxl/scripting": "^0.6.17",
36
- "@sheetxl/utils": "^0.6.17",
34
+ "@sheetxl/primitives": "^0.6.18",
35
+ "@sheetxl/scripting": "^0.6.18",
36
+ "@sheetxl/utils": "^0.6.18",
37
37
  "bahttext": "^2.3.0",
38
38
  "bessel": "^1.0.2",
39
39
  "chalk": "^5.5.0",
package/types/index.d.ts CHANGED
@@ -2200,6 +2200,10 @@ export declare namespace IBorder {
2200
2200
  * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
2201
2201
  */
2202
2202
  export type Modifiers = Partial<IBorder.Properties>;
2203
+ /**
2204
+ * Options for updating a border.
2205
+ */
2206
+ export type Update = IBorder | Modifiers | string | null;
2203
2207
  /**
2204
2208
  * JSON representation of a border.
2205
2209
  */
@@ -8157,6 +8161,14 @@ export declare namespace IFill {
8157
8161
  */
8158
8162
  type: IFill.Type;
8159
8163
  }
8164
+ /**
8165
+ * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
8166
+ */
8167
+ export type Modifiers = Partial<IFill.Properties>;
8168
+ /**
8169
+ * Options for updating a fill.
8170
+ */
8171
+ export type Update = IFill | Modifiers | string | null;
8160
8172
  /**
8161
8173
  * A JSON representation useful for persistence.
8162
8174
  */
@@ -14047,7 +14059,7 @@ export declare interface IStyle {
14047
14059
  * @param options Optional configuration for the update.
14048
14060
  * @returns The `IBorder` object for further modifications.
14049
14061
  */
14050
- setBorder(border: IBorder | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
14062
+ setBorder(border: IBorder.Modifiers, options?: IStyle.UpdateOptions): IStyle;
14051
14063
  /**
14052
14064
  * Fill properties for the background.
14053
14065
  */
@@ -14061,7 +14073,7 @@ export declare interface IStyle {
14061
14073
  * @param options Optional configuration for the update.
14062
14074
  * @returns The `IFill` object for further modifications.
14063
14075
  */
14064
- setFill(fill: IFill | IProperties.ResolvableProperties<IFill.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
14076
+ setFill(fill: IFill.Update, options?: IStyle.UpdateOptions): IStyle;
14065
14077
  /**
14066
14078
  * Returns the alignment for the style.
14067
14079
  */
@@ -14075,7 +14087,7 @@ export declare interface IStyle {
14075
14087
  * @param options Optional configuration for the update.
14076
14088
  * @returns The `ITextFrame.IAlignment` object for further modifications.
14077
14089
  */
14078
- setAlignment(alignment: ITextFrame.IAlignment | IProperties.ResolvableProperties<ITextFrame.IAlignment.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
14090
+ setAlignment(alignment: ITextFrame.Update, options?: IStyle.UpdateOptions): IStyle;
14079
14091
  /**
14080
14092
  * Returns the font for the style.
14081
14093
  */
@@ -14089,7 +14101,7 @@ export declare interface IStyle {
14089
14101
  * @param options Optional configuration for the update.
14090
14102
  * @returns The `IStyledFont` object for further modifications.
14091
14103
  */
14092
- setFont(font: IStyledFont | IProperties.ResolvableProperties<IStyledFont.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
14104
+ setFont(font: IStyledFont.Update, options?: IStyle.UpdateOptions): IStyle;
14093
14105
  /**
14094
14106
  * Returns an instance of the named style that this is derived from.
14095
14107
  */
@@ -14910,6 +14922,14 @@ export declare namespace IStyledFont {
14910
14922
  outline?: boolean;
14911
14923
  extend?: boolean;
14912
14924
  }
14925
+ /**
14926
+ * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
14927
+ */
14928
+ export type Modifiers<C = IColor.Serializable> = Partial<IStyledFont.Properties<C>>;
14929
+ /**
14930
+ * Options for updating a font.
14931
+ */
14932
+ export type Update<C = IColor.Serializable> = IStyledFont | Modifiers<C> | string | null;
14913
14933
  export interface JSON extends Properties<string> {
14914
14934
  }
14915
14935
  }
@@ -15970,6 +15990,14 @@ export declare namespace ITextFrame {
15970
15990
  export type Properties = ITextBoxAlignment.Properties;
15971
15991
  export type JSON = ITextBoxAlignment.JSON;
15972
15992
  }
15993
+ /**
15994
+ * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
15995
+ */
15996
+ export type Modifiers = Partial<IAlignment.Properties>;
15997
+ /**
15998
+ * Options for updating an IAlignment.
15999
+ */
16000
+ export type Update = IAlignment | Modifiers | string | null;
15973
16001
  export type IAlignment = ITextBoxAlignment;
15974
16002
  /**
15975
16003
  * Represents a tab stop within a text frame or paragraph.
@@ -3142,6 +3142,14 @@ declare module "fill/IFill" {
3142
3142
  */
3143
3143
  type: IFill.Type;
3144
3144
  }
3145
+ /**
3146
+ * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
3147
+ */
3148
+ type Modifiers = Partial<IFill.Properties>;
3149
+ /**
3150
+ * Options for updating a fill.
3151
+ */
3152
+ type Update = IFill | Modifiers | string | null;
3145
3153
  /**
3146
3154
  * A JSON representation useful for persistence.
3147
3155
  */
@@ -3843,6 +3851,14 @@ declare module "text/ITextFrame" {
3843
3851
  type Properties = _IAlignment.Properties;
3844
3852
  type JSON = _IAlignment.JSON;
3845
3853
  }
3854
+ /**
3855
+ * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
3856
+ */
3857
+ type Modifiers = Partial<IAlignment.Properties>;
3858
+ /**
3859
+ * Options for updating an IAlignment.
3860
+ */
3861
+ type Update = IAlignment | Modifiers | string | null;
3846
3862
  type IAlignment = _IAlignment;
3847
3863
  /**
3848
3864
  * Represents a tab stop within a text frame or paragraph.
@@ -4814,6 +4830,14 @@ declare module "text/richtext/IStyledFont" {
4814
4830
  outline?: boolean;
4815
4831
  extend?: boolean;
4816
4832
  }
4833
+ /**
4834
+ * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
4835
+ */
4836
+ type Modifiers<C = IColor.Serializable> = Partial<IStyledFont.Properties<C>>;
4837
+ /**
4838
+ * Options for updating a font.
4839
+ */
4840
+ type Update<C = IColor.Serializable> = IStyledFont | Modifiers<C> | string | null;
4817
4841
  interface JSON extends Properties<string> {
4818
4842
  }
4819
4843
  }
@@ -5101,6 +5125,10 @@ declare module "border/IBorder" {
5101
5125
  * Modifiers describe a partial list of properties that can be set with values or shorthand strings.
5102
5126
  */
5103
5127
  type Modifiers = Partial<IBorder.Properties>;
5128
+ /**
5129
+ * Options for updating a border.
5130
+ */
5131
+ type Update = IBorder | Modifiers | string | null;
5104
5132
  /**
5105
5133
  * JSON representation of a border.
5106
5134
  */
@@ -7265,7 +7293,7 @@ declare module "style/IStyle" {
7265
7293
  * @param options Optional configuration for the update.
7266
7294
  * @returns The `IBorder` object for further modifications.
7267
7295
  */
7268
- setBorder(border: IBorder | IProperties.ResolvableProperties<IBorder.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
7296
+ setBorder(border: IBorder.Modifiers, options?: IStyle.UpdateOptions): IStyle;
7269
7297
  /**
7270
7298
  * Fill properties for the background.
7271
7299
  */
@@ -7279,7 +7307,7 @@ declare module "style/IStyle" {
7279
7307
  * @param options Optional configuration for the update.
7280
7308
  * @returns The `IFill` object for further modifications.
7281
7309
  */
7282
- setFill(fill: IFill | IProperties.ResolvableProperties<IFill.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
7310
+ setFill(fill: IFill.Update, options?: IStyle.UpdateOptions): IStyle;
7283
7311
  /**
7284
7312
  * Returns the alignment for the style.
7285
7313
  */
@@ -7293,7 +7321,7 @@ declare module "style/IStyle" {
7293
7321
  * @param options Optional configuration for the update.
7294
7322
  * @returns The `ITextFrame.IAlignment` object for further modifications.
7295
7323
  */
7296
- setAlignment(alignment: ITextFrame.IAlignment | IProperties.ResolvableProperties<ITextFrame.IAlignment.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
7324
+ setAlignment(alignment: ITextFrame.Update, options?: IStyle.UpdateOptions): IStyle;
7297
7325
  /**
7298
7326
  * Returns the font for the style.
7299
7327
  */
@@ -7307,7 +7335,7 @@ declare module "style/IStyle" {
7307
7335
  * @param options Optional configuration for the update.
7308
7336
  * @returns The `IStyledFont` object for further modifications.
7309
7337
  */
7310
- setFont(font: IStyledFont | IProperties.ResolvableProperties<IStyledFont.Properties> | string | null, options?: IStyle.UpdateOptions): IStyle;
7338
+ setFont(font: IStyledFont.Update, options?: IStyle.UpdateOptions): IStyle;
7311
7339
  /**
7312
7340
  * Returns an instance of the named style that this is derived from.
7313
7341
  */
@@ -20570,7 +20598,7 @@ declare module "sheet/style/SheetCellStyle" {
20570
20598
  /** {@inheritDoc IStyle.getNumberFormat} */
20571
20599
  getNumberFormat(): string;
20572
20600
  /** {@inheritDoc IStyle.setNumberFormat} */
20573
- setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions): this;
20601
+ setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions): IStyle;
20574
20602
  /** {@inheritDoc IStyle.getQuotePrefix} */
20575
20603
  getQuotePrefix(): boolean;
20576
20604
  /** {@inheritDoc IStyle.setQuotePrefix} */