@sheetxl/sdk 0.6.17 → 0.6.19
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/browser/cjs/{SDe43jbsWmUivkUh.cjs → B2TvFOBQI6T9tLdl.cjs} +1 -1
- package/browser/cjs/{g-p1ZhI1XIJx-vvq.cjs → B2iWYefJIM-ljJT7.cjs} +1 -1
- package/browser/cjs/{OlJ4WvknCU0tx9zr.cjs → BF2d4AT-8wC4o-bd.cjs} +2 -2
- package/browser/cjs/{Dudo2JNx8nSohuJ9.cjs → BH4dg2gmB8oqTsOx.cjs} +1 -1
- package/browser/cjs/{DAVtwWgUmRbYKaUI.cjs → BNKG49ksGHesGgun.cjs} +1 -1
- package/browser/cjs/{ByU95-ZXPn3w3tPi.cjs → BcBkNNZV_EjdyUd0.cjs} +1 -1
- package/browser/cjs/{vytrRYuoufF5SUFz.cjs → Brt1Qu7ve1aGQx6E.cjs} +1 -1
- package/browser/cjs/{C2z-2oeFQXCC2sdF.cjs → BsNHmPq15Y18d0RS.cjs} +1 -1
- package/browser/cjs/{g44jkX22Kjpaujd8.cjs → Bt1ddAjROFhxZRJS.cjs} +1 -1
- package/browser/cjs/{B8C0qJCXRmSK9w8i.cjs → CLELPc8mqn0NMEE9.cjs} +1 -1
- package/browser/cjs/{CNU-5-cLXkZdlc_I.cjs → CMez-Q0Fl_LdzGS5.cjs} +1 -1
- package/browser/cjs/{B0ZRkYe5vXS8AXl5.cjs → CPROWXJ7-Vzn3Sfn.cjs} +1 -1
- package/browser/cjs/{DS7I31gDrgGx-Kjc.cjs → Cjx3UtDpKKsZLfwU.cjs} +1 -1
- package/browser/cjs/{DwpsSlAaY2T3Rh0z.cjs → CqNMA0sKeFRmQ2Eh.cjs} +1 -1
- package/browser/cjs/{BynzHHQPUmhMyHYX.cjs → D2AM2GNT5nmryV8o.cjs} +3 -3
- package/browser/cjs/{Bt0KH5ry8A-H2XJc.cjs → D3wvl1Jt_Db2XuUu.cjs} +1 -1
- package/browser/cjs/{DbJg_p3YrWqNiONk.cjs → DUwY-SZSA-W33lwq.cjs} +1 -1
- package/browser/cjs/{QSfpWHpM3ExP8C31.cjs → DW_5WNX_b9CQh-Tg.cjs} +1 -1
- package/browser/cjs/{BjkUWCp2ObvYeP19.cjs → DZVCGZuIHKn--Olt.cjs} +1 -1
- package/browser/cjs/{PYxlwwf8LymgB6KF.cjs → Dm0H2roIEtmOOCde.cjs} +1 -1
- package/browser/cjs/DuOul6ocUy7X2XMm.cjs +54 -0
- package/browser/cjs/{Ck6yfrJGBKcCAnfo.cjs → DxUo5NgFA9Si-djI.cjs} +2 -2
- package/browser/cjs/{BrPDVJeOA7eotIdQ.cjs → QpFiQ0Vkb0hdVd6F.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{C_7BUvmtSDknJjxh.cjs → pCUVkGWuaJ-Fh1Sk.cjs} +1 -1
- package/browser/cjs/{MxGT1owu3LK7lzv4.cjs → tZ0zSXssfQb9NLB5.cjs} +1 -1
- package/browser/cjs/{DSBHJBPea75XkjbG.cjs → v9jptQ8YF5aYiSJW.cjs} +1 -1
- package/browser/cjs/{BiZu_UkuyEYl_49H.cjs → vkOpQTOL5enTWZbk.cjs} +1 -1
- package/{node/esm/DKVh-BpPSxRKNBg0.mjs → browser/esm/8cb_SvXseU1_3JEJ.mjs} +1 -1
- package/browser/esm/{D1kVfIYxJreinijW.mjs → B-hePdrUIvce5Afq.mjs} +1 -1
- package/browser/esm/{Dh0gG6If4az9wdA_.mjs → BEFnMNGlwKl-YIiP.mjs} +1 -1
- package/browser/esm/{DGvCi12sa7ZIIyrU.mjs → BSgF2mfKgB_KN3u_.mjs} +1 -1
- package/browser/esm/{D_RGE3EZfJC5ZZWR.mjs → BaH_dWF6RON0Ks5Q.mjs} +2 -2
- package/browser/esm/{xQmntmz9bIJQGGk5.mjs → Bg2jEBgucoRjg6NJ.mjs} +1 -1
- package/{node/esm/Cjbrqj_RTTjDFoIZ.mjs → browser/esm/BkOPvQxEjpcoCCwZ.mjs} +1 -1
- package/{node/esm/BbRFZyuCl2YcHE_O.mjs → browser/esm/C3_W7w2B3I_H-_2M.mjs} +1 -1
- package/browser/esm/{BcSMUT4Sx-YNny4I.mjs → C9WHn2CJSsdQlIko.mjs} +1 -1
- package/browser/esm/{v18e8vKmxVrtktOm.mjs → CF0OiNcWgfLgjof_.mjs} +1 -1
- package/browser/esm/{vbJIfJnzIQ7BWeaz.mjs → CJ8LhKbXvgTrTahT.mjs} +1 -1
- package/browser/esm/{Bj5dWxpiNTkchR1Y.mjs → CJkei1edw7hp_s9K.mjs} +1 -1
- package/browser/esm/{DbfaEgmktGZoVmR9.mjs → CsS2CAW3agbooMav.mjs} +1 -1
- package/browser/esm/{BCR-QupOzqFjIQ26.mjs → Ct-rS3MAxgjTsXsF.mjs} +5110 -5108
- package/browser/esm/{PC-0s4BlfmcUuM2n.mjs → D84oDwMsdQ_bB2af.mjs} +2 -2
- package/{node/esm/Bo9TMq-qqBydQB-d.mjs → browser/esm/DNoNAnp_rl_NdD23.mjs} +1 -1
- package/browser/esm/{sblqA0GEw7u_7uUc.mjs → DUKkVJORU61xxXI0.mjs} +1 -1
- package/browser/esm/{W2jVr33Yj6xCsoBI.mjs → DV7-4_-IS4EsPwJm.mjs} +3 -3
- package/browser/esm/{Bu-rq4yH8T1EwN2P.mjs → DYTm7pS8tXblZ9Px.mjs} +1 -1
- package/browser/esm/{CiDTEYF3f2Ays6hs.mjs → DjSI-5dgg1AkFmRQ.mjs} +1 -1
- package/browser/esm/{1H4OcVpECNdo2leo.mjs → Ds5GHQzEDJku499M.mjs} +1 -1
- package/browser/esm/{CF9WRmqFK1b5FwUY.mjs → DsmE784G2MKC2REI.mjs} +1 -1
- package/browser/esm/{CijgE8Xdf4U-p_n_.mjs → GgIszM2-0b6Y9TRR.mjs} +1 -1
- package/{node/esm/D3Dm6W1dzveetEon.mjs → browser/esm/Kzs5BIcFoiT86KC6.mjs} +1 -1
- package/{node/esm/Ls1ZSIs4_Dizy6M2.mjs → browser/esm/UJOf4aE3NfMEUpQv.mjs} +1 -1
- package/browser/esm/{VABCB8JWd3GRuJSJ.mjs → VPHBrGxnk0qHmeNP.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{BSkaqwyDqSBFahkS.mjs → zm4iD0p6YdIsQOZx.mjs} +1 -1
- package/node/esm/{DrAv_iWPmonAJ9-3.mjs → 5WQcSozNVbwlCV5N.mjs} +1 -1
- package/{browser/esm/DKVh-BpPSxRKNBg0.mjs → node/esm/8cb_SvXseU1_3JEJ.mjs} +1 -1
- package/node/esm/{D1kVfIYxJreinijW.mjs → B-hePdrUIvce5Afq.mjs} +1 -1
- package/node/esm/{Dh0gG6If4az9wdA_.mjs → BEFnMNGlwKl-YIiP.mjs} +1 -1
- package/node/esm/{C4eGsdqRlRQklHCI.mjs → BWdeYoMSneJZAsOO.mjs} +1 -1
- package/{browser/esm/Cjbrqj_RTTjDFoIZ.mjs → node/esm/BkOPvQxEjpcoCCwZ.mjs} +1 -1
- package/node/esm/{DkQjw7yUaMjLtVhs.mjs → BwbuTPf4DW30takd.mjs} +1 -1
- package/node/esm/{CV4lgmXng9GwC7Jc.mjs → C0uAe0nZkGOU2HsH.mjs} +2 -2
- package/{browser/esm/BbRFZyuCl2YcHE_O.mjs → node/esm/C3_W7w2B3I_H-_2M.mjs} +1 -1
- package/node/esm/{BcSMUT4Sx-YNny4I.mjs → C9WHn2CJSsdQlIko.mjs} +1 -1
- package/node/esm/{v18e8vKmxVrtktOm.mjs → CF0OiNcWgfLgjof_.mjs} +1 -1
- package/node/esm/{BpnjD3v17ME5wsuw.mjs → CJbCQvV-BcwJW3UX.mjs} +1 -1
- package/node/esm/{Bj5dWxpiNTkchR1Y.mjs → CJkei1edw7hp_s9K.mjs} +1 -1
- package/node/esm/{Ch4EonmIhss9y_h3.mjs → CSaexTW3s3AXopFP.mjs} +1 -1
- package/node/esm/{DbfaEgmktGZoVmR9.mjs → CsS2CAW3agbooMav.mjs} +1 -1
- package/{browser/esm/Bo9TMq-qqBydQB-d.mjs → node/esm/DNoNAnp_rl_NdD23.mjs} +1 -1
- package/node/esm/{sblqA0GEw7u_7uUc.mjs → DUKkVJORU61xxXI0.mjs} +1 -1
- package/node/esm/{Bu-rq4yH8T1EwN2P.mjs → DYTm7pS8tXblZ9Px.mjs} +1 -1
- package/node/esm/{60NBbrQpc9hm9XDF.mjs → DuHiX01S79dOmmsy.mjs} +1 -1
- package/node/esm/{CduvvHyonYr0CJdM.mjs → DuRBG5ttXEdHC_ll.mjs} +1 -1
- package/node/esm/{B-VscQXhRPYYzMBg.mjs → DuhJO8-AA9pqgggQ.mjs} +1 -1
- package/{browser/esm/D3Dm6W1dzveetEon.mjs → node/esm/Kzs5BIcFoiT86KC6.mjs} +1 -1
- package/{browser/esm/Ls1ZSIs4_Dizy6M2.mjs → node/esm/UJOf4aE3NfMEUpQv.mjs} +1 -1
- package/node/esm/{VABCB8JWd3GRuJSJ.mjs → VPHBrGxnk0qHmeNP.mjs} +1 -1
- package/node/esm/index.mjs +491 -505
- package/node/esm/{BSkaqwyDqSBFahkS.mjs → zm4iD0p6YdIsQOZx.mjs} +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +41 -5
- package/types/scripting.d.ts +46 -10
- 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.
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.19
|
|
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.
|
|
4
|
+
"version": "0.6.19",
|
|
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.
|
|
35
|
-
"@sheetxl/scripting": "^0.6.
|
|
36
|
-
"@sheetxl/utils": "^0.6.
|
|
34
|
+
"@sheetxl/primitives": "^0.6.19",
|
|
35
|
+
"@sheetxl/scripting": "^0.6.19",
|
|
36
|
+
"@sheetxl/utils": "^0.6.19",
|
|
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
|
|
14062
|
+
setBorder(border: IBorder.Update, 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
|
|
14076
|
+
setFill(fill: IFill.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
14065
14077
|
/**
|
|
14066
14078
|
* Returns the alignment for the style.
|
|
14067
14079
|
*/
|
|
@@ -14069,13 +14081,13 @@ export declare interface IStyle {
|
|
|
14069
14081
|
/**
|
|
14070
14082
|
* Sets the alignment style.
|
|
14071
14083
|
*
|
|
14072
|
-
* This method allows updating alignments using an {@link ITextFrame.IAlignment} or a shorthand property object.
|
|
14084
|
+
* This method allows updating alignments using an {@link ITextFrame.IAlignment.Update} or a shorthand property object.
|
|
14073
14085
|
*
|
|
14074
14086
|
* @param alignment The alignment object or a shorthand property object to apply. Pass `null` to clear.
|
|
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
|
|
14090
|
+
setAlignment(alignment: ITextFrame.IAlignment.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
|
|
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
|
}
|
|
@@ -15901,6 +15921,14 @@ export declare namespace ITextBoxAlignment {
|
|
|
15901
15921
|
}
|
|
15902
15922
|
export interface JSON extends Properties {
|
|
15903
15923
|
}
|
|
15924
|
+
/**
|
|
15925
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
15926
|
+
*/
|
|
15927
|
+
export type Modifiers = Partial<ITextBoxAlignment.Properties>;
|
|
15928
|
+
/**
|
|
15929
|
+
* Options for updating an ITextBoxAlignment.
|
|
15930
|
+
*/
|
|
15931
|
+
export type Update = ITextBoxAlignment | Modifiers | string | null;
|
|
15904
15932
|
}
|
|
15905
15933
|
|
|
15906
15934
|
/**
|
|
@@ -15969,6 +15997,14 @@ export declare namespace ITextFrame {
|
|
|
15969
15997
|
export namespace IAlignment {
|
|
15970
15998
|
export type Properties = ITextBoxAlignment.Properties;
|
|
15971
15999
|
export type JSON = ITextBoxAlignment.JSON;
|
|
16000
|
+
/**
|
|
16001
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
16002
|
+
*/
|
|
16003
|
+
export type Modifiers = ITextBoxAlignment.Modifiers;
|
|
16004
|
+
/**
|
|
16005
|
+
* Options for updating an IAlignment.
|
|
16006
|
+
*/
|
|
16007
|
+
export type Update = ITextBoxAlignment.Update;
|
|
15972
16008
|
}
|
|
15973
16009
|
export type IAlignment = ITextBoxAlignment;
|
|
15974
16010
|
/**
|
package/types/scripting.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -3768,6 +3776,14 @@ declare module "text/TextBoxAlignment" {
|
|
|
3768
3776
|
}
|
|
3769
3777
|
interface JSON extends Properties {
|
|
3770
3778
|
}
|
|
3779
|
+
/**
|
|
3780
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
3781
|
+
*/
|
|
3782
|
+
type Modifiers = Partial<ITextBoxAlignment.Properties>;
|
|
3783
|
+
/**
|
|
3784
|
+
* Options for updating an ITextBoxAlignment.
|
|
3785
|
+
*/
|
|
3786
|
+
type Update = ITextBoxAlignment | Modifiers | string | null;
|
|
3771
3787
|
}
|
|
3772
3788
|
}
|
|
3773
3789
|
declare module "text/ITextFrame" {
|
|
@@ -3842,6 +3858,14 @@ declare module "text/ITextFrame" {
|
|
|
3842
3858
|
namespace IAlignment {
|
|
3843
3859
|
type Properties = _IAlignment.Properties;
|
|
3844
3860
|
type JSON = _IAlignment.JSON;
|
|
3861
|
+
/**
|
|
3862
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
3863
|
+
*/
|
|
3864
|
+
type Modifiers = _IAlignment.Modifiers;
|
|
3865
|
+
/**
|
|
3866
|
+
* Options for updating an IAlignment.
|
|
3867
|
+
*/
|
|
3868
|
+
type Update = _IAlignment.Update;
|
|
3845
3869
|
}
|
|
3846
3870
|
type IAlignment = _IAlignment;
|
|
3847
3871
|
/**
|
|
@@ -4814,6 +4838,14 @@ declare module "text/richtext/IStyledFont" {
|
|
|
4814
4838
|
outline?: boolean;
|
|
4815
4839
|
extend?: boolean;
|
|
4816
4840
|
}
|
|
4841
|
+
/**
|
|
4842
|
+
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
4843
|
+
*/
|
|
4844
|
+
type Modifiers<C = IColor.Serializable> = Partial<IStyledFont.Properties<C>>;
|
|
4845
|
+
/**
|
|
4846
|
+
* Options for updating a font.
|
|
4847
|
+
*/
|
|
4848
|
+
type Update<C = IColor.Serializable> = IStyledFont | Modifiers<C> | string | null;
|
|
4817
4849
|
interface JSON extends Properties<string> {
|
|
4818
4850
|
}
|
|
4819
4851
|
}
|
|
@@ -5101,6 +5133,10 @@ declare module "border/IBorder" {
|
|
|
5101
5133
|
* Modifiers describe a partial list of properties that can be set with values or shorthand strings.
|
|
5102
5134
|
*/
|
|
5103
5135
|
type Modifiers = Partial<IBorder.Properties>;
|
|
5136
|
+
/**
|
|
5137
|
+
* Options for updating a border.
|
|
5138
|
+
*/
|
|
5139
|
+
type Update = IBorder | Modifiers | string | null;
|
|
5104
5140
|
/**
|
|
5105
5141
|
* JSON representation of a border.
|
|
5106
5142
|
*/
|
|
@@ -7265,7 +7301,7 @@ declare module "style/IStyle" {
|
|
|
7265
7301
|
* @param options Optional configuration for the update.
|
|
7266
7302
|
* @returns The `IBorder` object for further modifications.
|
|
7267
7303
|
*/
|
|
7268
|
-
setBorder(border: IBorder
|
|
7304
|
+
setBorder(border: IBorder.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7269
7305
|
/**
|
|
7270
7306
|
* Fill properties for the background.
|
|
7271
7307
|
*/
|
|
@@ -7279,7 +7315,7 @@ declare module "style/IStyle" {
|
|
|
7279
7315
|
* @param options Optional configuration for the update.
|
|
7280
7316
|
* @returns The `IFill` object for further modifications.
|
|
7281
7317
|
*/
|
|
7282
|
-
setFill(fill: IFill
|
|
7318
|
+
setFill(fill: IFill.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7283
7319
|
/**
|
|
7284
7320
|
* Returns the alignment for the style.
|
|
7285
7321
|
*/
|
|
@@ -7287,13 +7323,13 @@ declare module "style/IStyle" {
|
|
|
7287
7323
|
/**
|
|
7288
7324
|
* Sets the alignment style.
|
|
7289
7325
|
*
|
|
7290
|
-
* This method allows updating alignments using an {@link ITextFrame.IAlignment} or a shorthand property object.
|
|
7326
|
+
* This method allows updating alignments using an {@link ITextFrame.IAlignment.Update} or a shorthand property object.
|
|
7291
7327
|
*
|
|
7292
7328
|
* @param alignment The alignment object or a shorthand property object to apply. Pass `null` to clear.
|
|
7293
7329
|
* @param options Optional configuration for the update.
|
|
7294
7330
|
* @returns The `ITextFrame.IAlignment` object for further modifications.
|
|
7295
7331
|
*/
|
|
7296
|
-
setAlignment(alignment: ITextFrame.IAlignment
|
|
7332
|
+
setAlignment(alignment: ITextFrame.IAlignment.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7297
7333
|
/**
|
|
7298
7334
|
* Returns the font for the style.
|
|
7299
7335
|
*/
|
|
@@ -7307,7 +7343,7 @@ declare module "style/IStyle" {
|
|
|
7307
7343
|
* @param options Optional configuration for the update.
|
|
7308
7344
|
* @returns The `IStyledFont` object for further modifications.
|
|
7309
7345
|
*/
|
|
7310
|
-
setFont(font: IStyledFont
|
|
7346
|
+
setFont(font: IStyledFont.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
7311
7347
|
/**
|
|
7312
7348
|
* Returns an instance of the named style that this is derived from.
|
|
7313
7349
|
*/
|
|
@@ -20554,23 +20590,23 @@ declare module "sheet/style/SheetCellStyle" {
|
|
|
20554
20590
|
/** {@inheritDoc IStyle.getBorder} */
|
|
20555
20591
|
getBorder(): IBorder;
|
|
20556
20592
|
/** {@inheritDoc IStyle.setBorder} */
|
|
20557
|
-
setBorder(border: IBorder
|
|
20593
|
+
setBorder(border: IBorder.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
20558
20594
|
/** {@inheritDoc IStyle.getFont} */
|
|
20559
20595
|
getFont(): IStyledFont;
|
|
20560
20596
|
/** {@inheritDoc IStyle.setFont} */
|
|
20561
|
-
setFont(font: IStyledFont
|
|
20597
|
+
setFont(font: IStyledFont.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
20562
20598
|
/** {@inheritDoc IStyle.getFill} */
|
|
20563
20599
|
getFill(): IFill.ISolid | IFill.IGradient | IFill.IPattern | IFill.INone;
|
|
20564
20600
|
/** {@inheritDoc IStyle.setFill} */
|
|
20565
|
-
setFill(fill: IFill
|
|
20601
|
+
setFill(fill: IFill.Update, options?: IStyle.UpdateOptions): IStyle;
|
|
20566
20602
|
/** {@inheritDoc IStyle.getAlignment} */
|
|
20567
20603
|
getAlignment(): ITextFrame.IAlignment;
|
|
20568
20604
|
/** {@inheritDoc IStyle.setAlignment} */
|
|
20569
|
-
setAlignment(alignment: ITextFrame.IAlignment
|
|
20605
|
+
setAlignment(alignment: ITextFrame.IAlignment.Update | string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20570
20606
|
/** {@inheritDoc IStyle.getNumberFormat} */
|
|
20571
20607
|
getNumberFormat(): string;
|
|
20572
20608
|
/** {@inheritDoc IStyle.setNumberFormat} */
|
|
20573
|
-
setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions):
|
|
20609
|
+
setNumberFormat(numFmt: string | null, options?: IStyle.UpdateOptions): IStyle;
|
|
20574
20610
|
/** {@inheritDoc IStyle.getQuotePrefix} */
|
|
20575
20611
|
getQuotePrefix(): boolean;
|
|
20576
20612
|
/** {@inheritDoc IStyle.setQuotePrefix} */
|