@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/table.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ export declare interface BorderRadiusConfig {
|
|
|
179
179
|
/** 超超大圆角 */
|
|
180
180
|
xxl: string;
|
|
181
181
|
/** 完全圆角 */
|
|
182
|
-
full: '
|
|
182
|
+
full: '1000px';
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/** 通用边框状态样式 */
|
|
@@ -343,6 +343,10 @@ export declare interface CollaboratorInfo {
|
|
|
343
343
|
export declare interface ColorConfig {
|
|
344
344
|
/** 基础颜色配置 */
|
|
345
345
|
base: BaseColors;
|
|
346
|
+
/** 文本颜色配置 */
|
|
347
|
+
text: TextColors;
|
|
348
|
+
/** 装饰色配置 */
|
|
349
|
+
decorate: DecorateColors;
|
|
346
350
|
/** 边框颜色配置 */
|
|
347
351
|
border: BorderColors;
|
|
348
352
|
/** 背景色配置 */
|
|
@@ -482,6 +486,40 @@ export declare interface DBTable {
|
|
|
482
486
|
redo: () => void;
|
|
483
487
|
}
|
|
484
488
|
|
|
489
|
+
/**
|
|
490
|
+
* 装饰色
|
|
491
|
+
*/
|
|
492
|
+
export declare interface DecorateColors {
|
|
493
|
+
/**
|
|
494
|
+
* 装饰色 june
|
|
495
|
+
*/
|
|
496
|
+
june: string;
|
|
497
|
+
/**
|
|
498
|
+
* 装饰色 july
|
|
499
|
+
*/
|
|
500
|
+
july: string;
|
|
501
|
+
/**
|
|
502
|
+
* 装饰色 october
|
|
503
|
+
*/
|
|
504
|
+
october: string;
|
|
505
|
+
/**
|
|
506
|
+
* 装饰色 february
|
|
507
|
+
*/
|
|
508
|
+
february: string;
|
|
509
|
+
/**
|
|
510
|
+
* 装饰色 november
|
|
511
|
+
*/
|
|
512
|
+
november: string;
|
|
513
|
+
/**
|
|
514
|
+
* 装饰色 december
|
|
515
|
+
*/
|
|
516
|
+
december: string;
|
|
517
|
+
/**
|
|
518
|
+
* 装饰色 april
|
|
519
|
+
*/
|
|
520
|
+
april: string;
|
|
521
|
+
}
|
|
522
|
+
|
|
485
523
|
/** Dropdown 箭头图标配置 */
|
|
486
524
|
export declare interface DropdownArrowIconConfig extends IconConfig {
|
|
487
525
|
/** 展开状态旋转角度 */
|
|
@@ -3895,18 +3933,61 @@ export declare interface SwitchConfig {
|
|
|
3895
3933
|
|
|
3896
3934
|
/** Switch 尺寸配置 */
|
|
3897
3935
|
export declare interface SwitchSizeStyles {
|
|
3898
|
-
/**
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3936
|
+
/**
|
|
3937
|
+
* 容器样式
|
|
3938
|
+
*/
|
|
3939
|
+
container: {
|
|
3940
|
+
/**
|
|
3941
|
+
* 容器宽度
|
|
3942
|
+
*/
|
|
3943
|
+
width: string;
|
|
3944
|
+
/**
|
|
3945
|
+
* 容器高度
|
|
3946
|
+
*/
|
|
3947
|
+
height: string;
|
|
3948
|
+
};
|
|
3949
|
+
/**
|
|
3950
|
+
* 轨道样式
|
|
3951
|
+
*/
|
|
3952
|
+
track: {
|
|
3953
|
+
/**
|
|
3954
|
+
* 轨道宽度
|
|
3955
|
+
*/
|
|
3956
|
+
width: string;
|
|
3957
|
+
/**
|
|
3958
|
+
* 轨道高度
|
|
3959
|
+
*/
|
|
3960
|
+
height: string;
|
|
3961
|
+
/**
|
|
3962
|
+
* 轨道圆角
|
|
3963
|
+
*/
|
|
3964
|
+
borderRadius: string;
|
|
3965
|
+
/**
|
|
3966
|
+
* 轨道阴影
|
|
3967
|
+
*/
|
|
3968
|
+
boxShadow: string;
|
|
3969
|
+
};
|
|
3970
|
+
/**
|
|
3971
|
+
* 滑块样式
|
|
3972
|
+
*/
|
|
3973
|
+
thumb: {
|
|
3974
|
+
/**
|
|
3975
|
+
* 滑块尺寸
|
|
3976
|
+
*/
|
|
3977
|
+
size: string;
|
|
3978
|
+
/**
|
|
3979
|
+
* 滑块圆角
|
|
3980
|
+
*/
|
|
3981
|
+
borderRadius: string;
|
|
3982
|
+
/**
|
|
3983
|
+
* 滑块边框宽度
|
|
3984
|
+
*/
|
|
3985
|
+
borderWidth: string;
|
|
3986
|
+
/**
|
|
3987
|
+
* 滑块偏移(距离边缘的间距)
|
|
3988
|
+
*/
|
|
3989
|
+
offset: string;
|
|
3990
|
+
};
|
|
3910
3991
|
}
|
|
3911
3992
|
|
|
3912
3993
|
/** Switch 状态样式(关闭/开启状态) */
|
|
@@ -3922,7 +4003,8 @@ export declare interface SwitchThumbStateStyles extends Omit<BackgroundStateStyl
|
|
|
3922
4003
|
}
|
|
3923
4004
|
|
|
3924
4005
|
/** switch轨道样式 */
|
|
3925
|
-
export declare
|
|
4006
|
+
export declare interface SwitchTrackStateStyles extends Omit<BackgroundStateStyles, 'backgroundActive'>, Omit<ShadowStateStyles, 'boxShadowActive'> {
|
|
4007
|
+
}
|
|
3926
4008
|
|
|
3927
4009
|
export declare interface SyncContext {
|
|
3928
4010
|
clientId: string;
|
|
@@ -5375,6 +5457,36 @@ export declare interface TextButtonVariantStyles extends ButtonVariantStyles {
|
|
|
5375
5457
|
status: ButtonStateStyles;
|
|
5376
5458
|
}
|
|
5377
5459
|
|
|
5460
|
+
/**
|
|
5461
|
+
* 文本颜色
|
|
5462
|
+
*/
|
|
5463
|
+
export declare interface TextColors {
|
|
5464
|
+
/**
|
|
5465
|
+
*文本内容
|
|
5466
|
+
*/
|
|
5467
|
+
content: string;
|
|
5468
|
+
/**
|
|
5469
|
+
* 默认文本
|
|
5470
|
+
*/
|
|
5471
|
+
default: string;
|
|
5472
|
+
/**
|
|
5473
|
+
* 中强文本
|
|
5474
|
+
*/
|
|
5475
|
+
medium: string;
|
|
5476
|
+
/**
|
|
5477
|
+
* 次要文本
|
|
5478
|
+
*/
|
|
5479
|
+
secondary: string;
|
|
5480
|
+
/**
|
|
5481
|
+
* 禁用文本
|
|
5482
|
+
*/
|
|
5483
|
+
disabled: string;
|
|
5484
|
+
/**
|
|
5485
|
+
* 白色文本
|
|
5486
|
+
*/
|
|
5487
|
+
white: string;
|
|
5488
|
+
}
|
|
5489
|
+
|
|
5378
5490
|
/** 主题模式类型 */
|
|
5379
5491
|
export declare enum ThemeMode {
|
|
5380
5492
|
/** 明亮模式 */
|