@officesdk/editor-sdk-core 0.0.0-alpha.17 → 0.0.0-alpha.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.
Files changed (42) hide show
  1. package/cjs/docs/index.js +1 -1
  2. package/cjs/docs/sdk.js +1 -1
  3. package/cjs/docs/theme.js +3 -0
  4. package/cjs/docx/sdk.js +1 -1
  5. package/cjs/form/sdk.js +1 -1
  6. package/cjs/presentation/index.js +1 -1
  7. package/cjs/presentation/sdk.js +1 -1
  8. package/cjs/presentation/slide-theme.js +3 -0
  9. package/cjs/presentation/theme.js +1 -1
  10. package/cjs/shared/index.js +1 -1
  11. package/cjs/shared/spell-check.js +1 -1
  12. package/cjs/shared/theme/components/menu.js +1 -1
  13. package/cjs/shared/theme/components/tooltip.js +1 -1
  14. package/cjs/shared/theme/index.js +1 -1
  15. package/cjs/sheet/form.js +1 -1
  16. package/esm/docs/index.js +1 -1
  17. package/esm/docs/sdk.js +1 -1
  18. package/esm/docs/theme.js +2 -0
  19. package/esm/docx/sdk.js +1 -1
  20. package/esm/form/sdk.js +1 -1
  21. package/esm/presentation/index.js +1 -1
  22. package/esm/presentation/sdk.js +1 -1
  23. package/esm/presentation/slide-theme.js +2 -0
  24. package/esm/presentation/theme.js +1 -1
  25. package/esm/shared/index.js +1 -1
  26. package/esm/shared/spell-check.js +1 -1
  27. package/esm/shared/theme/components/menu.js +1 -1
  28. package/esm/shared/theme/components/tooltip.js +1 -1
  29. package/esm/shared/theme/index.js +1 -1
  30. package/esm/sheet/form.js +1 -1
  31. package/package.json +1 -1
  32. package/types/combine.d.ts +180 -14
  33. package/types/diagram.d.ts +35 -6
  34. package/types/docs.d.ts +99 -6
  35. package/types/docx.d.ts +36 -7
  36. package/types/form.d.ts +38 -7
  37. package/types/mindmap.d.ts +35 -6
  38. package/types/pdf.d.ts +35 -6
  39. package/types/presentation.d.ts +114 -13
  40. package/types/shared.d.ts +35 -6
  41. package/types/sheet.d.ts +36 -6
  42. package/types/table.d.ts +35 -6
package/types/form.d.ts CHANGED
@@ -2491,18 +2491,47 @@ export declare interface EditorSocket {
2491
2491
  connected: boolean;
2492
2492
  }
2493
2493
 
2494
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2495
+ /** 词典文件的 aff 文件路径 */
2496
+ aff: string;
2497
+ /** 词典文件的 dic 文件路径 */
2498
+ dic: string;
2499
+ }
2500
+
2494
2501
  /**
2495
2502
  * 拼写检查相关配置
2496
2503
  */
2497
2504
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2498
2505
  /**
2499
- * 字典文件 CDN 路径
2506
+ * 拼写检查功能配置
2500
2507
  */
2501
- dictionaryCDNPath?: string;
2508
+ spellCheck?: {
2509
+ /**
2510
+ * 拼写检查功能是否被禁用
2511
+ */
2512
+ disabled?: boolean;
2513
+ /**
2514
+ * 拼写检查所需要的字典文件 CDN 域名
2515
+ */
2516
+ dictionaryCDNHost?: string;
2517
+ /**
2518
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2519
+ */
2520
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2521
+ };
2502
2522
  /**
2503
- * 拼写检查API的URL,必须使用绝对路径
2523
+ * 语法检查功能配置
2504
2524
  */
2505
- url?: string;
2525
+ grammarCheck?: {
2526
+ /**
2527
+ * 语法检查功能是否被禁用
2528
+ */
2529
+ disabled?: boolean;
2530
+ /**
2531
+ * 拼写检查API的URL,必须使用绝对路径
2532
+ */
2533
+ url?: string;
2534
+ };
2506
2535
  }
2507
2536
 
2508
2537
  /**
@@ -3713,8 +3742,6 @@ export declare interface MenuItemConfig {
3713
3742
  };
3714
3743
  /** 边框 */
3715
3744
  border: BorderConfig;
3716
- /** 圆角 */
3717
- borderRadius: string;
3718
3745
  /** 布局 */
3719
3746
  layout: {
3720
3747
  /** 内边距 */
@@ -4555,6 +4582,8 @@ export declare interface TooltipStyleConfig {
4555
4582
  lineHeight: string;
4556
4583
  /** 字重 */
4557
4584
  fontWeight: number;
4585
+ /** 最大宽度 */
4586
+ maxWidth?: string;
4558
4587
  }
4559
4588
 
4560
4589
  /** Tooltip White 风格配置 */
@@ -4643,7 +4672,9 @@ export declare interface UnauthedFormSDK {
4643
4672
  export declare interface UnauthedFormSDKOption {
4644
4673
  container: HTMLElement;
4645
4674
  /** 主题相关设置 */
4646
- theme: EditorThemeOptions;
4675
+ theme?: EditorThemeOptions;
4676
+ /** i18n 相关设置 */
4677
+ i18n?: EditorI18nOptions;
4647
4678
  filePicker?: EditorAttachmentOptions['picker'];
4648
4679
  fileUploader?: EditorAttachmentOptions['uploader'];
4649
4680
  /** 填写页无图片/附件的预览、下载等操作,也不存在权限判断,仅有对文件类型的限制,故简化配置项 */
@@ -2506,18 +2506,47 @@ export declare interface EditorSocket {
2506
2506
  connected: boolean;
2507
2507
  }
2508
2508
 
2509
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2510
+ /** 词典文件的 aff 文件路径 */
2511
+ aff: string;
2512
+ /** 词典文件的 dic 文件路径 */
2513
+ dic: string;
2514
+ }
2515
+
2509
2516
  /**
2510
2517
  * 拼写检查相关配置
2511
2518
  */
2512
2519
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2513
2520
  /**
2514
- * 字典文件 CDN 路径
2521
+ * 拼写检查功能配置
2515
2522
  */
2516
- dictionaryCDNPath?: string;
2523
+ spellCheck?: {
2524
+ /**
2525
+ * 拼写检查功能是否被禁用
2526
+ */
2527
+ disabled?: boolean;
2528
+ /**
2529
+ * 拼写检查所需要的字典文件 CDN 域名
2530
+ */
2531
+ dictionaryCDNHost?: string;
2532
+ /**
2533
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2534
+ */
2535
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2536
+ };
2517
2537
  /**
2518
- * 拼写检查API的URL,必须使用绝对路径
2538
+ * 语法检查功能配置
2519
2539
  */
2520
- url?: string;
2540
+ grammarCheck?: {
2541
+ /**
2542
+ * 语法检查功能是否被禁用
2543
+ */
2544
+ disabled?: boolean;
2545
+ /**
2546
+ * 拼写检查API的URL,必须使用绝对路径
2547
+ */
2548
+ url?: string;
2549
+ };
2521
2550
  }
2522
2551
 
2523
2552
  /**
@@ -3579,8 +3608,6 @@ export declare interface MenuItemConfig {
3579
3608
  };
3580
3609
  /** 边框 */
3581
3610
  border: BorderConfig;
3582
- /** 圆角 */
3583
- borderRadius: string;
3584
3611
  /** 布局 */
3585
3612
  layout: {
3586
3613
  /** 内边距 */
@@ -4417,6 +4444,8 @@ export declare interface TooltipStyleConfig {
4417
4444
  lineHeight: string;
4418
4445
  /** 字重 */
4419
4446
  fontWeight: number;
4447
+ /** 最大宽度 */
4448
+ maxWidth?: string;
4420
4449
  }
4421
4450
 
4422
4451
  /** Tooltip White 风格配置 */
package/types/pdf.d.ts CHANGED
@@ -2504,18 +2504,47 @@ export declare interface EditorSocket {
2504
2504
  connected: boolean;
2505
2505
  }
2506
2506
 
2507
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2508
+ /** 词典文件的 aff 文件路径 */
2509
+ aff: string;
2510
+ /** 词典文件的 dic 文件路径 */
2511
+ dic: string;
2512
+ }
2513
+
2507
2514
  /**
2508
2515
  * 拼写检查相关配置
2509
2516
  */
2510
2517
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2511
2518
  /**
2512
- * 字典文件 CDN 路径
2519
+ * 拼写检查功能配置
2513
2520
  */
2514
- dictionaryCDNPath?: string;
2521
+ spellCheck?: {
2522
+ /**
2523
+ * 拼写检查功能是否被禁用
2524
+ */
2525
+ disabled?: boolean;
2526
+ /**
2527
+ * 拼写检查所需要的字典文件 CDN 域名
2528
+ */
2529
+ dictionaryCDNHost?: string;
2530
+ /**
2531
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2532
+ */
2533
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2534
+ };
2515
2535
  /**
2516
- * 拼写检查API的URL,必须使用绝对路径
2536
+ * 语法检查功能配置
2517
2537
  */
2518
- url?: string;
2538
+ grammarCheck?: {
2539
+ /**
2540
+ * 语法检查功能是否被禁用
2541
+ */
2542
+ disabled?: boolean;
2543
+ /**
2544
+ * 拼写检查API的URL,必须使用绝对路径
2545
+ */
2546
+ url?: string;
2547
+ };
2519
2548
  }
2520
2549
 
2521
2550
  /**
@@ -3577,8 +3606,6 @@ export declare interface MenuItemConfig {
3577
3606
  };
3578
3607
  /** 边框 */
3579
3608
  border: BorderConfig;
3580
- /** 圆角 */
3581
- borderRadius: string;
3582
3609
  /** 布局 */
3583
3610
  layout: {
3584
3611
  /** 内边距 */
@@ -4647,6 +4674,8 @@ export declare interface TooltipStyleConfig {
4647
4674
  lineHeight: string;
4648
4675
  /** 字重 */
4649
4676
  fontWeight: number;
4677
+ /** 最大宽度 */
4678
+ maxWidth?: string;
4650
4679
  }
4651
4680
 
4652
4681
  /** Tooltip White 风格配置 */
@@ -2510,18 +2510,47 @@ export declare interface EditorSocket {
2510
2510
  connected: boolean;
2511
2511
  }
2512
2512
 
2513
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2514
+ /** 词典文件的 aff 文件路径 */
2515
+ aff: string;
2516
+ /** 词典文件的 dic 文件路径 */
2517
+ dic: string;
2518
+ }
2519
+
2513
2520
  /**
2514
2521
  * 拼写检查相关配置
2515
2522
  */
2516
2523
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2517
2524
  /**
2518
- * 字典文件 CDN 路径
2525
+ * 拼写检查功能配置
2519
2526
  */
2520
- dictionaryCDNPath?: string;
2527
+ spellCheck?: {
2528
+ /**
2529
+ * 拼写检查功能是否被禁用
2530
+ */
2531
+ disabled?: boolean;
2532
+ /**
2533
+ * 拼写检查所需要的字典文件 CDN 域名
2534
+ */
2535
+ dictionaryCDNHost?: string;
2536
+ /**
2537
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2538
+ */
2539
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2540
+ };
2521
2541
  /**
2522
- * 拼写检查API的URL,必须使用绝对路径
2542
+ * 语法检查功能配置
2523
2543
  */
2524
- url?: string;
2544
+ grammarCheck?: {
2545
+ /**
2546
+ * 语法检查功能是否被禁用
2547
+ */
2548
+ disabled?: boolean;
2549
+ /**
2550
+ * 拼写检查API的URL,必须使用绝对路径
2551
+ */
2552
+ url?: string;
2553
+ };
2525
2554
  }
2526
2555
 
2527
2556
  /**
@@ -3583,8 +3612,6 @@ export declare interface MenuItemConfig {
3583
3612
  };
3584
3613
  /** 边框 */
3585
3614
  border: BorderConfig;
3586
- /** 圆角 */
3587
- borderRadius: string;
3588
3615
  /** 布局 */
3589
3616
  layout: {
3590
3617
  /** 内边距 */
@@ -3941,9 +3968,13 @@ export declare interface PresentationSDKOptions extends EditorOptions {
3941
3968
  */
3942
3969
  chart?: PresentationChartOptions;
3943
3970
  /**
3944
- * 主题相关设置
3971
+ * UI主题相关设置
3972
+ */
3973
+ theme?: PresentationThemeOptions;
3974
+ /**
3975
+ * 幻灯片主题相关设置
3945
3976
  */
3946
- theme: PresentationThemeOptions;
3977
+ slideTheme?: PresentationSlideThemeOptions;
3947
3978
  /**
3948
3979
  * 图示相关设置
3949
3980
  */
@@ -4130,9 +4161,9 @@ export declare interface PresentationSlidesPaneOptions {
4130
4161
  }
4131
4162
 
4132
4163
  /**
4133
- * Presentation 特定主题配置
4164
+ * Presentation 幻灯片主题配置
4134
4165
  */
4135
- export declare interface PresentationSpecificThemeOptions extends EditorFeatureConfig {
4166
+ export declare interface PresentationSlideThemeOptions extends EditorFeatureConfig {
4136
4167
  /**
4137
4168
  * 是否禁用图片缓存, 默认不禁用
4138
4169
  */
@@ -4216,11 +4247,79 @@ export declare interface PresentationTextRangeValue {
4216
4247
  }
4217
4248
 
4218
4249
  /**
4219
- * Presentation 主题配置扩展
4250
+ * Presentation UI 主题配置扩展
4220
4251
  */
4221
4252
  export declare interface PresentationThemeExtensions {
4222
- /** Presentation 特定配置 */
4223
- presentation?: PresentationSpecificThemeOptions;
4253
+ /** 画布 */
4254
+ canvas: {
4255
+ background: string;
4256
+ };
4257
+ /** 设置面板,包括动画、辅助面板、音频设置等等面板 */
4258
+ settingPanel: {
4259
+ background: string;
4260
+ };
4261
+ /** 工具栏 */
4262
+ toolbar: {
4263
+ background: string;
4264
+ };
4265
+ /** 状态栏 */
4266
+ statusBar: {
4267
+ background: string;
4268
+ };
4269
+ /** 幻灯片窗格 */
4270
+ slidesPane: {
4271
+ background: string;
4272
+ /** 幻灯片缩略图 */
4273
+ thumbnail: {
4274
+ /** 边框 */
4275
+ border: {
4276
+ selectedColor: string;
4277
+ };
4278
+ };
4279
+ };
4280
+ /** 历史 */
4281
+ history: {
4282
+ header: {
4283
+ background: string;
4284
+ boxShadow: string;
4285
+ title: {
4286
+ color: string;
4287
+ };
4288
+ description: {
4289
+ color: string;
4290
+ };
4291
+ /** 退出按钮 */
4292
+ quitButton: {
4293
+ icon: IconConfig;
4294
+ };
4295
+ };
4296
+ /** 侧边栏 */
4297
+ sidePanel: {
4298
+ /** 背景 */
4299
+ background: string;
4300
+ };
4301
+ };
4302
+ /** 打印 */
4303
+ print: {
4304
+ /** 头部 */
4305
+ header: {
4306
+ background: string;
4307
+ boxShadow: string;
4308
+ title: {
4309
+ color: string;
4310
+ };
4311
+ description: {
4312
+ color: string;
4313
+ };
4314
+ };
4315
+ /** 侧边栏 */
4316
+ sidePanel: {
4317
+ background: string;
4318
+ };
4319
+ content: {
4320
+ background: string;
4321
+ };
4322
+ };
4224
4323
  }
4225
4324
 
4226
4325
  /**
@@ -5008,6 +5107,8 @@ export declare interface TooltipStyleConfig {
5008
5107
  lineHeight: string;
5009
5108
  /** 字重 */
5010
5109
  fontWeight: number;
5110
+ /** 最大宽度 */
5111
+ maxWidth?: string;
5011
5112
  }
5012
5113
 
5013
5114
  /** Tooltip White 风格配置 */
package/types/shared.d.ts CHANGED
@@ -2466,18 +2466,47 @@ export declare interface EditorSocket {
2466
2466
  connected: boolean;
2467
2467
  }
2468
2468
 
2469
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2470
+ /** 词典文件的 aff 文件路径 */
2471
+ aff: string;
2472
+ /** 词典文件的 dic 文件路径 */
2473
+ dic: string;
2474
+ }
2475
+
2469
2476
  /**
2470
2477
  * 拼写检查相关配置
2471
2478
  */
2472
2479
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2473
2480
  /**
2474
- * 字典文件 CDN 路径
2481
+ * 拼写检查功能配置
2475
2482
  */
2476
- dictionaryCDNPath?: string;
2483
+ spellCheck?: {
2484
+ /**
2485
+ * 拼写检查功能是否被禁用
2486
+ */
2487
+ disabled?: boolean;
2488
+ /**
2489
+ * 拼写检查所需要的字典文件 CDN 域名
2490
+ */
2491
+ dictionaryCDNHost?: string;
2492
+ /**
2493
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2494
+ */
2495
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2496
+ };
2477
2497
  /**
2478
- * 拼写检查API的URL,必须使用绝对路径
2498
+ * 语法检查功能配置
2479
2499
  */
2480
- url?: string;
2500
+ grammarCheck?: {
2501
+ /**
2502
+ * 语法检查功能是否被禁用
2503
+ */
2504
+ disabled?: boolean;
2505
+ /**
2506
+ * 拼写检查API的URL,必须使用绝对路径
2507
+ */
2508
+ url?: string;
2509
+ };
2481
2510
  }
2482
2511
 
2483
2512
  /**
@@ -3539,8 +3568,6 @@ export declare interface MenuItemConfig {
3539
3568
  };
3540
3569
  /** 边框 */
3541
3570
  border: BorderConfig;
3542
- /** 圆角 */
3543
- borderRadius: string;
3544
3571
  /** 布局 */
3545
3572
  layout: {
3546
3573
  /** 内边距 */
@@ -4367,6 +4394,8 @@ export declare interface TooltipStyleConfig {
4367
4394
  lineHeight: string;
4368
4395
  /** 字重 */
4369
4396
  fontWeight: number;
4397
+ /** 最大宽度 */
4398
+ maxWidth?: string;
4370
4399
  }
4371
4400
 
4372
4401
  /** Tooltip White 风格配置 */
package/types/sheet.d.ts CHANGED
@@ -2607,18 +2607,47 @@ export declare interface EditorSocket {
2607
2607
  connected: boolean;
2608
2608
  }
2609
2609
 
2610
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2611
+ /** 词典文件的 aff 文件路径 */
2612
+ aff: string;
2613
+ /** 词典文件的 dic 文件路径 */
2614
+ dic: string;
2615
+ }
2616
+
2610
2617
  /**
2611
2618
  * 拼写检查相关配置
2612
2619
  */
2613
2620
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2614
2621
  /**
2615
- * 字典文件 CDN 路径
2622
+ * 拼写检查功能配置
2616
2623
  */
2617
- dictionaryCDNPath?: string;
2624
+ spellCheck?: {
2625
+ /**
2626
+ * 拼写检查功能是否被禁用
2627
+ */
2628
+ disabled?: boolean;
2629
+ /**
2630
+ * 拼写检查所需要的字典文件 CDN 域名
2631
+ */
2632
+ dictionaryCDNHost?: string;
2633
+ /**
2634
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2635
+ */
2636
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2637
+ };
2618
2638
  /**
2619
- * 拼写检查API的URL,必须使用绝对路径
2639
+ * 语法检查功能配置
2620
2640
  */
2621
- url?: string;
2641
+ grammarCheck?: {
2642
+ /**
2643
+ * 语法检查功能是否被禁用
2644
+ */
2645
+ disabled?: boolean;
2646
+ /**
2647
+ * 拼写检查API的URL,必须使用绝对路径
2648
+ */
2649
+ url?: string;
2650
+ };
2622
2651
  }
2623
2652
 
2624
2653
  /**
@@ -3757,8 +3786,6 @@ export declare interface MenuItemConfig {
3757
3786
  };
3758
3787
  /** 边框 */
3759
3788
  border: BorderConfig;
3760
- /** 圆角 */
3761
- borderRadius: string;
3762
3789
  /** 布局 */
3763
3790
  layout: {
3764
3791
  /** 内边距 */
@@ -4255,6 +4282,7 @@ export declare interface SheetFormOptions extends EditorFeatureConfig {
4255
4282
  }) => Promise<{
4256
4283
  guid: string;
4257
4284
  id: number;
4285
+ fullUrl?: string;
4258
4286
  }>;
4259
4287
  /**
4260
4288
  * 获取表单文件的父级文件
@@ -5582,6 +5610,8 @@ export declare interface TooltipStyleConfig {
5582
5610
  lineHeight: string;
5583
5611
  /** 字重 */
5584
5612
  fontWeight: number;
5613
+ /** 最大宽度 */
5614
+ maxWidth?: string;
5585
5615
  }
5586
5616
 
5587
5617
  /** Tooltip White 风格配置 */
package/types/table.d.ts CHANGED
@@ -2586,18 +2586,47 @@ export declare interface EditorSocket {
2586
2586
  connected: boolean;
2587
2587
  }
2588
2588
 
2589
+ export declare interface EditorSpellCheckDictionaryFileConfig {
2590
+ /** 词典文件的 aff 文件路径 */
2591
+ aff: string;
2592
+ /** 词典文件的 dic 文件路径 */
2593
+ dic: string;
2594
+ }
2595
+
2589
2596
  /**
2590
2597
  * 拼写检查相关配置
2591
2598
  */
2592
2599
  export declare interface EditorSpellCheckOptions extends EditorFeatureConfig {
2593
2600
  /**
2594
- * 字典文件 CDN 路径
2601
+ * 拼写检查功能配置
2595
2602
  */
2596
- dictionaryCDNPath?: string;
2603
+ spellCheck?: {
2604
+ /**
2605
+ * 拼写检查功能是否被禁用
2606
+ */
2607
+ disabled?: boolean;
2608
+ /**
2609
+ * 拼写检查所需要的字典文件 CDN 域名
2610
+ */
2611
+ dictionaryCDNHost?: string;
2612
+ /**
2613
+ * 自定义拼写检查词典, 用于覆盖内置的默认词典
2614
+ */
2615
+ customDictionary?: Partial<Record<EditorLanguage, EditorSpellCheckDictionaryFileConfig>>;
2616
+ };
2597
2617
  /**
2598
- * 拼写检查API的URL,必须使用绝对路径
2618
+ * 语法检查功能配置
2599
2619
  */
2600
- url?: string;
2620
+ grammarCheck?: {
2621
+ /**
2622
+ * 语法检查功能是否被禁用
2623
+ */
2624
+ disabled?: boolean;
2625
+ /**
2626
+ * 拼写检查API的URL,必须使用绝对路径
2627
+ */
2628
+ url?: string;
2629
+ };
2601
2630
  }
2602
2631
 
2603
2632
  /**
@@ -3748,8 +3777,6 @@ export declare interface MenuItemConfig {
3748
3777
  };
3749
3778
  /** 边框 */
3750
3779
  border: BorderConfig;
3751
- /** 圆角 */
3752
- borderRadius: string;
3753
3780
  /** 布局 */
3754
3781
  layout: {
3755
3782
  /** 内边距 */
@@ -6088,6 +6115,8 @@ export declare interface TooltipStyleConfig {
6088
6115
  lineHeight: string;
6089
6116
  /** 字重 */
6090
6117
  fontWeight: number;
6118
+ /** 最大宽度 */
6119
+ maxWidth?: string;
6091
6120
  }
6092
6121
 
6093
6122
  /** Tooltip White 风格配置 */