@officesdk/editor-sdk-core 0.0.0-alpha.1 → 0.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.
- package/cjs/shared/index.js +1 -1
- package/cjs/shared/theme/colors.js +1 -1
- package/cjs/shared/theme/components/switch.js +1 -1
- package/cjs/shared/theme/styles.js +1 -1
- package/esm/shared/index.js +1 -1
- package/esm/shared/theme/colors.js +1 -1
- package/esm/shared/theme/components/switch.js +1 -1
- package/esm/shared/theme/styles.js +1 -1
- package/package.json +1 -1
- package/types/combine.d.ts +126 -14
- package/types/diagram.d.ts +126 -14
- package/types/docs.d.ts +126 -14
- package/types/docx.d.ts +126 -14
- package/types/form.d.ts +126 -14
- package/types/mindmap.d.ts +126 -14
- package/types/pdf.d.ts +126 -14
- package/types/presentation.d.ts +126 -14
- package/types/shared.d.ts +126 -14
- package/types/sheet.d.ts +126 -14
- package/types/table.d.ts +126 -14
package/types/pdf.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export declare interface BorderRadiusConfig {
|
|
|
126
126
|
/** 超超大圆角 */
|
|
127
127
|
xxl: string;
|
|
128
128
|
/** 完全圆角 */
|
|
129
|
-
full: '
|
|
129
|
+
full: '1000px';
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/** 通用边框状态样式 */
|
|
@@ -279,6 +279,10 @@ export declare interface CollaboratorInfo {
|
|
|
279
279
|
export declare interface ColorConfig {
|
|
280
280
|
/** 基础颜色配置 */
|
|
281
281
|
base: BaseColors;
|
|
282
|
+
/** 文本颜色配置 */
|
|
283
|
+
text: TextColors;
|
|
284
|
+
/** 装饰色配置 */
|
|
285
|
+
decorate: DecorateColors;
|
|
282
286
|
/** 边框颜色配置 */
|
|
283
287
|
border: BorderColors;
|
|
284
288
|
/** 背景色配置 */
|
|
@@ -400,6 +404,40 @@ export declare interface ConfirmButtonConfig {
|
|
|
400
404
|
*/
|
|
401
405
|
export declare type Content<Delta = EditorDelta> = string | ArrayBuffer | Delta;
|
|
402
406
|
|
|
407
|
+
/**
|
|
408
|
+
* 装饰色
|
|
409
|
+
*/
|
|
410
|
+
export declare interface DecorateColors {
|
|
411
|
+
/**
|
|
412
|
+
* 装饰色 june
|
|
413
|
+
*/
|
|
414
|
+
june: string;
|
|
415
|
+
/**
|
|
416
|
+
* 装饰色 july
|
|
417
|
+
*/
|
|
418
|
+
july: string;
|
|
419
|
+
/**
|
|
420
|
+
* 装饰色 october
|
|
421
|
+
*/
|
|
422
|
+
october: string;
|
|
423
|
+
/**
|
|
424
|
+
* 装饰色 february
|
|
425
|
+
*/
|
|
426
|
+
february: string;
|
|
427
|
+
/**
|
|
428
|
+
* 装饰色 november
|
|
429
|
+
*/
|
|
430
|
+
november: string;
|
|
431
|
+
/**
|
|
432
|
+
* 装饰色 december
|
|
433
|
+
*/
|
|
434
|
+
december: string;
|
|
435
|
+
/**
|
|
436
|
+
* 装饰色 april
|
|
437
|
+
*/
|
|
438
|
+
april: string;
|
|
439
|
+
}
|
|
440
|
+
|
|
403
441
|
/** Dropdown 箭头图标配置 */
|
|
404
442
|
export declare interface DropdownArrowIconConfig extends IconConfig {
|
|
405
443
|
/** 展开状态旋转角度 */
|
|
@@ -3846,18 +3884,61 @@ export declare interface SwitchConfig {
|
|
|
3846
3884
|
|
|
3847
3885
|
/** Switch 尺寸配置 */
|
|
3848
3886
|
export declare interface SwitchSizeStyles {
|
|
3849
|
-
/**
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3887
|
+
/**
|
|
3888
|
+
* 容器样式
|
|
3889
|
+
*/
|
|
3890
|
+
container: {
|
|
3891
|
+
/**
|
|
3892
|
+
* 容器宽度
|
|
3893
|
+
*/
|
|
3894
|
+
width: string;
|
|
3895
|
+
/**
|
|
3896
|
+
* 容器高度
|
|
3897
|
+
*/
|
|
3898
|
+
height: string;
|
|
3899
|
+
};
|
|
3900
|
+
/**
|
|
3901
|
+
* 轨道样式
|
|
3902
|
+
*/
|
|
3903
|
+
track: {
|
|
3904
|
+
/**
|
|
3905
|
+
* 轨道宽度
|
|
3906
|
+
*/
|
|
3907
|
+
width: string;
|
|
3908
|
+
/**
|
|
3909
|
+
* 轨道高度
|
|
3910
|
+
*/
|
|
3911
|
+
height: string;
|
|
3912
|
+
/**
|
|
3913
|
+
* 轨道圆角
|
|
3914
|
+
*/
|
|
3915
|
+
borderRadius: string;
|
|
3916
|
+
/**
|
|
3917
|
+
* 轨道阴影
|
|
3918
|
+
*/
|
|
3919
|
+
boxShadow: string;
|
|
3920
|
+
};
|
|
3921
|
+
/**
|
|
3922
|
+
* 滑块样式
|
|
3923
|
+
*/
|
|
3924
|
+
thumb: {
|
|
3925
|
+
/**
|
|
3926
|
+
* 滑块尺寸
|
|
3927
|
+
*/
|
|
3928
|
+
size: string;
|
|
3929
|
+
/**
|
|
3930
|
+
* 滑块圆角
|
|
3931
|
+
*/
|
|
3932
|
+
borderRadius: string;
|
|
3933
|
+
/**
|
|
3934
|
+
* 滑块边框宽度
|
|
3935
|
+
*/
|
|
3936
|
+
borderWidth: string;
|
|
3937
|
+
/**
|
|
3938
|
+
* 滑块偏移(距离边缘的间距)
|
|
3939
|
+
*/
|
|
3940
|
+
offset: string;
|
|
3941
|
+
};
|
|
3861
3942
|
}
|
|
3862
3943
|
|
|
3863
3944
|
/** Switch 状态样式(关闭/开启状态) */
|
|
@@ -3873,7 +3954,8 @@ export declare interface SwitchThumbStateStyles extends Omit<BackgroundStateStyl
|
|
|
3873
3954
|
}
|
|
3874
3955
|
|
|
3875
3956
|
/** switch轨道样式 */
|
|
3876
|
-
export declare
|
|
3957
|
+
export declare interface SwitchTrackStateStyles extends Omit<BackgroundStateStyles, 'backgroundActive'>, Omit<ShadowStateStyles, 'boxShadowActive'> {
|
|
3958
|
+
}
|
|
3877
3959
|
|
|
3878
3960
|
export declare interface SyncContext {
|
|
3879
3961
|
clientId: string;
|
|
@@ -3934,6 +4016,36 @@ export declare interface TextButtonVariantStyles extends ButtonVariantStyles {
|
|
|
3934
4016
|
status: ButtonStateStyles;
|
|
3935
4017
|
}
|
|
3936
4018
|
|
|
4019
|
+
/**
|
|
4020
|
+
* 文本颜色
|
|
4021
|
+
*/
|
|
4022
|
+
export declare interface TextColors {
|
|
4023
|
+
/**
|
|
4024
|
+
*文本内容
|
|
4025
|
+
*/
|
|
4026
|
+
content: string;
|
|
4027
|
+
/**
|
|
4028
|
+
* 默认文本
|
|
4029
|
+
*/
|
|
4030
|
+
default: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* 中强文本
|
|
4033
|
+
*/
|
|
4034
|
+
medium: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* 次要文本
|
|
4037
|
+
*/
|
|
4038
|
+
secondary: string;
|
|
4039
|
+
/**
|
|
4040
|
+
* 禁用文本
|
|
4041
|
+
*/
|
|
4042
|
+
disabled: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* 白色文本
|
|
4045
|
+
*/
|
|
4046
|
+
white: string;
|
|
4047
|
+
}
|
|
4048
|
+
|
|
3937
4049
|
/** 主题模式类型 */
|
|
3938
4050
|
export declare enum ThemeMode {
|
|
3939
4051
|
/** 明亮模式 */
|
package/types/presentation.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare interface BorderRadiusConfig {
|
|
|
132
132
|
/** 超超大圆角 */
|
|
133
133
|
xxl: string;
|
|
134
134
|
/** 完全圆角 */
|
|
135
|
-
full: '
|
|
135
|
+
full: '1000px';
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
/** 通用边框状态样式 */
|
|
@@ -285,6 +285,10 @@ export declare interface CollaboratorInfo {
|
|
|
285
285
|
export declare interface ColorConfig {
|
|
286
286
|
/** 基础颜色配置 */
|
|
287
287
|
base: BaseColors;
|
|
288
|
+
/** 文本颜色配置 */
|
|
289
|
+
text: TextColors;
|
|
290
|
+
/** 装饰色配置 */
|
|
291
|
+
decorate: DecorateColors;
|
|
288
292
|
/** 边框颜色配置 */
|
|
289
293
|
border: BorderColors;
|
|
290
294
|
/** 背景色配置 */
|
|
@@ -406,6 +410,40 @@ export declare interface ConfirmButtonConfig {
|
|
|
406
410
|
*/
|
|
407
411
|
export declare type Content<Delta = EditorDelta> = string | ArrayBuffer | Delta;
|
|
408
412
|
|
|
413
|
+
/**
|
|
414
|
+
* 装饰色
|
|
415
|
+
*/
|
|
416
|
+
export declare interface DecorateColors {
|
|
417
|
+
/**
|
|
418
|
+
* 装饰色 june
|
|
419
|
+
*/
|
|
420
|
+
june: string;
|
|
421
|
+
/**
|
|
422
|
+
* 装饰色 july
|
|
423
|
+
*/
|
|
424
|
+
july: string;
|
|
425
|
+
/**
|
|
426
|
+
* 装饰色 october
|
|
427
|
+
*/
|
|
428
|
+
october: string;
|
|
429
|
+
/**
|
|
430
|
+
* 装饰色 february
|
|
431
|
+
*/
|
|
432
|
+
february: string;
|
|
433
|
+
/**
|
|
434
|
+
* 装饰色 november
|
|
435
|
+
*/
|
|
436
|
+
november: string;
|
|
437
|
+
/**
|
|
438
|
+
* 装饰色 december
|
|
439
|
+
*/
|
|
440
|
+
december: string;
|
|
441
|
+
/**
|
|
442
|
+
* 装饰色 april
|
|
443
|
+
*/
|
|
444
|
+
april: string;
|
|
445
|
+
}
|
|
446
|
+
|
|
409
447
|
/** Dropdown 箭头图标配置 */
|
|
410
448
|
export declare interface DropdownArrowIconConfig extends IconConfig {
|
|
411
449
|
/** 展开状态旋转角度 */
|
|
@@ -4207,18 +4245,61 @@ export declare interface SwitchConfig {
|
|
|
4207
4245
|
|
|
4208
4246
|
/** Switch 尺寸配置 */
|
|
4209
4247
|
export declare interface SwitchSizeStyles {
|
|
4210
|
-
/**
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4248
|
+
/**
|
|
4249
|
+
* 容器样式
|
|
4250
|
+
*/
|
|
4251
|
+
container: {
|
|
4252
|
+
/**
|
|
4253
|
+
* 容器宽度
|
|
4254
|
+
*/
|
|
4255
|
+
width: string;
|
|
4256
|
+
/**
|
|
4257
|
+
* 容器高度
|
|
4258
|
+
*/
|
|
4259
|
+
height: string;
|
|
4260
|
+
};
|
|
4261
|
+
/**
|
|
4262
|
+
* 轨道样式
|
|
4263
|
+
*/
|
|
4264
|
+
track: {
|
|
4265
|
+
/**
|
|
4266
|
+
* 轨道宽度
|
|
4267
|
+
*/
|
|
4268
|
+
width: string;
|
|
4269
|
+
/**
|
|
4270
|
+
* 轨道高度
|
|
4271
|
+
*/
|
|
4272
|
+
height: string;
|
|
4273
|
+
/**
|
|
4274
|
+
* 轨道圆角
|
|
4275
|
+
*/
|
|
4276
|
+
borderRadius: string;
|
|
4277
|
+
/**
|
|
4278
|
+
* 轨道阴影
|
|
4279
|
+
*/
|
|
4280
|
+
boxShadow: string;
|
|
4281
|
+
};
|
|
4282
|
+
/**
|
|
4283
|
+
* 滑块样式
|
|
4284
|
+
*/
|
|
4285
|
+
thumb: {
|
|
4286
|
+
/**
|
|
4287
|
+
* 滑块尺寸
|
|
4288
|
+
*/
|
|
4289
|
+
size: string;
|
|
4290
|
+
/**
|
|
4291
|
+
* 滑块圆角
|
|
4292
|
+
*/
|
|
4293
|
+
borderRadius: string;
|
|
4294
|
+
/**
|
|
4295
|
+
* 滑块边框宽度
|
|
4296
|
+
*/
|
|
4297
|
+
borderWidth: string;
|
|
4298
|
+
/**
|
|
4299
|
+
* 滑块偏移(距离边缘的间距)
|
|
4300
|
+
*/
|
|
4301
|
+
offset: string;
|
|
4302
|
+
};
|
|
4222
4303
|
}
|
|
4223
4304
|
|
|
4224
4305
|
/** Switch 状态样式(关闭/开启状态) */
|
|
@@ -4234,7 +4315,8 @@ export declare interface SwitchThumbStateStyles extends Omit<BackgroundStateStyl
|
|
|
4234
4315
|
}
|
|
4235
4316
|
|
|
4236
4317
|
/** switch轨道样式 */
|
|
4237
|
-
export declare
|
|
4318
|
+
export declare interface SwitchTrackStateStyles extends Omit<BackgroundStateStyles, 'backgroundActive'>, Omit<ShadowStateStyles, 'boxShadowActive'> {
|
|
4319
|
+
}
|
|
4238
4320
|
|
|
4239
4321
|
export declare interface SyncContext {
|
|
4240
4322
|
clientId: string;
|
|
@@ -4295,6 +4377,36 @@ export declare interface TextButtonVariantStyles extends ButtonVariantStyles {
|
|
|
4295
4377
|
status: ButtonStateStyles;
|
|
4296
4378
|
}
|
|
4297
4379
|
|
|
4380
|
+
/**
|
|
4381
|
+
* 文本颜色
|
|
4382
|
+
*/
|
|
4383
|
+
export declare interface TextColors {
|
|
4384
|
+
/**
|
|
4385
|
+
*文本内容
|
|
4386
|
+
*/
|
|
4387
|
+
content: string;
|
|
4388
|
+
/**
|
|
4389
|
+
* 默认文本
|
|
4390
|
+
*/
|
|
4391
|
+
default: string;
|
|
4392
|
+
/**
|
|
4393
|
+
* 中强文本
|
|
4394
|
+
*/
|
|
4395
|
+
medium: string;
|
|
4396
|
+
/**
|
|
4397
|
+
* 次要文本
|
|
4398
|
+
*/
|
|
4399
|
+
secondary: string;
|
|
4400
|
+
/**
|
|
4401
|
+
* 禁用文本
|
|
4402
|
+
*/
|
|
4403
|
+
disabled: string;
|
|
4404
|
+
/**
|
|
4405
|
+
* 白色文本
|
|
4406
|
+
*/
|
|
4407
|
+
white: string;
|
|
4408
|
+
}
|
|
4409
|
+
|
|
4298
4410
|
/** 主题模式类型 */
|
|
4299
4411
|
export declare enum ThemeMode {
|
|
4300
4412
|
/** 明亮模式 */
|
package/types/shared.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare interface BorderRadiusConfig {
|
|
|
88
88
|
/** 超超大圆角 */
|
|
89
89
|
xxl: string;
|
|
90
90
|
/** 完全圆角 */
|
|
91
|
-
full: '
|
|
91
|
+
full: '1000px';
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/** 通用边框状态样式 */
|
|
@@ -241,6 +241,10 @@ export declare interface CollaboratorInfo {
|
|
|
241
241
|
export declare interface ColorConfig {
|
|
242
242
|
/** 基础颜色配置 */
|
|
243
243
|
base: BaseColors;
|
|
244
|
+
/** 文本颜色配置 */
|
|
245
|
+
text: TextColors;
|
|
246
|
+
/** 装饰色配置 */
|
|
247
|
+
decorate: DecorateColors;
|
|
244
248
|
/** 边框颜色配置 */
|
|
245
249
|
border: BorderColors;
|
|
246
250
|
/** 背景色配置 */
|
|
@@ -362,6 +366,40 @@ export declare interface ConfirmButtonConfig {
|
|
|
362
366
|
*/
|
|
363
367
|
export declare type Content<Delta = EditorDelta> = string | ArrayBuffer | Delta;
|
|
364
368
|
|
|
369
|
+
/**
|
|
370
|
+
* 装饰色
|
|
371
|
+
*/
|
|
372
|
+
export declare interface DecorateColors {
|
|
373
|
+
/**
|
|
374
|
+
* 装饰色 june
|
|
375
|
+
*/
|
|
376
|
+
june: string;
|
|
377
|
+
/**
|
|
378
|
+
* 装饰色 july
|
|
379
|
+
*/
|
|
380
|
+
july: string;
|
|
381
|
+
/**
|
|
382
|
+
* 装饰色 october
|
|
383
|
+
*/
|
|
384
|
+
october: string;
|
|
385
|
+
/**
|
|
386
|
+
* 装饰色 february
|
|
387
|
+
*/
|
|
388
|
+
february: string;
|
|
389
|
+
/**
|
|
390
|
+
* 装饰色 november
|
|
391
|
+
*/
|
|
392
|
+
november: string;
|
|
393
|
+
/**
|
|
394
|
+
* 装饰色 december
|
|
395
|
+
*/
|
|
396
|
+
december: string;
|
|
397
|
+
/**
|
|
398
|
+
* 装饰色 april
|
|
399
|
+
*/
|
|
400
|
+
april: string;
|
|
401
|
+
}
|
|
402
|
+
|
|
365
403
|
/** Dropdown 箭头图标配置 */
|
|
366
404
|
export declare interface DropdownArrowIconConfig extends IconConfig {
|
|
367
405
|
/** 展开状态旋转角度 */
|
|
@@ -3566,18 +3604,61 @@ export declare interface SwitchConfig {
|
|
|
3566
3604
|
|
|
3567
3605
|
/** Switch 尺寸配置 */
|
|
3568
3606
|
export declare interface SwitchSizeStyles {
|
|
3569
|
-
/**
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3607
|
+
/**
|
|
3608
|
+
* 容器样式
|
|
3609
|
+
*/
|
|
3610
|
+
container: {
|
|
3611
|
+
/**
|
|
3612
|
+
* 容器宽度
|
|
3613
|
+
*/
|
|
3614
|
+
width: string;
|
|
3615
|
+
/**
|
|
3616
|
+
* 容器高度
|
|
3617
|
+
*/
|
|
3618
|
+
height: string;
|
|
3619
|
+
};
|
|
3620
|
+
/**
|
|
3621
|
+
* 轨道样式
|
|
3622
|
+
*/
|
|
3623
|
+
track: {
|
|
3624
|
+
/**
|
|
3625
|
+
* 轨道宽度
|
|
3626
|
+
*/
|
|
3627
|
+
width: string;
|
|
3628
|
+
/**
|
|
3629
|
+
* 轨道高度
|
|
3630
|
+
*/
|
|
3631
|
+
height: string;
|
|
3632
|
+
/**
|
|
3633
|
+
* 轨道圆角
|
|
3634
|
+
*/
|
|
3635
|
+
borderRadius: string;
|
|
3636
|
+
/**
|
|
3637
|
+
* 轨道阴影
|
|
3638
|
+
*/
|
|
3639
|
+
boxShadow: string;
|
|
3640
|
+
};
|
|
3641
|
+
/**
|
|
3642
|
+
* 滑块样式
|
|
3643
|
+
*/
|
|
3644
|
+
thumb: {
|
|
3645
|
+
/**
|
|
3646
|
+
* 滑块尺寸
|
|
3647
|
+
*/
|
|
3648
|
+
size: string;
|
|
3649
|
+
/**
|
|
3650
|
+
* 滑块圆角
|
|
3651
|
+
*/
|
|
3652
|
+
borderRadius: string;
|
|
3653
|
+
/**
|
|
3654
|
+
* 滑块边框宽度
|
|
3655
|
+
*/
|
|
3656
|
+
borderWidth: string;
|
|
3657
|
+
/**
|
|
3658
|
+
* 滑块偏移(距离边缘的间距)
|
|
3659
|
+
*/
|
|
3660
|
+
offset: string;
|
|
3661
|
+
};
|
|
3581
3662
|
}
|
|
3582
3663
|
|
|
3583
3664
|
/** Switch 状态样式(关闭/开启状态) */
|
|
@@ -3593,7 +3674,8 @@ export declare interface SwitchThumbStateStyles extends Omit<BackgroundStateStyl
|
|
|
3593
3674
|
}
|
|
3594
3675
|
|
|
3595
3676
|
/** switch轨道样式 */
|
|
3596
|
-
export declare
|
|
3677
|
+
export declare interface SwitchTrackStateStyles extends Omit<BackgroundStateStyles, 'backgroundActive'>, Omit<ShadowStateStyles, 'boxShadowActive'> {
|
|
3678
|
+
}
|
|
3597
3679
|
|
|
3598
3680
|
export declare interface SyncContext {
|
|
3599
3681
|
clientId: string;
|
|
@@ -3654,6 +3736,36 @@ export declare interface TextButtonVariantStyles extends ButtonVariantStyles {
|
|
|
3654
3736
|
status: ButtonStateStyles;
|
|
3655
3737
|
}
|
|
3656
3738
|
|
|
3739
|
+
/**
|
|
3740
|
+
* 文本颜色
|
|
3741
|
+
*/
|
|
3742
|
+
export declare interface TextColors {
|
|
3743
|
+
/**
|
|
3744
|
+
*文本内容
|
|
3745
|
+
*/
|
|
3746
|
+
content: string;
|
|
3747
|
+
/**
|
|
3748
|
+
* 默认文本
|
|
3749
|
+
*/
|
|
3750
|
+
default: string;
|
|
3751
|
+
/**
|
|
3752
|
+
* 中强文本
|
|
3753
|
+
*/
|
|
3754
|
+
medium: string;
|
|
3755
|
+
/**
|
|
3756
|
+
* 次要文本
|
|
3757
|
+
*/
|
|
3758
|
+
secondary: string;
|
|
3759
|
+
/**
|
|
3760
|
+
* 禁用文本
|
|
3761
|
+
*/
|
|
3762
|
+
disabled: string;
|
|
3763
|
+
/**
|
|
3764
|
+
* 白色文本
|
|
3765
|
+
*/
|
|
3766
|
+
white: string;
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3657
3769
|
/** 主题模式类型 */
|
|
3658
3770
|
export declare enum ThemeMode {
|
|
3659
3771
|
/** 明亮模式 */
|
package/types/sheet.d.ts
CHANGED
|
@@ -177,7 +177,7 @@ export declare interface BorderRadiusConfig {
|
|
|
177
177
|
/** 超超大圆角 */
|
|
178
178
|
xxl: string;
|
|
179
179
|
/** 完全圆角 */
|
|
180
|
-
full: '
|
|
180
|
+
full: '1000px';
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
/** 通用边框状态样式 */
|
|
@@ -373,6 +373,10 @@ export declare interface CollaboratorInfo {
|
|
|
373
373
|
export declare interface ColorConfig {
|
|
374
374
|
/** 基础颜色配置 */
|
|
375
375
|
base: BaseColors;
|
|
376
|
+
/** 文本颜色配置 */
|
|
377
|
+
text: TextColors;
|
|
378
|
+
/** 装饰色配置 */
|
|
379
|
+
decorate: DecorateColors;
|
|
376
380
|
/** 边框颜色配置 */
|
|
377
381
|
border: BorderColors;
|
|
378
382
|
/** 背景色配置 */
|
|
@@ -503,6 +507,40 @@ export declare interface CreateChartParams {
|
|
|
503
507
|
sheetId?: string;
|
|
504
508
|
}
|
|
505
509
|
|
|
510
|
+
/**
|
|
511
|
+
* 装饰色
|
|
512
|
+
*/
|
|
513
|
+
export declare interface DecorateColors {
|
|
514
|
+
/**
|
|
515
|
+
* 装饰色 june
|
|
516
|
+
*/
|
|
517
|
+
june: string;
|
|
518
|
+
/**
|
|
519
|
+
* 装饰色 july
|
|
520
|
+
*/
|
|
521
|
+
july: string;
|
|
522
|
+
/**
|
|
523
|
+
* 装饰色 october
|
|
524
|
+
*/
|
|
525
|
+
october: string;
|
|
526
|
+
/**
|
|
527
|
+
* 装饰色 february
|
|
528
|
+
*/
|
|
529
|
+
february: string;
|
|
530
|
+
/**
|
|
531
|
+
* 装饰色 november
|
|
532
|
+
*/
|
|
533
|
+
november: string;
|
|
534
|
+
/**
|
|
535
|
+
* 装饰色 december
|
|
536
|
+
*/
|
|
537
|
+
december: string;
|
|
538
|
+
/**
|
|
539
|
+
* 装饰色 april
|
|
540
|
+
*/
|
|
541
|
+
april: string;
|
|
542
|
+
}
|
|
543
|
+
|
|
506
544
|
/** Dropdown 箭头图标配置 */
|
|
507
545
|
export declare interface DropdownArrowIconConfig extends IconConfig {
|
|
508
546
|
/** 展开状态旋转角度 */
|
|
@@ -4781,18 +4819,61 @@ export declare interface SwitchConfig {
|
|
|
4781
4819
|
|
|
4782
4820
|
/** Switch 尺寸配置 */
|
|
4783
4821
|
export declare interface SwitchSizeStyles {
|
|
4784
|
-
/**
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4822
|
+
/**
|
|
4823
|
+
* 容器样式
|
|
4824
|
+
*/
|
|
4825
|
+
container: {
|
|
4826
|
+
/**
|
|
4827
|
+
* 容器宽度
|
|
4828
|
+
*/
|
|
4829
|
+
width: string;
|
|
4830
|
+
/**
|
|
4831
|
+
* 容器高度
|
|
4832
|
+
*/
|
|
4833
|
+
height: string;
|
|
4834
|
+
};
|
|
4835
|
+
/**
|
|
4836
|
+
* 轨道样式
|
|
4837
|
+
*/
|
|
4838
|
+
track: {
|
|
4839
|
+
/**
|
|
4840
|
+
* 轨道宽度
|
|
4841
|
+
*/
|
|
4842
|
+
width: string;
|
|
4843
|
+
/**
|
|
4844
|
+
* 轨道高度
|
|
4845
|
+
*/
|
|
4846
|
+
height: string;
|
|
4847
|
+
/**
|
|
4848
|
+
* 轨道圆角
|
|
4849
|
+
*/
|
|
4850
|
+
borderRadius: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* 轨道阴影
|
|
4853
|
+
*/
|
|
4854
|
+
boxShadow: string;
|
|
4855
|
+
};
|
|
4856
|
+
/**
|
|
4857
|
+
* 滑块样式
|
|
4858
|
+
*/
|
|
4859
|
+
thumb: {
|
|
4860
|
+
/**
|
|
4861
|
+
* 滑块尺寸
|
|
4862
|
+
*/
|
|
4863
|
+
size: string;
|
|
4864
|
+
/**
|
|
4865
|
+
* 滑块圆角
|
|
4866
|
+
*/
|
|
4867
|
+
borderRadius: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* 滑块边框宽度
|
|
4870
|
+
*/
|
|
4871
|
+
borderWidth: string;
|
|
4872
|
+
/**
|
|
4873
|
+
* 滑块偏移(距离边缘的间距)
|
|
4874
|
+
*/
|
|
4875
|
+
offset: string;
|
|
4876
|
+
};
|
|
4796
4877
|
}
|
|
4797
4878
|
|
|
4798
4879
|
/** Switch 状态样式(关闭/开启状态) */
|
|
@@ -4808,7 +4889,8 @@ export declare interface SwitchThumbStateStyles extends Omit<BackgroundStateStyl
|
|
|
4808
4889
|
}
|
|
4809
4890
|
|
|
4810
4891
|
/** switch轨道样式 */
|
|
4811
|
-
export declare
|
|
4892
|
+
export declare interface SwitchTrackStateStyles extends Omit<BackgroundStateStyles, 'backgroundActive'>, Omit<ShadowStateStyles, 'boxShadowActive'> {
|
|
4893
|
+
}
|
|
4812
4894
|
|
|
4813
4895
|
export declare interface SyncContext {
|
|
4814
4896
|
clientId: string;
|
|
@@ -4869,6 +4951,36 @@ export declare interface TextButtonVariantStyles extends ButtonVariantStyles {
|
|
|
4869
4951
|
status: ButtonStateStyles;
|
|
4870
4952
|
}
|
|
4871
4953
|
|
|
4954
|
+
/**
|
|
4955
|
+
* 文本颜色
|
|
4956
|
+
*/
|
|
4957
|
+
export declare interface TextColors {
|
|
4958
|
+
/**
|
|
4959
|
+
*文本内容
|
|
4960
|
+
*/
|
|
4961
|
+
content: string;
|
|
4962
|
+
/**
|
|
4963
|
+
* 默认文本
|
|
4964
|
+
*/
|
|
4965
|
+
default: string;
|
|
4966
|
+
/**
|
|
4967
|
+
* 中强文本
|
|
4968
|
+
*/
|
|
4969
|
+
medium: string;
|
|
4970
|
+
/**
|
|
4971
|
+
* 次要文本
|
|
4972
|
+
*/
|
|
4973
|
+
secondary: string;
|
|
4974
|
+
/**
|
|
4975
|
+
* 禁用文本
|
|
4976
|
+
*/
|
|
4977
|
+
disabled: string;
|
|
4978
|
+
/**
|
|
4979
|
+
* 白色文本
|
|
4980
|
+
*/
|
|
4981
|
+
white: string;
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4872
4984
|
/** 主题模式类型 */
|
|
4873
4985
|
export declare enum ThemeMode {
|
|
4874
4986
|
/** 明亮模式 */
|