@veltra/sheet 2.5.6 → 2.5.7

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.
@@ -18,6 +18,7 @@ import {
18
18
  Underline,
19
19
  UnmergeCells,
20
20
  Upload,
21
+ Variable,
21
22
  VerticalAlignCenter,
22
23
  VerticalAlignLeft,
23
24
  VerticalAlignRight,
@@ -365,7 +366,7 @@ registerTool({
365
366
  }
366
367
  })
367
368
 
368
- // ─── edit(查找)───────────────────────────────────────────
369
+ // ─── edit(查找 / 函数)──────────────────────────────────────
369
370
 
370
371
  registerTool({
371
372
  id: 'find',
@@ -378,6 +379,17 @@ registerTool({
378
379
  onClick: () => {}
379
380
  })
380
381
 
382
+ registerTool({
383
+ id: 'functions',
384
+ title: '函数',
385
+ icon: Variable,
386
+ tooltip: '按分类浏览并插入函数',
387
+ group: 'edit',
388
+ order: 1,
389
+ popup: 'functions',
390
+ onClick: () => {}
391
+ })
392
+
381
393
  // ─── insert(插入图片)─────────────────────────────────────
382
394
 
383
395
  registerTool({
@@ -20,6 +20,7 @@ export type SheetToolPopupType =
20
20
  | 'font-color'
21
21
  | 'font-size'
22
22
  | 'find'
23
+ | 'functions'
23
24
  | 'insert-image'
24
25
  | 'export'
25
26