@univerjs/sheets 0.1.4 → 0.1.6

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 (109) hide show
  1. package/lib/cjs/index.js +2 -2
  2. package/lib/es/index.js +2660 -2347
  3. package/lib/types/basics/const/default-spreadsheet-plugin-data.d.ts +2 -16
  4. package/lib/types/basics/interfaces/i-ruler-manager.d.ts +2 -16
  5. package/lib/types/basics/interfaces/mutation-interface.d.ts +2 -16
  6. package/lib/types/basics/interfaces/selection-config.d.ts +2 -16
  7. package/lib/types/basics/interfaces/spreadsheet-config.d.ts +2 -16
  8. package/lib/types/basics/rangeMerge.d.ts +2 -17
  9. package/lib/types/basics/selection.d.ts +2 -16
  10. package/lib/types/basics/sheet-header.d.ts +2 -16
  11. package/lib/types/commands/commands/__tests__/create-command-test-bed.d.ts +3 -19
  12. package/lib/types/commands/commands/__tests__/remove-rows-cols.command.spec.d.ts +16 -0
  13. package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +2 -17
  14. package/lib/types/commands/commands/clear-selection-all.command.d.ts +2 -16
  15. package/lib/types/commands/commands/clear-selection-content.command.d.ts +2 -16
  16. package/lib/types/commands/commands/clear-selection-format.command.d.ts +2 -16
  17. package/lib/types/commands/commands/copy-to-worksheet.command.d.ts +2 -16
  18. package/lib/types/commands/commands/copy-worksheet.command.d.ts +2 -16
  19. package/lib/types/commands/commands/delete-range-move-left.command.d.ts +2 -16
  20. package/lib/types/commands/commands/delete-range-move-up.command.d.ts +2 -16
  21. package/lib/types/commands/commands/insert-defined-name.command.d.ts +6 -0
  22. package/lib/types/commands/commands/insert-range-move-down.command.d.ts +2 -16
  23. package/lib/types/commands/commands/insert-range-move-right.command.d.ts +2 -16
  24. package/lib/types/commands/commands/insert-row-col.command.d.ts +2 -17
  25. package/lib/types/commands/commands/insert-sheet.command.d.ts +2 -16
  26. package/lib/types/commands/commands/move-range.command.d.ts +3 -17
  27. package/lib/types/commands/commands/move-rows-cols.command.d.ts +2 -16
  28. package/lib/types/commands/commands/remove-defined-name.command.d.ts +6 -0
  29. package/lib/types/commands/commands/remove-row-col.command.d.ts +2 -16
  30. package/lib/types/commands/commands/remove-sheet.command.d.ts +2 -16
  31. package/lib/types/commands/commands/remove-worksheet-merge.command.d.ts +2 -16
  32. package/lib/types/commands/commands/set-border-command.d.ts +3 -18
  33. package/lib/types/commands/commands/set-col-visible.command.d.ts +2 -16
  34. package/lib/types/commands/commands/set-defined-name.command.d.ts +12 -0
  35. package/lib/types/commands/commands/set-frozen-cancel.command.d.ts +2 -16
  36. package/lib/types/commands/commands/set-frozen.command.d.ts +2 -16
  37. package/lib/types/commands/commands/set-hide-gridlines.command.d.ts +2 -17
  38. package/lib/types/commands/commands/set-range-values.command.d.ts +3 -17
  39. package/lib/types/commands/commands/set-row-visible.command.d.ts +2 -16
  40. package/lib/types/commands/commands/set-style.command.d.ts +4 -18
  41. package/lib/types/commands/commands/set-tab-color.command.d.ts +2 -16
  42. package/lib/types/commands/commands/set-worksheet-activate.command.d.ts +2 -16
  43. package/lib/types/commands/commands/set-worksheet-col-width.command.d.ts +2 -16
  44. package/lib/types/commands/commands/set-worksheet-hide.command.d.ts +2 -16
  45. package/lib/types/commands/commands/set-worksheet-name.command.d.ts +2 -16
  46. package/lib/types/commands/commands/set-worksheet-order.command.d.ts +2 -16
  47. package/lib/types/commands/commands/set-worksheet-right-to-left.command.d.ts +2 -17
  48. package/lib/types/commands/commands/set-worksheet-row-height.command.d.ts +2 -16
  49. package/lib/types/commands/commands/set-worksheet-show.command.d.ts +2 -16
  50. package/lib/types/commands/commands/utils/merged-cell-util.d.ts +2 -16
  51. package/lib/types/commands/commands/utils/selection-utils.d.ts +4 -17
  52. package/lib/types/commands/mutations/__tests__/create-command-test-bed.d.ts +3 -19
  53. package/lib/types/commands/mutations/__tests__/set-range-values.mutation.spec.d.ts +16 -0
  54. package/lib/types/commands/mutations/add-worksheet-merge.mutation.d.ts +4 -18
  55. package/lib/types/commands/mutations/empty.mutation.d.ts +2 -16
  56. package/lib/types/commands/mutations/insert-row-col.mutation.d.ts +4 -18
  57. package/lib/types/commands/mutations/insert-sheet.mutation.d.ts +4 -18
  58. package/lib/types/commands/mutations/move-range.mutation.d.ts +2 -16
  59. package/lib/types/commands/mutations/move-rows-cols.mutation.d.ts +3 -17
  60. package/lib/types/commands/mutations/numfmt-mutation.d.ts +4 -18
  61. package/lib/types/commands/mutations/remove-row-col.mutation.d.ts +4 -18
  62. package/lib/types/commands/mutations/remove-sheet.mutation.d.ts +4 -18
  63. package/lib/types/commands/mutations/remove-worksheet-merge.mutation.d.ts +4 -18
  64. package/lib/types/commands/mutations/set-col-visible.mutation.d.ts +3 -17
  65. package/lib/types/commands/mutations/set-frozen.mutation.d.ts +3 -17
  66. package/lib/types/commands/mutations/set-hide-gridlines.mutatiom.d.ts +3 -17
  67. package/lib/types/commands/mutations/set-range-values.mutation.d.ts +18 -17
  68. package/lib/types/commands/mutations/set-row-visible.mutation.d.ts +3 -17
  69. package/lib/types/commands/mutations/set-tab-color.mutation.d.ts +3 -17
  70. package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +3 -17
  71. package/lib/types/commands/mutations/set-worksheet-config.mutation.d.ts +3 -17
  72. package/lib/types/commands/mutations/set-worksheet-hide.mutation.d.ts +3 -17
  73. package/lib/types/commands/mutations/set-worksheet-name.mutation.d.ts +3 -17
  74. package/lib/types/commands/mutations/set-worksheet-order.mutation.d.ts +5 -18
  75. package/lib/types/commands/mutations/set-worksheet-right-to-left.mutation.d.ts +3 -17
  76. package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts +4 -18
  77. package/lib/types/commands/operations/scroll-to-cell.operation.d.ts +3 -0
  78. package/lib/types/commands/operations/selection.operation.d.ts +4 -18
  79. package/lib/types/commands/operations/set-worksheet-active.operation.d.ts +2 -16
  80. package/lib/types/commands/utils/get-target.d.ts +2 -16
  81. package/lib/types/commands/utils/handle-merge-operation.d.ts +5 -19
  82. package/lib/types/commands/utils/handle-range-mutation.d.ts +4 -19
  83. package/lib/types/controllers/__tests__/util.d.ts +10 -25
  84. package/lib/types/controllers/basic-worksheet.controller.d.ts +3 -18
  85. package/lib/types/controllers/calculate-result-apply.controller.d.ts +1 -15
  86. package/lib/types/controllers/defined-name-data.controller.d.ts +12 -0
  87. package/lib/types/controllers/feature-calculation.controller.d.ts +2 -16
  88. package/lib/types/controllers/merge-cell.controller.d.ts +20 -20
  89. package/lib/types/index.d.ts +6 -2
  90. package/lib/types/locale/en-US.d.ts +2 -16
  91. package/lib/types/services/__tests__/util.d.ts +10 -25
  92. package/lib/types/services/border-style-manager.service.d.ts +3 -17
  93. package/lib/types/services/numfmt/numfmt.service.d.ts +5 -19
  94. package/lib/types/services/numfmt/type.d.ts +5 -18
  95. package/lib/types/services/permission/permission-point.d.ts +1 -15
  96. package/lib/types/services/permission/sheet-permission.service.d.ts +3 -18
  97. package/lib/types/services/permission/tool.d.ts +2 -16
  98. package/lib/types/services/ref-range/__tests__/util.d.ts +10 -25
  99. package/lib/types/services/ref-range/ref-range.service.d.ts +9 -22
  100. package/lib/types/services/ref-range/type.d.ts +10 -32
  101. package/lib/types/services/ref-range/util.d.ts +10 -22
  102. package/lib/types/services/selection-manager.service.d.ts +7 -21
  103. package/lib/types/services/sheet-interceptor/__tests__/create-core-test-bed.d.ts +10 -25
  104. package/lib/types/services/sheet-interceptor/interceptor-const.d.ts +5 -19
  105. package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts +6 -21
  106. package/lib/types/services/sheet-interceptor/utils/interceptor.d.ts +2 -16
  107. package/lib/types/sheets-plugin.d.ts +2 -16
  108. package/lib/umd/index.js +2 -2
  109. package/package.json +10 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal base-sheets",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -52,21 +52,20 @@
52
52
  "peerDependencies": {
53
53
  "@wendellhu/redi": "0.13.0",
54
54
  "rxjs": ">=7.0.0",
55
- "@univerjs/core": "0.1.4",
56
- "@univerjs/engine-formula": "0.1.4",
57
- "@univerjs/engine-render": "0.1.4"
55
+ "@univerjs/engine-render": "0.1.6",
56
+ "@univerjs/core": "0.1.6",
57
+ "@univerjs/engine-formula": "0.1.6"
58
58
  },
59
- "dependencies": {},
60
59
  "devDependencies": {
61
60
  "@wendellhu/redi": "^0.13.0",
62
61
  "rxjs": "^7.8.1",
63
- "typescript": "^5.4.2",
64
- "vite": "^5.1.6",
62
+ "typescript": "^5.4.3",
63
+ "vite": "^5.2.7",
65
64
  "vitest": "^1.4.0",
66
- "@univerjs/core": "0.1.4",
67
- "@univerjs/engine-render": "0.1.4",
68
- "@univerjs/engine-formula": "0.1.4",
69
- "@univerjs/shared": "0.1.4"
65
+ "@univerjs/engine-render": "0.1.6",
66
+ "@univerjs/engine-formula": "0.1.6",
67
+ "@univerjs/core": "0.1.6",
68
+ "@univerjs/shared": "0.1.6"
70
69
  },
71
70
  "scripts": {
72
71
  "test": "vitest run",