@officesdk/editor-sdk-core 0.0.0-12 → 0.0.0-13
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/docx/context-menu.js +1 -1
- package/cjs/docx/index.js +1 -1
- package/cjs/docx/menu.js +1 -1
- package/cjs/pdf/menu.js +1 -1
- package/cjs/presentation/menu.js +1 -1
- package/cjs/shared/context-menu.js +1 -1
- package/cjs/shared/index.js +1 -1
- package/cjs/shared/menu.js +1 -1
- package/cjs/shared/toolbar.js +1 -1
- package/cjs/sheet/index.js +1 -1
- package/cjs/sheet/menu.js +1 -1
- package/cjs/sheet/sdk.js +1 -1
- package/cjs/sheet/toolbar.js +3 -0
- package/esm/docx/context-menu.js +1 -1
- package/esm/docx/index.js +1 -1
- package/esm/docx/menu.js +1 -1
- package/esm/pdf/menu.js +1 -1
- package/esm/presentation/menu.js +1 -1
- package/esm/shared/context-menu.js +1 -1
- package/esm/shared/index.js +1 -1
- package/esm/shared/menu.js +1 -1
- package/esm/shared/toolbar.js +1 -1
- package/esm/sheet/index.js +1 -1
- package/esm/sheet/menu.js +1 -1
- package/esm/sheet/sdk.js +1 -1
- package/esm/sheet/toolbar.js +2 -0
- package/package.json +1 -1
- package/types/diagram.d.ts +89 -173
- package/types/docs.d.ts +89 -173
- package/types/docx.d.ts +125 -189
- package/types/pdf.d.ts +90 -174
- package/types/presentation.d.ts +90 -174
- package/types/shared.d.ts +89 -173
- package/types/sheet.d.ts +118 -178
- package/types/table.d.ts +89 -173
package/types/sheet.d.ts
CHANGED
|
@@ -387,27 +387,6 @@ export declare interface EditorContent<Delta = EditorDelta> {
|
|
|
387
387
|
addChangeListener: (listener: (change: Delta) => void) => () => void;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
/**
|
|
391
|
-
* 右键菜单栏二级以下的菜单入口
|
|
392
|
-
*/
|
|
393
|
-
export declare type EditorContextMenuEntryButton<TName extends string> = EditorMenuEntryButton<TName>;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* 右键菜单栏一级菜单配置,此处用于定义一级菜单的操作入口,
|
|
397
|
-
* 右键菜单栏一级菜单指点击右键弹出菜单时的菜单项
|
|
398
|
-
*/
|
|
399
|
-
export declare type EditorContextMenuEntryConfig<TName extends string> = EditorMenuEntryConfig<TName>;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* 右键菜单栏功能按钮配置
|
|
403
|
-
*/
|
|
404
|
-
export declare type EditorContextMenuFeatureButton<TName extends string> = EditorMenuFeatureButton<TName>;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* 右键菜单栏按钮配置
|
|
408
|
-
*/
|
|
409
|
-
export declare type EditorContextMenuFeatureButtonConfig<TName extends string> = EditorMenuFeatureButtonConfig<TName>;
|
|
410
|
-
|
|
411
390
|
/**
|
|
412
391
|
* 右键菜单栏相关配置
|
|
413
392
|
* 右键菜单栏是指的编辑器中点击右键弹出的菜单栏。目前等于菜单栏配置,可扩展
|
|
@@ -601,120 +580,109 @@ export declare interface EditorLocalUploadableFile extends EditorBaseUploadableF
|
|
|
601
580
|
}
|
|
602
581
|
|
|
603
582
|
/**
|
|
604
|
-
*
|
|
583
|
+
* 基础菜单项配置,所有菜单项类型都包含这些属性
|
|
605
584
|
*/
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* 按钮名称
|
|
609
|
-
*/
|
|
610
|
-
name: string;
|
|
585
|
+
declare interface EditorMenuBaseMenuItemConfig<TName extends string> {
|
|
611
586
|
/**
|
|
612
|
-
*
|
|
587
|
+
* 菜单项的唯一标识,用以确定配置的是哪个菜单
|
|
613
588
|
*/
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* 按钮文本
|
|
617
|
-
*/
|
|
618
|
-
text: string;
|
|
619
|
-
/**
|
|
620
|
-
* 链接地址
|
|
621
|
-
*/
|
|
622
|
-
url: string;
|
|
623
|
-
} | {
|
|
589
|
+
name: TName;
|
|
624
590
|
/**
|
|
625
|
-
*
|
|
591
|
+
* 菜单项类型
|
|
626
592
|
*/
|
|
627
|
-
|
|
593
|
+
type?: EditorMenuItemType;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* 按钮菜单项配置
|
|
598
|
+
*/
|
|
599
|
+
export declare interface EditorMenuButtonMenuItemConfig<TName extends string> extends EditorMenuBaseMenuItemConfig<TName> {
|
|
600
|
+
type?: 'button';
|
|
628
601
|
/**
|
|
629
|
-
*
|
|
602
|
+
* 是否禁用菜单项,禁用后菜单项依旧显示不过变为灰色,不可点击
|
|
630
603
|
*/
|
|
631
|
-
|
|
604
|
+
disabled?: boolean;
|
|
632
605
|
/**
|
|
633
|
-
*
|
|
606
|
+
* 菜单项显示文本,修改该值可以替换此菜单项默认显示文案
|
|
634
607
|
*/
|
|
635
|
-
label
|
|
608
|
+
label?: string;
|
|
636
609
|
/**
|
|
637
|
-
*
|
|
610
|
+
* 菜单项图标,可以是 base64 的图片信息,也可以是图片 url
|
|
611
|
+
* 配置为空字符串则可以隐藏菜单项默认的图标
|
|
638
612
|
*/
|
|
639
613
|
icon?: string;
|
|
640
614
|
/**
|
|
641
|
-
*
|
|
615
|
+
* 菜单项点击事件,接受一个函数,可以自定义点击事件
|
|
642
616
|
*/
|
|
643
|
-
callback
|
|
644
|
-
}
|
|
617
|
+
callback?: () => void;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* 编辑器菜单配置类型
|
|
622
|
+
* 联合类型,表示可以是任意一种菜单项配置
|
|
623
|
+
*/
|
|
624
|
+
export declare type EditorMenuEntryConfig<TName extends string> = EditorMenuHiddenMenuItemConfig<TName> | EditorMenuButtonMenuItemConfig<TName> | EditorMenuLinkMenuItemConfig<TName> | EditorMenuEntryMenuItemConfig<TName>;
|
|
645
625
|
|
|
646
626
|
/**
|
|
647
|
-
*
|
|
627
|
+
* 子菜单入口配置
|
|
648
628
|
*/
|
|
649
|
-
export declare interface
|
|
650
|
-
type
|
|
629
|
+
export declare interface EditorMenuEntryMenuItemConfig<TName extends string> extends EditorMenuBaseMenuItemConfig<TName> {
|
|
630
|
+
type?: 'entry';
|
|
651
631
|
/**
|
|
652
|
-
*
|
|
632
|
+
* 是否禁用菜单项,禁用后菜单项依旧显示不过变为灰色,不可点击
|
|
653
633
|
*/
|
|
654
|
-
|
|
634
|
+
disabled?: boolean;
|
|
655
635
|
/**
|
|
656
|
-
*
|
|
636
|
+
* 菜单项显示文本,修改该值可以替换此菜单项默认显示文案
|
|
637
|
+
*/
|
|
638
|
+
label?: string;
|
|
639
|
+
/**
|
|
640
|
+
* 菜单项图标,可以是 base64 的图片信息,也可以是图片 url
|
|
641
|
+
* 配置为空字符串则可以隐藏菜单项默认的图标
|
|
657
642
|
*/
|
|
658
643
|
icon?: string;
|
|
659
644
|
/**
|
|
660
|
-
*
|
|
645
|
+
* 下一级菜单配置,下一级菜单配置项和上一级相同
|
|
646
|
+
* 如果下一级仍然是 entry 类型,可以无限向下扩展
|
|
661
647
|
*/
|
|
662
|
-
children?:
|
|
648
|
+
children?: EditorMenuEntryConfig<TName>[];
|
|
663
649
|
}
|
|
664
650
|
|
|
665
651
|
/**
|
|
666
|
-
*
|
|
667
|
-
* 一级菜单在鼠标悬停时展示二级列表
|
|
652
|
+
* 隐藏菜单项配置
|
|
668
653
|
*/
|
|
669
|
-
export declare interface
|
|
670
|
-
/**
|
|
671
|
-
* 一级菜单名称
|
|
672
|
-
*/
|
|
673
|
-
name: string;
|
|
674
|
-
/**
|
|
675
|
-
* 二级菜单定义,定一个二维数组,用于定义二级菜单的结构,
|
|
676
|
-
* 将第一层数组中的所有按钮放到一个区域内用分隔符隔开,
|
|
677
|
-
* 第二层数组为按钮的定义,可以是功能按钮也可以是一个下拉入口。
|
|
678
|
-
*/
|
|
679
|
-
children: Array<EditorMenuFeatureButton<TName> | EditorMenuEntryButton<TName>>[];
|
|
680
|
-
/**
|
|
681
|
-
* 是否隐藏一级菜单
|
|
682
|
-
*/
|
|
654
|
+
export declare interface EditorMenuHiddenMenuItemConfig<TName extends string> extends EditorMenuBaseMenuItemConfig<TName> {
|
|
683
655
|
type?: 'hidden';
|
|
684
656
|
}
|
|
685
657
|
|
|
686
658
|
/**
|
|
687
|
-
*
|
|
659
|
+
* 菜单项类型
|
|
688
660
|
*/
|
|
689
|
-
export declare type
|
|
661
|
+
export declare type EditorMenuItemType = 'hidden' | 'button' | 'link' | 'entry';
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* 链接菜单项配置
|
|
665
|
+
*/
|
|
666
|
+
export declare interface EditorMenuLinkMenuItemConfig<TName extends string> extends EditorMenuBaseMenuItemConfig<TName> {
|
|
667
|
+
type?: 'link';
|
|
690
668
|
/**
|
|
691
|
-
*
|
|
669
|
+
* 是否禁用菜单项,禁用后菜单项依旧显示不过变为灰色,不可点击
|
|
692
670
|
*/
|
|
693
|
-
|
|
671
|
+
disabled?: boolean;
|
|
694
672
|
/**
|
|
695
|
-
*
|
|
673
|
+
* 菜单项显示文本,修改该值可以替换此菜单项默认显示文案
|
|
696
674
|
*/
|
|
697
|
-
|
|
698
|
-
} | {
|
|
699
|
-
type: 'button';
|
|
675
|
+
label?: string;
|
|
700
676
|
/**
|
|
701
|
-
*
|
|
677
|
+
* 菜单项图标,可以是 base64 的图片信息,也可以是图片 url
|
|
678
|
+
* 配置为空字符串则可以隐藏菜单项默认的图标
|
|
702
679
|
*/
|
|
703
|
-
|
|
680
|
+
icon?: string;
|
|
704
681
|
/**
|
|
705
|
-
*
|
|
682
|
+
* 跳转链接地址
|
|
706
683
|
*/
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
* 按钮图标,可以是 base64 的图片信息,也可以是图片 url
|
|
710
|
-
*/
|
|
711
|
-
icon?: string;
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* 菜单栏按钮配置
|
|
716
|
-
*/
|
|
717
|
-
export declare type EditorMenuFeatureButtonConfig<TName extends string> = Record<TName, EditorMenuFeatureButton<TName>>;
|
|
684
|
+
url?: string;
|
|
685
|
+
}
|
|
718
686
|
|
|
719
687
|
/**
|
|
720
688
|
* 菜单栏相关配置,目前菜单栏不是所有套件都支持,
|
|
@@ -722,25 +690,26 @@ export declare type EditorMenuFeatureButtonConfig<TName extends string> = Record
|
|
|
722
690
|
*/
|
|
723
691
|
export declare interface EditorMenuOptions<TName extends string> {
|
|
724
692
|
/**
|
|
725
|
-
*
|
|
693
|
+
* 菜单栏是否隐藏,设置为true, 则整个菜单栏不显示
|
|
726
694
|
*/
|
|
727
695
|
hidden?: boolean;
|
|
728
696
|
/**
|
|
729
|
-
*
|
|
697
|
+
* 是否禁用菜单栏所有功能。设置为true,菜单栏依旧显示,但所有菜单项为灰色不可点击
|
|
730
698
|
*/
|
|
731
699
|
disabled?: boolean;
|
|
732
700
|
/**
|
|
733
|
-
*
|
|
701
|
+
* 菜单栏一级菜单配置,指显示在菜单栏上的菜单项。
|
|
734
702
|
*/
|
|
735
703
|
entries?: EditorMenuEntryConfig<TName>[];
|
|
736
704
|
/**
|
|
737
705
|
* 菜单栏功能按钮配置
|
|
706
|
+
* TODO 此配置目前没有用到,后续看是保留还是和custom合并
|
|
738
707
|
*/
|
|
739
|
-
features?:
|
|
708
|
+
features?: EditorMenuEntryConfig<TName>[];
|
|
740
709
|
/**
|
|
741
710
|
* 自定义按钮配置
|
|
742
711
|
*/
|
|
743
|
-
custom?:
|
|
712
|
+
custom?: EditorMenuEntryConfig<TName>[];
|
|
744
713
|
}
|
|
745
714
|
|
|
746
715
|
/**
|
|
@@ -1103,43 +1072,15 @@ export declare interface EditorTextOptions<Color = string> {
|
|
|
1103
1072
|
}
|
|
1104
1073
|
|
|
1105
1074
|
/**
|
|
1106
|
-
*
|
|
1075
|
+
* 工具栏功能按钮配置(包括内置按钮和自定义按钮)
|
|
1107
1076
|
*/
|
|
1108
|
-
export declare interface
|
|
1077
|
+
export declare interface EditorToolbarFeatureButton<TName extends string> {
|
|
1109
1078
|
/**
|
|
1110
|
-
*
|
|
1079
|
+
* 按钮的唯一标识,用以确定配置的是哪个按钮。
|
|
1111
1080
|
*/
|
|
1112
|
-
name:
|
|
1113
|
-
/**
|
|
1114
|
-
* 按钮点击事件
|
|
1115
|
-
*/
|
|
1116
|
-
callback: () => void;
|
|
1117
|
-
/**
|
|
1118
|
-
* 按钮在工具栏中的位置,默认添加到工具栏所有按钮后面
|
|
1119
|
-
*/
|
|
1120
|
-
index?: number;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
* 工具栏自定义按钮配置
|
|
1125
|
-
*/
|
|
1126
|
-
export declare interface EditorToolbarCustomButtonConfig {
|
|
1127
|
-
/**
|
|
1128
|
-
* 按钮配置
|
|
1129
|
-
*/
|
|
1130
|
-
[key: string]: EditorToolbarCustomButton;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* 工具栏内置功能按钮配置
|
|
1135
|
-
*/
|
|
1136
|
-
export declare interface EditorToolbarFeatureButton<ToolButtonName extends string = EditorToolbarFeatureButtonName> {
|
|
1137
|
-
/**
|
|
1138
|
-
* 按钮类型
|
|
1139
|
-
*/
|
|
1140
|
-
name: ToolButtonName;
|
|
1081
|
+
name: TName;
|
|
1141
1082
|
/**
|
|
1142
|
-
*
|
|
1083
|
+
* 按钮标签(显示文本)一般工具栏上的按钮不会显示文本,如果需要显示文本,配置此项。
|
|
1143
1084
|
*/
|
|
1144
1085
|
label?: string;
|
|
1145
1086
|
/**
|
|
@@ -1147,63 +1088,38 @@ export declare interface EditorToolbarFeatureButton<ToolButtonName extends strin
|
|
|
1147
1088
|
*/
|
|
1148
1089
|
icon?: string;
|
|
1149
1090
|
/**
|
|
1150
|
-
*
|
|
1091
|
+
* 按钮是否隐藏,设置为true则隐藏按钮
|
|
1151
1092
|
*/
|
|
1152
1093
|
hidden?: boolean;
|
|
1153
1094
|
/**
|
|
1154
|
-
*
|
|
1095
|
+
* 按钮是否禁用,设置为true则变为灰色不可点击
|
|
1155
1096
|
*/
|
|
1156
1097
|
disabled?: boolean;
|
|
1157
1098
|
/**
|
|
1158
|
-
*
|
|
1099
|
+
* 按钮点击事件.接受一个函数,可以自定义点击事件。
|
|
1100
|
+
*/
|
|
1101
|
+
callback?: () => void;
|
|
1102
|
+
/**
|
|
1103
|
+
* 按钮提示文本,鼠标悬浮到按钮上时显示的tooltip文字
|
|
1159
1104
|
*/
|
|
1160
1105
|
tooltip?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* 按钮在工具栏中位置,不设置则按照默认位置
|
|
1108
|
+
*/
|
|
1109
|
+
index?: number;
|
|
1161
1110
|
}
|
|
1162
1111
|
|
|
1163
1112
|
/**
|
|
1164
1113
|
* 工具栏内置功能按钮配置
|
|
1165
1114
|
*/
|
|
1166
|
-
export declare type EditorToolbarFeatureButtonConfig<
|
|
1167
|
-
[key in
|
|
1115
|
+
export declare type EditorToolbarFeatureButtonConfig<TName extends string> = {
|
|
1116
|
+
[key in TName]?: EditorToolbarFeatureButton<key>;
|
|
1168
1117
|
};
|
|
1169
1118
|
|
|
1170
|
-
/**
|
|
1171
|
-
* 工具栏内置功能按钮
|
|
1172
|
-
*/
|
|
1173
|
-
export declare type EditorToolbarFeatureButtonName =
|
|
1174
|
-
/**
|
|
1175
|
-
* 加粗
|
|
1176
|
-
*/
|
|
1177
|
-
'bold'
|
|
1178
|
-
/**
|
|
1179
|
-
* 斜体
|
|
1180
|
-
*/
|
|
1181
|
-
| 'italic'
|
|
1182
|
-
/**
|
|
1183
|
-
* 下划线
|
|
1184
|
-
*/
|
|
1185
|
-
| 'underline'
|
|
1186
|
-
/**
|
|
1187
|
-
* 删除线
|
|
1188
|
-
*/
|
|
1189
|
-
| 'strikethrough'
|
|
1190
|
-
/**
|
|
1191
|
-
* 插入图片
|
|
1192
|
-
*/
|
|
1193
|
-
| 'insertImage'
|
|
1194
|
-
/**
|
|
1195
|
-
* 插入链接
|
|
1196
|
-
*/
|
|
1197
|
-
| 'insertLink'
|
|
1198
|
-
/**
|
|
1199
|
-
* 限制编辑
|
|
1200
|
-
*/
|
|
1201
|
-
| 'restriction';
|
|
1202
|
-
|
|
1203
1119
|
/**
|
|
1204
1120
|
* 工具栏相关设置,可以控制工具栏的显示内容
|
|
1205
1121
|
*/
|
|
1206
|
-
export declare interface EditorToolbarOptions<
|
|
1122
|
+
export declare interface EditorToolbarOptions<TName extends string> {
|
|
1207
1123
|
/**
|
|
1208
1124
|
* 控制工具栏显隐状态
|
|
1209
1125
|
*/
|
|
@@ -1215,11 +1131,11 @@ export declare interface EditorToolbarOptions<ToolButtonName extends string = Ed
|
|
|
1215
1131
|
/**
|
|
1216
1132
|
* 现有按钮的功能配置
|
|
1217
1133
|
*/
|
|
1218
|
-
features?: EditorToolbarFeatureButtonConfig<
|
|
1134
|
+
features?: EditorToolbarFeatureButtonConfig<TName>;
|
|
1219
1135
|
/**
|
|
1220
1136
|
* 自定义按钮
|
|
1221
1137
|
*/
|
|
1222
|
-
custom?:
|
|
1138
|
+
custom?: EditorToolbarFeatureButtonConfig<string>;
|
|
1223
1139
|
}
|
|
1224
1140
|
|
|
1225
1141
|
export declare type EditorUploadableFile = EditorLocalUploadableFile;
|
|
@@ -1460,19 +1376,19 @@ export declare type SheetCellValue = {
|
|
|
1460
1376
|
};
|
|
1461
1377
|
|
|
1462
1378
|
/**
|
|
1463
|
-
*
|
|
1379
|
+
* 专业表格工具栏一级菜单
|
|
1464
1380
|
*/
|
|
1465
1381
|
export declare type SheetMenuEntryConfig = EditorMenuEntryConfig<SheetMenuFeatureButtonName>;
|
|
1466
1382
|
|
|
1467
1383
|
/**
|
|
1468
|
-
*
|
|
1384
|
+
* 专业表格工具栏功能按钮
|
|
1469
1385
|
*/
|
|
1470
|
-
export declare type SheetMenuFeatureButtonConfig =
|
|
1386
|
+
export declare type SheetMenuFeatureButtonConfig = EditorMenuEntryConfig<SheetMenuFeatureButtonName>;
|
|
1471
1387
|
|
|
1472
1388
|
/**
|
|
1473
|
-
*
|
|
1389
|
+
* 专业表格工具栏内置功能按钮
|
|
1474
1390
|
*/
|
|
1475
|
-
export declare type SheetMenuFeatureButtonName = '
|
|
1391
|
+
export declare type SheetMenuFeatureButtonName = 'edit' | 'insert' | 'format' | 'formula' | 'data' | 'view' | 'form' | 'tools' | 'plugins' | 'help';
|
|
1476
1392
|
|
|
1477
1393
|
export declare type SheetMenuOptions = EditorMenuOptions<SheetMenuFeatureButtonName>;
|
|
1478
1394
|
|
|
@@ -1612,6 +1528,10 @@ export declare interface SheetSDKOptions extends EditorOptions {
|
|
|
1612
1528
|
* 菜单栏相关设置
|
|
1613
1529
|
*/
|
|
1614
1530
|
menu?: SheetMenuOptions;
|
|
1531
|
+
/**
|
|
1532
|
+
* 工具栏相关设置
|
|
1533
|
+
*/
|
|
1534
|
+
toolbar?: SheetToolbarOptions;
|
|
1615
1535
|
/**
|
|
1616
1536
|
* 文本格式相关设置
|
|
1617
1537
|
*/
|
|
@@ -1654,6 +1574,26 @@ export declare type SheetTextFormat = EditorTextFormat;
|
|
|
1654
1574
|
*/
|
|
1655
1575
|
export declare type SheetTextOptions = EditorTextOptions<string>;
|
|
1656
1576
|
|
|
1577
|
+
/**
|
|
1578
|
+
* 专业表格工具栏功能按钮
|
|
1579
|
+
*/
|
|
1580
|
+
export declare type SheetToolbarFeatureButton = EditorToolbarFeatureButton<SheetToolbarFeatureButtonName>;
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* 专业表格工具栏功能按钮配置
|
|
1584
|
+
*/
|
|
1585
|
+
export declare type SheetToolbarFeatureButtonConfig = EditorToolbarFeatureButtonConfig<SheetToolbarFeatureButtonName>;
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* 专业表格工具栏按钮名称
|
|
1589
|
+
*/
|
|
1590
|
+
export declare type SheetToolbarFeatureButtonName = 'undo' | 'redo' | 'print' | 'optionalPaste' | 'brush' | 'clear' | 'dataFormat' | 'percentage' | 'thousandsSeparator' | 'increasePrecision' | 'decreasePrecision' | 'fontFamily' | 'fontSize' | 'increaseFontSize' | 'decreaseFontSize' | 'fontColor' | 'bold' | 'italic' | 'underline' | 'strike' | 'border' | 'backgroundColor' | 'align' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'textWrap' | 'vertical' | 'verticalTop' | 'verticalMiddle' | 'verticalBottom' | 'mergeCell' | 'sheetLtr' | 'sheetRtl' | 'cellLtr' | 'cellRtl' | 'textRotation' | 'increaseIndent' | 'decreaseIndent' | 'frozen' | 'sort' | 'filter' | 'conditionalFormat' | 'dataValidation' | 'formula' | 'importRange' | 'checkbox' | 'link' | 'chart' | 'image' | 'quickTools' | 'searchReplace' | 'revision' | 'comment';
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* 专业表格工具栏
|
|
1594
|
+
*/
|
|
1595
|
+
export declare type SheetToolbarOptions = EditorToolbarOptions<SheetToolbarFeatureButtonName>;
|
|
1596
|
+
|
|
1657
1597
|
/**
|
|
1658
1598
|
* 工作表集合对象
|
|
1659
1599
|
*/
|