@univerjs/core 0.1.0-alpha.1

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 (331) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -0
  3. package/lib/cjs/index.js +15323 -0
  4. package/lib/esm/index.js +14601 -0
  5. package/lib/types/basics/index.d.ts +6 -0
  6. package/lib/types/basics/index.d.ts.map +1 -0
  7. package/lib/types/basics/registry.d.ts +27 -0
  8. package/lib/types/basics/registry.d.ts.map +1 -0
  9. package/lib/types/basics/univer-doc.d.ts +20 -0
  10. package/lib/types/basics/univer-doc.d.ts.map +1 -0
  11. package/lib/types/basics/univer-sheet.d.ts +31 -0
  12. package/lib/types/basics/univer-sheet.d.ts.map +1 -0
  13. package/lib/types/basics/univer-slide.d.ts +29 -0
  14. package/lib/types/basics/univer-slide.d.ts.map +1 -0
  15. package/lib/types/basics/univer.d.ts +41 -0
  16. package/lib/types/basics/univer.d.ts.map +1 -0
  17. package/lib/types/common/array.d.ts +15 -0
  18. package/lib/types/common/array.d.ts.map +1 -0
  19. package/lib/types/common/color/color-builder.d.ts +1 -0
  20. package/lib/types/common/color/color-builder.d.ts.map +1 -0
  21. package/lib/types/common/const.d.ts +4 -0
  22. package/lib/types/common/const.d.ts.map +1 -0
  23. package/lib/types/common/interceptor.d.ts +21 -0
  24. package/lib/types/common/interceptor.d.ts.map +1 -0
  25. package/lib/types/common/memory-cursor.d.ts +6 -0
  26. package/lib/types/common/memory-cursor.d.ts.map +1 -0
  27. package/lib/types/common/sequence.d.ts +18 -0
  28. package/lib/types/common/sequence.d.ts.map +1 -0
  29. package/lib/types/common/type-utils.d.ts +5 -0
  30. package/lib/types/common/type-utils.d.ts.map +1 -0
  31. package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts +2 -0
  32. package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts.map +1 -0
  33. package/lib/types/docs/data-model/apply-utils/common.d.ts +30 -0
  34. package/lib/types/docs/data-model/apply-utils/common.d.ts.map +1 -0
  35. package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts +3 -0
  36. package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts.map +1 -0
  37. package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts +3 -0
  38. package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts.map +1 -0
  39. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts +5 -0
  40. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts.map +1 -0
  41. package/lib/types/docs/data-model/document-data-model.d.ts +57 -0
  42. package/lib/types/docs/data-model/document-data-model.d.ts.map +1 -0
  43. package/lib/types/docs/data-model/index.d.ts +3 -0
  44. package/lib/types/docs/data-model/index.d.ts.map +1 -0
  45. package/lib/types/docs/data-model/mutation-types.d.ts +33 -0
  46. package/lib/types/docs/data-model/mutation-types.d.ts.map +1 -0
  47. package/lib/types/docs/data-model/types.d.ts +27 -0
  48. package/lib/types/docs/data-model/types.d.ts.map +1 -0
  49. package/lib/types/docs/index.d.ts +2 -0
  50. package/lib/types/docs/index.d.ts.map +1 -0
  51. package/lib/types/index.d.ts +42 -0
  52. package/lib/types/index.d.ts.map +1 -0
  53. package/lib/types/observer/index.d.ts +3 -0
  54. package/lib/types/observer/index.d.ts.map +1 -0
  55. package/lib/types/observer/observable-hooks.d.ts +19 -0
  56. package/lib/types/observer/observable-hooks.d.ts.map +1 -0
  57. package/lib/types/observer/observable.d.ts +170 -0
  58. package/lib/types/observer/observable.d.ts.map +1 -0
  59. package/lib/types/plugin/plugin.d.ts +49 -0
  60. package/lib/types/plugin/plugin.d.ts.map +1 -0
  61. package/lib/types/services/auth/auth.service.d.ts +3 -0
  62. package/lib/types/services/auth/auth.service.d.ts.map +1 -0
  63. package/lib/types/services/command/command.service.d.ts +117 -0
  64. package/lib/types/services/command/command.service.d.ts.map +1 -0
  65. package/lib/types/services/command/command.service.spec.d.ts +2 -0
  66. package/lib/types/services/command/command.service.spec.d.ts.map +1 -0
  67. package/lib/types/services/config/config.service.d.ts +18 -0
  68. package/lib/types/services/config/config.service.d.ts.map +1 -0
  69. package/lib/types/services/context/context.d.ts +8 -0
  70. package/lib/types/services/context/context.d.ts.map +1 -0
  71. package/lib/types/services/context/context.service.d.ts +17 -0
  72. package/lib/types/services/context/context.service.d.ts.map +1 -0
  73. package/lib/types/services/error/error.service.d.ts +11 -0
  74. package/lib/types/services/error/error.service.d.ts.map +1 -0
  75. package/lib/types/services/floating-object/floating-object-interfaces.d.ts +20 -0
  76. package/lib/types/services/floating-object/floating-object-interfaces.d.ts.map +1 -0
  77. package/lib/types/services/floating-object/floating-object-manager.service.d.ts +82 -0
  78. package/lib/types/services/floating-object/floating-object-manager.service.d.ts.map +1 -0
  79. package/lib/types/services/instance/instance.service.d.ts +113 -0
  80. package/lib/types/services/instance/instance.service.d.ts.map +1 -0
  81. package/lib/types/services/lifecycle/lifecycle.d.ts +36 -0
  82. package/lib/types/services/lifecycle/lifecycle.d.ts.map +1 -0
  83. package/lib/types/services/lifecycle/lifecycle.service.d.ts +23 -0
  84. package/lib/types/services/lifecycle/lifecycle.service.d.ts.map +1 -0
  85. package/lib/types/services/local-storage/local-storage.service.d.ts +12 -0
  86. package/lib/types/services/local-storage/local-storage.service.d.ts.map +1 -0
  87. package/lib/types/services/locale/locale.service.d.ts +26 -0
  88. package/lib/types/services/locale/locale.service.d.ts.map +1 -0
  89. package/lib/types/services/log/log.service.d.ts +18 -0
  90. package/lib/types/services/log/log.service.d.ts.map +1 -0
  91. package/lib/types/services/permission/index.d.ts +4 -0
  92. package/lib/types/services/permission/index.d.ts.map +1 -0
  93. package/lib/types/services/permission/permission-point.d.ts +9 -0
  94. package/lib/types/services/permission/permission-point.d.ts.map +1 -0
  95. package/lib/types/services/permission/permission.service.d.ts +31 -0
  96. package/lib/types/services/permission/permission.service.d.ts.map +1 -0
  97. package/lib/types/services/permission/univer.permission.service.d.ts +12 -0
  98. package/lib/types/services/permission/univer.permission.service.d.ts.map +1 -0
  99. package/lib/types/services/resource-manager/resource-manager.service.d.ts +25 -0
  100. package/lib/types/services/resource-manager/resource-manager.service.d.ts.map +1 -0
  101. package/lib/types/services/resource-manager/type.d.ts +23 -0
  102. package/lib/types/services/resource-manager/type.d.ts.map +1 -0
  103. package/lib/types/services/theme/theme.service.d.ts +14 -0
  104. package/lib/types/services/theme/theme.service.d.ts.map +1 -0
  105. package/lib/types/services/undoredo/undoredo.service.d.ts +79 -0
  106. package/lib/types/services/undoredo/undoredo.service.d.ts.map +1 -0
  107. package/lib/types/shared/__test__/object-matrix.spec.d.ts +2 -0
  108. package/lib/types/shared/__test__/object-matrix.spec.d.ts.map +1 -0
  109. package/lib/types/shared/__test__/ref-alias.spec.d.ts +2 -0
  110. package/lib/types/shared/__test__/ref-alias.spec.d.ts.map +1 -0
  111. package/lib/types/shared/array-search.d.ts +4 -0
  112. package/lib/types/shared/array-search.d.ts.map +1 -0
  113. package/lib/types/shared/color/color-builder.d.ts +21 -0
  114. package/lib/types/shared/color/color-builder.d.ts.map +1 -0
  115. package/lib/types/shared/color/color.d.ts +65 -0
  116. package/lib/types/shared/color/color.d.ts.map +1 -0
  117. package/lib/types/shared/color-builder.d.ts +1 -0
  118. package/lib/types/shared/color-builder.d.ts.map +1 -0
  119. package/lib/types/shared/command-enum.d.ts +6 -0
  120. package/lib/types/shared/command-enum.d.ts.map +1 -0
  121. package/lib/types/shared/common.d.ts +29 -0
  122. package/lib/types/shared/common.d.ts.map +1 -0
  123. package/lib/types/shared/compare.d.ts +8 -0
  124. package/lib/types/shared/compare.d.ts.map +1 -0
  125. package/lib/types/shared/date-time.d.ts +6 -0
  126. package/lib/types/shared/date-time.d.ts.map +1 -0
  127. package/lib/types/shared/doc-tool.d.ts +8 -0
  128. package/lib/types/shared/doc-tool.d.ts.map +1 -0
  129. package/lib/types/shared/drop-cell.d.ts +1 -0
  130. package/lib/types/shared/drop-cell.d.ts.map +1 -0
  131. package/lib/types/shared/excel-date-time.d.ts +6 -0
  132. package/lib/types/shared/excel-date-time.d.ts.map +1 -0
  133. package/lib/types/shared/gen-name.d.ts +9 -0
  134. package/lib/types/shared/gen-name.d.ts.map +1 -0
  135. package/lib/types/shared/generate.d.ts +7 -0
  136. package/lib/types/shared/generate.d.ts.map +1 -0
  137. package/lib/types/shared/group-model.d.ts +4 -0
  138. package/lib/types/shared/group-model.d.ts.map +1 -0
  139. package/lib/types/shared/hash-algorithm.d.ts +2 -0
  140. package/lib/types/shared/hash-algorithm.d.ts.map +1 -0
  141. package/lib/types/shared/index.d.ts +35 -0
  142. package/lib/types/shared/index.d.ts.map +1 -0
  143. package/lib/types/shared/io-http.d.ts +84 -0
  144. package/lib/types/shared/io-http.d.ts.map +1 -0
  145. package/lib/types/shared/io-socket.d.ts +48 -0
  146. package/lib/types/shared/io-socket.d.ts.map +1 -0
  147. package/lib/types/shared/lifecycle.d.ts +28 -0
  148. package/lib/types/shared/lifecycle.d.ts.map +1 -0
  149. package/lib/types/shared/locale.d.ts +10 -0
  150. package/lib/types/shared/locale.d.ts.map +1 -0
  151. package/lib/types/shared/logger.d.ts +12 -0
  152. package/lib/types/shared/logger.d.ts.map +1 -0
  153. package/lib/types/shared/lru/index.d.ts +3 -0
  154. package/lib/types/shared/lru/index.d.ts.map +1 -0
  155. package/lib/types/shared/lru/lru-helper.d.ts +8 -0
  156. package/lib/types/shared/lru/lru-helper.d.ts.map +1 -0
  157. package/lib/types/shared/lru/lru-map.d.ts +66 -0
  158. package/lib/types/shared/lru/lru-map.d.ts.map +1 -0
  159. package/lib/types/shared/migrate/border.d.ts +3 -0
  160. package/lib/types/shared/migrate/border.d.ts.map +1 -0
  161. package/lib/types/shared/migrate/index.d.ts +2 -0
  162. package/lib/types/shared/migrate/index.d.ts.map +1 -0
  163. package/lib/types/shared/migrate/migrate.d.ts +3 -0
  164. package/lib/types/shared/migrate/migrate.d.ts.map +1 -0
  165. package/lib/types/shared/object-array.d.ts +96 -0
  166. package/lib/types/shared/object-array.d.ts.map +1 -0
  167. package/lib/types/shared/object-matrix.d.ts +67 -0
  168. package/lib/types/shared/object-matrix.d.ts.map +1 -0
  169. package/lib/types/shared/permission/index.d.ts +13 -0
  170. package/lib/types/shared/permission/index.d.ts.map +1 -0
  171. package/lib/types/shared/props-from.d.ts +6 -0
  172. package/lib/types/shared/props-from.d.ts.map +1 -0
  173. package/lib/types/shared/random.d.ts +7 -0
  174. package/lib/types/shared/random.d.ts.map +1 -0
  175. package/lib/types/shared/rect-tree/border-tree.d.ts +30 -0
  176. package/lib/types/shared/rect-tree/border-tree.d.ts.map +1 -0
  177. package/lib/types/shared/rect-tree/es-rect-tree.d.ts +9 -0
  178. package/lib/types/shared/rect-tree/es-rect-tree.d.ts.map +1 -0
  179. package/lib/types/shared/rect-tree/merge-tree.d.ts +1 -0
  180. package/lib/types/shared/rect-tree/merge-tree.d.ts.map +1 -0
  181. package/lib/types/shared/rect-tree/quick-select.d.ts +3 -0
  182. package/lib/types/shared/rect-tree/quick-select.d.ts.map +1 -0
  183. package/lib/types/shared/rect-tree/rect-tree.d.ts +60 -0
  184. package/lib/types/shared/rect-tree/rect-tree.d.ts.map +1 -0
  185. package/lib/types/shared/rect-tree/styles-tree.d.ts +1 -0
  186. package/lib/types/shared/rect-tree/styles-tree.d.ts.map +1 -0
  187. package/lib/types/shared/rectangle.d.ts +20 -0
  188. package/lib/types/shared/rectangle.d.ts.map +1 -0
  189. package/lib/types/shared/ref-alias.d.ts +26 -0
  190. package/lib/types/shared/ref-alias.d.ts.map +1 -0
  191. package/lib/types/shared/row-col-iter.d.ts +5 -0
  192. package/lib/types/shared/row-col-iter.d.ts.map +1 -0
  193. package/lib/types/shared/sequence.d.ts +27 -0
  194. package/lib/types/shared/sequence.d.ts.map +1 -0
  195. package/lib/types/shared/serialize/index.d.ts +5 -0
  196. package/lib/types/shared/serialize/index.d.ts.map +1 -0
  197. package/lib/types/shared/serialize/sequence.d.ts +4 -0
  198. package/lib/types/shared/serialize/sequence.d.ts.map +1 -0
  199. package/lib/types/shared/serialize/serialize-manager.d.ts +17 -0
  200. package/lib/types/shared/serialize/serialize-manager.d.ts.map +1 -0
  201. package/lib/types/shared/serialize/serialize.d.ts +8 -0
  202. package/lib/types/shared/serialize/serialize.d.ts.map +1 -0
  203. package/lib/types/shared/serialize/serializer.d.ts +14 -0
  204. package/lib/types/shared/serialize/serializer.d.ts.map +1 -0
  205. package/lib/types/shared/sort-rules.d.ts +10 -0
  206. package/lib/types/shared/sort-rules.d.ts.map +1 -0
  207. package/lib/types/shared/tools.d.ts +103 -0
  208. package/lib/types/shared/tools.d.ts.map +1 -0
  209. package/lib/types/shared/tuples.d.ts +12 -0
  210. package/lib/types/shared/tuples.d.ts.map +1 -0
  211. package/lib/types/shared/type-store.d.ts +10 -0
  212. package/lib/types/shared/type-store.d.ts.map +1 -0
  213. package/lib/types/shared/types.d.ts +30 -0
  214. package/lib/types/shared/types.d.ts.map +1 -0
  215. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +16 -0
  216. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts.map +1 -0
  217. package/lib/types/sheets/__tests__/styles.spec.d.ts +2 -0
  218. package/lib/types/sheets/__tests__/styles.spec.d.ts.map +1 -0
  219. package/lib/types/sheets/column-manager.d.ts +51 -0
  220. package/lib/types/sheets/column-manager.d.ts.map +1 -0
  221. package/lib/types/sheets/range.d.ts +312 -0
  222. package/lib/types/sheets/range.d.ts.map +1 -0
  223. package/lib/types/sheets/reference.d.ts +46 -0
  224. package/lib/types/sheets/reference.d.ts.map +1 -0
  225. package/lib/types/sheets/row-manager.d.ts +41 -0
  226. package/lib/types/sheets/row-manager.d.ts.map +1 -0
  227. package/lib/types/sheets/styles.d.ts +23 -0
  228. package/lib/types/sheets/styles.d.ts.map +1 -0
  229. package/lib/types/sheets/view-model.d.ts +36 -0
  230. package/lib/types/sheets/view-model.d.ts.map +1 -0
  231. package/lib/types/sheets/workbook.d.ts +130 -0
  232. package/lib/types/sheets/workbook.d.ts.map +1 -0
  233. package/lib/types/sheets/worksheet.d.ts +180 -0
  234. package/lib/types/sheets/worksheet.d.ts.map +1 -0
  235. package/lib/types/slides/domain/index.d.ts +2 -0
  236. package/lib/types/slides/domain/index.d.ts.map +1 -0
  237. package/lib/types/slides/domain/slide-model.d.ts +20 -0
  238. package/lib/types/slides/domain/slide-model.d.ts.map +1 -0
  239. package/lib/types/types/const/action-names.d.ts +51 -0
  240. package/lib/types/types/const/action-names.d.ts.map +1 -0
  241. package/lib/types/types/const/const.d.ts +153 -0
  242. package/lib/types/types/const/const.d.ts.map +1 -0
  243. package/lib/types/types/const/doc-action-names.d.ts +7 -0
  244. package/lib/types/types/const/doc-action-names.d.ts.map +1 -0
  245. package/lib/types/types/const/extension-names.d.ts +8 -0
  246. package/lib/types/types/const/extension-names.d.ts.map +1 -0
  247. package/lib/types/types/const/index.d.ts +5 -0
  248. package/lib/types/types/const/index.d.ts.map +1 -0
  249. package/lib/types/types/const/theme-color-map.d.ts +8 -0
  250. package/lib/types/types/const/theme-color-map.d.ts.map +1 -0
  251. package/lib/types/types/enum/auto-fill-series.d.ts +19 -0
  252. package/lib/types/types/enum/auto-fill-series.d.ts.map +1 -0
  253. package/lib/types/types/enum/border-style-types.d.ts +32 -0
  254. package/lib/types/types/enum/border-style-types.d.ts.map +1 -0
  255. package/lib/types/types/enum/color-type.d.ts +10 -0
  256. package/lib/types/types/enum/color-type.d.ts.map +1 -0
  257. package/lib/types/types/enum/common-hide-types.d.ts +8 -0
  258. package/lib/types/types/enum/common-hide-types.d.ts.map +1 -0
  259. package/lib/types/types/enum/condition-type.d.ts +38 -0
  260. package/lib/types/types/enum/condition-type.d.ts.map +1 -0
  261. package/lib/types/types/enum/copy-paste-type.d.ts +17 -0
  262. package/lib/types/types/enum/copy-paste-type.d.ts.map +1 -0
  263. package/lib/types/types/enum/developer-metadata-visibility.d.ts +8 -0
  264. package/lib/types/types/enum/developer-metadata-visibility.d.ts.map +1 -0
  265. package/lib/types/types/enum/dimension.d.ts +16 -0
  266. package/lib/types/types/enum/dimension.d.ts.map +1 -0
  267. package/lib/types/types/enum/direction.d.ts +8 -0
  268. package/lib/types/types/enum/direction.d.ts.map +1 -0
  269. package/lib/types/types/enum/format-type.d.ts +15 -0
  270. package/lib/types/types/enum/format-type.d.ts.map +1 -0
  271. package/lib/types/types/enum/group-control-toggle-position.d.ts +8 -0
  272. package/lib/types/types/enum/group-control-toggle-position.d.ts.map +1 -0
  273. package/lib/types/types/enum/index.d.ts +19 -0
  274. package/lib/types/types/enum/index.d.ts.map +1 -0
  275. package/lib/types/types/enum/interpolation-point-type.d.ts +12 -0
  276. package/lib/types/types/enum/interpolation-point-type.d.ts.map +1 -0
  277. package/lib/types/types/enum/locale-type.d.ts +11 -0
  278. package/lib/types/types/enum/locale-type.d.ts.map +1 -0
  279. package/lib/types/types/enum/place-holder-type.d.ts +20 -0
  280. package/lib/types/types/enum/place-holder-type.d.ts.map +1 -0
  281. package/lib/types/types/enum/protection-type.d.ts +8 -0
  282. package/lib/types/types/enum/protection-type.d.ts.map +1 -0
  283. package/lib/types/types/enum/relative-date.d.ts +13 -0
  284. package/lib/types/types/enum/relative-date.d.ts.map +1 -0
  285. package/lib/types/types/enum/shape-type.d.ts +146 -0
  286. package/lib/types/types/enum/shape-type.d.ts.map +1 -0
  287. package/lib/types/types/enum/sheet-types.d.ts +9 -0
  288. package/lib/types/types/enum/sheet-types.d.ts.map +1 -0
  289. package/lib/types/types/enum/text-style.d.ts +119 -0
  290. package/lib/types/types/enum/text-style.d.ts.map +1 -0
  291. package/lib/types/types/enum/theme-color-type.d.ts +72 -0
  292. package/lib/types/types/enum/theme-color-type.d.ts.map +1 -0
  293. package/lib/types/types/interfaces/i-cell-data.d.ts +33 -0
  294. package/lib/types/types/interfaces/i-cell-data.d.ts.map +1 -0
  295. package/lib/types/types/interfaces/i-column-data.d.ts +15 -0
  296. package/lib/types/types/interfaces/i-column-data.d.ts.map +1 -0
  297. package/lib/types/types/interfaces/i-document-data.d.ts +666 -0
  298. package/lib/types/types/interfaces/i-document-data.d.ts.map +1 -0
  299. package/lib/types/types/interfaces/i-extra-model-data.d.ts +19 -0
  300. package/lib/types/types/interfaces/i-extra-model-data.d.ts.map +1 -0
  301. package/lib/types/types/interfaces/i-freeze.d.ts +11 -0
  302. package/lib/types/types/interfaces/i-freeze.d.ts.map +1 -0
  303. package/lib/types/types/interfaces/i-image-properties.d.ts +23 -0
  304. package/lib/types/types/interfaces/i-image-properties.d.ts.map +1 -0
  305. package/lib/types/types/interfaces/i-placeholder.d.ts +7 -0
  306. package/lib/types/types/interfaces/i-placeholder.d.ts.map +1 -0
  307. package/lib/types/types/interfaces/i-range.d.ts +161 -0
  308. package/lib/types/types/interfaces/i-range.d.ts.map +1 -0
  309. package/lib/types/types/interfaces/i-row-data.d.ts +23 -0
  310. package/lib/types/types/interfaces/i-row-data.d.ts.map +1 -0
  311. package/lib/types/types/interfaces/i-selection-data.d.ts +43 -0
  312. package/lib/types/types/interfaces/i-selection-data.d.ts.map +1 -0
  313. package/lib/types/types/interfaces/i-service-data.d.ts +6 -0
  314. package/lib/types/types/interfaces/i-service-data.d.ts.map +1 -0
  315. package/lib/types/types/interfaces/i-shape-properties.d.ts +16 -0
  316. package/lib/types/types/interfaces/i-shape-properties.d.ts.map +1 -0
  317. package/lib/types/types/interfaces/i-slide-data.d.ts +149 -0
  318. package/lib/types/types/interfaces/i-slide-data.d.ts.map +1 -0
  319. package/lib/types/types/interfaces/i-style-data.d.ts +150 -0
  320. package/lib/types/types/interfaces/i-style-data.d.ts.map +1 -0
  321. package/lib/types/types/interfaces/i-univer-data.d.ts +23 -0
  322. package/lib/types/types/interfaces/i-univer-data.d.ts.map +1 -0
  323. package/lib/types/types/interfaces/i-workbook-data.d.ts +30 -0
  324. package/lib/types/types/interfaces/i-workbook-data.d.ts.map +1 -0
  325. package/lib/types/types/interfaces/i-worksheet-data.d.ts +62 -0
  326. package/lib/types/types/interfaces/i-worksheet-data.d.ts.map +1 -0
  327. package/lib/types/types/interfaces/i-worksheet-order-data.d.ts +6 -0
  328. package/lib/types/types/interfaces/i-worksheet-order-data.d.ts.map +1 -0
  329. package/lib/types/types/interfaces/index.d.ts +18 -0
  330. package/lib/types/types/interfaces/index.d.ts.map +1 -0
  331. package/package.json +59 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observable-hooks.d.ts","sourceRoot":"","sources":["../../../src/observer/observable-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEpD;;GAEG;AACH,qBAAa,eAAe,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACjD;;;;;;OAMG;IACM,GAAG,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,UAAU,KAAK,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAepF,uBAAuB;IAIvB,0BAA0B;CAGtC"}
@@ -0,0 +1,170 @@
1
+ import type { Nullable } from '../shared/types';
2
+ /**
3
+ * A class serves as a medium between the observable and its observers
4
+ */
5
+ export declare class EventState {
6
+ /**
7
+ * An WorkBookObserver can set this property to true to prevent subsequent observers of being notified
8
+ */
9
+ skipNextObservers: boolean | undefined;
10
+ /**
11
+ * This will be populated with the return value of the last function that was executed.
12
+ * If it is the first function in the callback chain it will be the event data.
13
+ */
14
+ lastReturnValue?: unknown;
15
+ isStopPropagation: boolean;
16
+ /**
17
+ * Create a new EventState
18
+ * @param skipNextObservers defines a flag which will instruct the observable to skip following observers when set to true
19
+ * @param target defines the original target of the state
20
+ * @param currentTarget defines the current target of the state
21
+ */
22
+ constructor(skipNextObservers?: boolean);
23
+ /**
24
+ * Initialize the current event state
25
+ * @param skipNextObservers defines a flag which will instruct the observable to skip following observers when set to true
26
+ * @param target defines the original target of the state
27
+ * @param currentTarget defines the current target of the state
28
+ * @returns the current event state
29
+ */
30
+ initialize(skipNextObservers?: boolean): EventState;
31
+ stopPropagation(): void;
32
+ }
33
+ interface INotifyObserversReturn {
34
+ lastReturnValue: unknown;
35
+ stopPropagation: boolean;
36
+ }
37
+ export declare function isObserver(value: any): boolean;
38
+ /**
39
+ * Represent an WorkBookObserver registered to a given Observable object.
40
+ * The current implementation of the rendering layer is still in use.
41
+ *
42
+ * @deprecated use rxjs instead
43
+ */
44
+ export declare class Observer<T = void> {
45
+ /**
46
+ * Defines the callback to call when the observer is notified
47
+ */
48
+ callback: (eventData: T, eventState: EventState) => void;
49
+ observable: Observable<T>;
50
+ /** @hidden */
51
+ _willBeUnregistered: boolean;
52
+ /**
53
+ * Gets or sets a property defining that the observer as to be unregistered after the next notification
54
+ */
55
+ unregisterOnNextCall: boolean;
56
+ dispose(): void;
57
+ /**
58
+ * Creates a new observer
59
+ * @param callback defines the callback to call when the observer is notified
60
+ */
61
+ constructor(
62
+ /**
63
+ * Defines the callback to call when the observer is notified
64
+ */
65
+ callback: (eventData: T, eventState: EventState) => void, observable: Observable<T>);
66
+ }
67
+ /**
68
+ * The Observable class is a simple implementation of the Observable pattern.
69
+ * The current implementation of the rendering layer is still in use.
70
+ *
71
+ * @deprecated use rxjs instead
72
+ *
73
+ * @remarks
74
+ * There's one slight particularity though: a given Observable can notify its observer using a particular mask value, only the Observers registered with this mask value will be notified.
75
+ * This enable a more fine grained execution without having to rely on multiple different Observable objects.
76
+ * For instance you may have a given Observable that have four different types of notifications: Move (mask = 0x01), Stop (mask = 0x02), Turn Right (mask = 0X04), Turn Left (mask = 0X08).
77
+ * A given observer can register itself with only Move and Stop (mask = 0x03), then it will only be notified when one of these two occurs and will never be for Turn Left/Right.
78
+ */
79
+ export declare class Observable<T> {
80
+ protected _observers: Observer<T>[];
81
+ protected _eventState: EventState;
82
+ protected _onObserverAdded: Nullable<(observer: Observer<T>) => void> | undefined;
83
+ /**
84
+ * Creates a new observable
85
+ * @param onObserverAdded defines a callback to call when a new observer is added
86
+ */
87
+ constructor(onObserverAdded?: (observer: Observer<T>) => void);
88
+ /**
89
+ * Gets the list of observers
90
+ */
91
+ get observers(): Array<Observer<T>>;
92
+ /**
93
+ * Create a new WorkBookObserver with the specified callback
94
+ * @param callback the callback that will be executed for that WorkBookObserver
95
+ * @param insertFirst if true the callback will be inserted at the first position, hence executed before the others ones. If false (default behavior) the callback will be inserted at the last position, executed after all the others already present.
96
+ * @param unregisterOnFirstCall defines if the observer as to be unregistered after the next notification
97
+ * @returns the new observer created for the callback
98
+ */
99
+ add(callback: (eventData: T, eventState: EventState) => void, insertFirst?: boolean, unregisterOnFirstCall?: boolean): Nullable<Observer<T>>;
100
+ /**
101
+ * Create a new WorkBookObserver with the specified callback and unregisters after the next notification
102
+ * @param callback the callback that will be executed for that WorkBookObserver
103
+ * @returns the new observer created for the callback
104
+ */
105
+ addOnce(callback: (eventData: T, eventState: EventState) => void): Nullable<Observer<T>>;
106
+ /**
107
+ * Remove an WorkBookObserver from the Observable object
108
+ * @param observer the instance of the WorkBookObserver to remove
109
+ * @returns false if it doesn't belong to this Observable
110
+ */
111
+ remove(observer: Nullable<Observer<T>>): boolean;
112
+ /**
113
+ * Remove a callback from the Observable object
114
+ * @param callback the callback to remove
115
+ * @returns false if it doesn't belong to this Observable
116
+ */
117
+ removeCallback(callback: (eventData: T, eventState: EventState) => void): boolean;
118
+ /**
119
+ * Moves the observable to the top of the observer list making it get called first when notified
120
+ * @param observer the observer to move
121
+ */
122
+ makeObserverTopPriority(observer: Observer<T>): void;
123
+ /**
124
+ * Moves the observable to the bottom of the observer list making it get called last when notified
125
+ * @param observer the observer to move
126
+ */
127
+ makeObserverBottomPriority(observer: Observer<T>): void;
128
+ /**
129
+ * Notify all Observers by calling their respective callback with the given data
130
+ * Will return true if all observers were executed, false if an observer set skipNextObservers to true, then prevent the subsequent ones to execute
131
+ * @param eventData defines the data to send to all observers
132
+ * @returns false if the complete observer chain was not processed (because one observer set the skipNextObservers to true)
133
+ */
134
+ notifyObservers(eventData: T): Nullable<INotifyObserversReturn>;
135
+ /**
136
+ * Calling this will execute each callback, expecting it to be a promise or return a value.
137
+ * If at any point in the chain one function fails, the promise will fail and the execution will not continue.
138
+ * This is useful when a chain of Events (sometimes async Events) is needed to initialize a certain object
139
+ * and it is crucial that all callbacks will be executed.
140
+ * The order of the callbacks is kept, callbacks are not executed parallel.
141
+ *
142
+ * @param eventData The data to be sent to each callback
143
+ * @returns {Promise<T>} will return a Promise than resolves when all callbacks executed successfully.
144
+ */
145
+ notifyObserversWithPromise(eventData: T): Promise<T>;
146
+ /**
147
+ * Notify a specific observer
148
+ * @param observer defines the observer to notify
149
+ * @param eventData defines the data to be sent to each callback
150
+ */
151
+ notifyObserver(observer: Observer<T>, eventData: T): Nullable<INotifyObserversReturn>;
152
+ /**
153
+ * Gets a boolean indicating if the observable has at least one observer
154
+ * @returns true is the Observable has at least one WorkBookObserver registered
155
+ */
156
+ hasObservers(): boolean;
157
+ /**
158
+ * Clear the list of observers
159
+ */
160
+ clear(): void;
161
+ /**
162
+ * Clone the current observable
163
+ * @returns a new observable
164
+ */
165
+ clone(): Observable<T>;
166
+ private _deferUnregister;
167
+ private _remove;
168
+ }
169
+ export {};
170
+ //# sourceMappingURL=observable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observable.d.ts","sourceRoot":"","sources":["../../../src/observer/observable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,qBAAa,UAAU;IACnB;;OAEG;IACH,iBAAiB,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,iBAAiB,EAAE,OAAO,CAAS;IAEnC;;;;;OAKG;gBACS,iBAAiB,UAAQ;IAIrC;;;;;;O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AAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAqBxB;;;;OAIG;IACH,OAAO,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,UAAU,KAAK,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAIxF;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO;IAehD;;;;OAIG;IACH,cAAc,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,UAAU,KAAK,IAAI,GAAG,OAAO;IAejF;;;OAGG;IACH,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IAK7C;;;OAGG;IACH,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IAKhD;;;;;OAKG;IACH,eAAe,CAAC,SAAS,EAAE,CAAC,GAAG,QAAQ,CAAC,sBAAsB,CAAC;IAwC/D;;;;;;;;;OASG;IACH,0BAA0B,CAAC,SAAS,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAiCpD;;;;OAIG;IACH,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,QAAQ,CAAC,sBAAsB,CAAC;IAoBrF;;;OAGG;IACH,YAAY,IAAI,OAAO;IAIvB;;OAEG;IACH,KAAK,IAAI,IAAI;IAKb;;;OAGG;IACH,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC;IAQtB,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,OAAO;CAclB"}
@@ -0,0 +1,49 @@
1
+ import type { Ctor, Injector } from '@wendellhu/redi';
2
+ export type PluginCtor<T extends Plugin> = Ctor<T> & {
3
+ type: PluginType;
4
+ };
5
+ /** Plugin types for different kinds of business. */
6
+ export declare enum PluginType {
7
+ Univer = 0,
8
+ Doc = 1,
9
+ Sheet = 2,
10
+ Slide = 3
11
+ }
12
+ /**
13
+ * Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
14
+ */
15
+ export declare abstract class Plugin {
16
+ static type: PluginType;
17
+ protected abstract _injector: Injector;
18
+ private _name;
19
+ protected constructor(name: string);
20
+ onStarting(injector: Injector): void;
21
+ onReady(): void;
22
+ onRendered(): void;
23
+ onSteady(): void;
24
+ onDestroy(): void;
25
+ getPluginName(): string;
26
+ }
27
+ interface IPluginRegistryItem {
28
+ plugin: typeof Plugin;
29
+ options: any;
30
+ }
31
+ /**
32
+ * Store plugin instances.
33
+ */
34
+ export declare class PluginStore {
35
+ private readonly plugins;
36
+ addPlugin(plugin: Plugin): void;
37
+ removePlugins(): Plugin[];
38
+ forEachPlugin(callback: (plugin: Plugin) => void): void;
39
+ }
40
+ /**
41
+ * Store plugin registry items.
42
+ */
43
+ export declare class PluginRegistry {
44
+ private readonly pluginsRegisteredByBusiness;
45
+ registerPlugin(pluginCtor: PluginCtor<any>, options: any): void;
46
+ getRegisterPlugins(type: PluginType): [IPluginRegistryItem];
47
+ }
48
+ export {};
49
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEtD,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAE1E,oDAAoD;AACpD,oBAAY,UAAU;IAClB,MAAM,IAAA;IACN,GAAG,IAAA;IACH,KAAK,IAAA;IACL,KAAK,IAAA;CACR;AAED;;GAEG;AACH,8BAAsB,MAAM;IACxB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAqB;IAE5C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC;IAEvC,OAAO,CAAC,KAAK,CAAS;IAEtB,SAAS,aAAa,IAAI,EAAE,MAAM;IAKlC,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAEpC,OAAO,IAAI,IAAI;IAEf,UAAU,IAAI,IAAI;IAElB,QAAQ,IAAI,IAAI;IAEhB,SAAS,IAAI,IAAI;IAEjB,aAAa,IAAI,MAAM;CAG1B;AAED,UAAU,mBAAmB;IACzB,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,OAAO,EAAE,GAAG,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,WAAW;IACpB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgB;IAExC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAI/B,aAAa,IAAI,MAAM,EAAE;IAMzB,aAAa,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;CAG1D;AAED;;GAEG;AACH,qBAAa,cAAc;IACvB,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAgD;IAE5F,cAAc,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,GAAG;IASxD,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,CAAC,mBAAmB,CAAC;CAG9D"}
@@ -0,0 +1,3 @@
1
+ export interface IAuthService {
2
+ }
3
+ //# sourceMappingURL=auth.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../src/services/auth/auth.service.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;CAAG"}
@@ -0,0 +1,117 @@
1
+ import type { IAccessor, IDisposable } from '@wendellhu/redi';
2
+ import { Injector } from '@wendellhu/redi';
3
+ import { IContextService } from '../context/context.service';
4
+ import { ILogService } from '../log/log.service';
5
+ export declare const enum CommandType {
6
+ /** Command could generate some operations or mutations. */
7
+ COMMAND = 0,
8
+ /** An operation that do not require conflict resolve. */
9
+ OPERATION = 1,
10
+ /** An operation that need to be resolved before applied on peer client. */
11
+ MUTATION = 2
12
+ }
13
+ export interface ICommand<P extends object = object, R = boolean> {
14
+ /**
15
+ * ${businessName}.${type}.${name}
16
+ */
17
+ readonly id: string;
18
+ readonly type: CommandType;
19
+ handler(accessor: IAccessor, params?: P): Promise<R> | R;
20
+ /** When this command is unregistered, this function would be called. */
21
+ onDispose?: () => void;
22
+ }
23
+ export interface IMultiCommand<P extends object = object, R = boolean> extends ICommand<P, R> {
24
+ name: string;
25
+ multi: true;
26
+ priority: number;
27
+ preconditions?: (contextService: IContextService) => boolean;
28
+ }
29
+ export interface IMutationCommonParams {
30
+ trigger?: string;
31
+ }
32
+ /**
33
+ * Mutation would change the model of Univer applications.
34
+ */
35
+ export interface IMutation<P extends object, R = boolean> extends ICommand<P, R> {
36
+ type: CommandType.MUTATION;
37
+ /**
38
+ * Mutations must be a sync process.
39
+ * @param accessor
40
+ * @param params Params of the mutation. A mutation must has params.
41
+ */
42
+ handler(accessor: IAccessor, params: P): R;
43
+ }
44
+ /**
45
+ * Operation would change the state of Univer applications. State should only be in memory and does not
46
+ * require conflicting resolution.
47
+ */
48
+ export interface IOperation<P extends object = object, R = boolean> extends ICommand<P, R> {
49
+ type: CommandType.OPERATION;
50
+ /**
51
+ * Operations must be a sync process.
52
+ * @param accessor
53
+ * @param params Params of the operation. A operation must has params.
54
+ */
55
+ handler(accessor: IAccessor, params: P): R;
56
+ }
57
+ /**
58
+ * The command info, only a command id and responsible params
59
+ */
60
+ export interface ICommandInfo<T extends object = object> {
61
+ id: string;
62
+ type?: CommandType;
63
+ /**
64
+ * Args should be serializable.
65
+ */
66
+ params?: T;
67
+ }
68
+ export interface IMutationInfo<T extends object = object> {
69
+ id: string;
70
+ type?: CommandType.MUTATION;
71
+ params: T;
72
+ }
73
+ export interface IOperationInfo<T extends object = object> {
74
+ id: string;
75
+ type?: CommandType.OPERATION;
76
+ params: T;
77
+ }
78
+ export interface IExecutionOptions {
79
+ /** This mutation should only be executed on the local machine. */
80
+ local?: boolean;
81
+ [key: PropertyKey]: string | number | boolean | undefined;
82
+ }
83
+ export type CommandListener = (commandInfo: Readonly<ICommandInfo>, options?: IExecutionOptions) => void;
84
+ export interface ICommandService {
85
+ registerCommand(command: ICommand): IDisposable;
86
+ registerAsMultipleCommand(command: ICommand): IDisposable;
87
+ executeCommand<P extends object = object, R = boolean>(id: string, params?: P, options?: IExecutionOptions): Promise<R>;
88
+ syncExecuteCommand<P extends object = object, R = boolean>(id: string, params?: P, options?: IExecutionOptions): R;
89
+ /**
90
+ * Register a callback function that will be executed when a command is executed.
91
+ */
92
+ onCommandExecuted(listener: CommandListener): IDisposable;
93
+ }
94
+ export declare const ICommandService: import("@wendellhu/redi").IdentifierDecorator<ICommandService>;
95
+ export declare class CommandService implements ICommandService {
96
+ private readonly _injector;
97
+ private readonly _log;
98
+ private readonly _commandRegistry;
99
+ private readonly _commandExecutedListeners;
100
+ private _multiCommandDisposables;
101
+ private _commandExecutingLevel;
102
+ private _commandExecutionStack;
103
+ constructor(_injector: Injector, _log: ILogService);
104
+ registerCommand(command: ICommand): IDisposable;
105
+ registerAsMultipleCommand(command: ICommand): IDisposable;
106
+ onCommandExecuted(listener: (commandInfo: ICommandInfo) => void): IDisposable;
107
+ executeCommand<P extends object = object, R = boolean>(id: string, params?: P, options?: IExecutionOptions): Promise<R>;
108
+ syncExecuteCommand<P extends object = object, R = boolean>(id: string, params?: P | undefined, options?: IExecutionOptions): R;
109
+ private _pushCommandExecutionStack;
110
+ private _registerCommand;
111
+ private _registerMultiCommand;
112
+ private _execute;
113
+ private _syncExecute;
114
+ }
115
+ export declare function sequenceExecute(tasks: ICommandInfo[], commandService: ICommandService, options?: IExecutionOptions): import("../../common/sequence").ISequenceExecuteResult;
116
+ export declare function sequenceExecuteAsync(tasks: ICommandInfo[], commandService: ICommandService, options?: IExecutionOptions): Promise<import("../../common/sequence").ISequenceExecuteResult>;
117
+ //# sourceMappingURL=command.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.service.d.ts","sourceRoot":"","sources":["../../../../src/services/command/command.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAA4B,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAMrE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,0BAAkB,WAAW;IACzB,2DAA2D;IAC3D,OAAO,IAAI;IACX,0DAA0D;IAC1D,SAAS,IAAI;IACb,2EAA2E;IAC3E,QAAQ,IAAI;CACf;AAED,MAAM,WAAW,QAAQ,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO;IAC5D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAE3B,OAAO,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAEzD,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,CAAE,SAAQ,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC;IACzF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,CAAC,EAAE,CAAC,cAAc,EAAE,eAAe,KAAK,OAAO,CAAC;CAChE;AAED,MAAM,WAAW,qBAAqB;IAClC,OAAO,CAAC,EAAE,M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/C,yBAAyB,CAAC,OAAO,EAAE,QAAQ,GAAG,WAAW;IAIzD,iBAAiB,CAAC,QAAQ,EAAE,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI,GAAG,WAAW;IAavE,cAAc,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,EACvD,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,CAAC,EACV,OAAO,CAAC,EAAE,iBAAiB,GAC5B,OAAO,CAAC,CAAC,CAAC;IAsBb,kBAAkB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,EACrD,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,EACtB,OAAO,CAAC,EAAE,iBAAiB,GAC5B,CAAC;IAoCJ,OAAO,CAAC,0BAA0B;IAKlC,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;YA0Bf,QAAQ;IAoBtB,OAAO,CAAC,YAAY;CAuBvB;AA0DD,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,cAAc,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,iBAAiB,0DAGlH;AAED,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,YAAY,EAAE,EACrB,cAAc,EAAE,eAAe,EAC/B,OAAO,CAAC,EAAE,iBAAiB,mEAI9B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=command.service.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.service.spec.d.ts","sourceRoot":"","sources":["../../../../src/services/command/command.service.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ import type { Nullable } from '../../shared/types';
2
+ /**
3
+ * IConfig provides universal configuration for the whole application.
4
+ */
5
+ export declare const IConfigService: import("@wendellhu/redi").IdentifierDecorator<IConfigService>;
6
+ export interface IConfigService {
7
+ getConfig<T>(id: string, defaultValue: T): T;
8
+ getConfig<T>(id: string): Nullable<T>;
9
+ setConfig(id: string, value: any): void;
10
+ deleteConfig(id: string): void;
11
+ }
12
+ export declare class ConfigService implements IConfigService {
13
+ private readonly _config;
14
+ getConfig<T>(id: string): Nullable<T>;
15
+ setConfig(id: string, value: any): void;
16
+ deleteConfig(id: string): void;
17
+ }
18
+ //# sourceMappingURL=config.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.service.d.ts","sourceRoot":"","sources":["../../../../src/services/config/config.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAInD;;GAEG;AACH,eAAO,MAAM,cAAc,+DAA4D,CAAC;AACxF,MAAM,WAAW,cAAc;IAC3B,SAAS,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC;IAC7C,SAAS,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,qBAAa,aAAc,YAAW,cAAc;IAEhD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA+B;IAEvD,SAAS,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC;IAIrC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAIhC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;CAGjC"}
@@ -0,0 +1,8 @@
1
+ export declare const FOCUSING_SHEET = "FOCUSING_SHEET";
2
+ export declare const FOCUSING_DOC = "FOCUSING_DOC";
3
+ export declare const FOCUSING_SLIDE = "FOCUSING_SLIDE";
4
+ export declare const FOCUSING_EDITOR_BUT_HIDDEN = "FOCUSING_EDITOR_BUT_HIDDEN";
5
+ export declare const FOCUSING_EDITOR = "FOCUSING_EDITOR";
6
+ export declare const FOCUSING_EDITOR_INPUT_FORMULA = "FOCUSING_EDITOR_INPUT_FORMULA";
7
+ export declare const FOCUSING_FORMULA_EDITOR = "FOCUSING_FORMULA_EDITOR";
8
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/services/context/context.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,uBAAuB,4BAA4B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { Observable } from 'rxjs';
2
+ import { Disposable } from '../../shared/lifecycle';
3
+ export interface IContextService {
4
+ contextChanged$: Observable<void>;
5
+ getContextValue(key: string): boolean;
6
+ setContextValue(key: string, value: boolean): void;
7
+ }
8
+ export declare const IContextService: import("@wendellhu/redi").IdentifierDecorator<IContextService>;
9
+ export declare class ContextService extends Disposable implements IContextService {
10
+ private _contextChanged$;
11
+ contextChanged$: Observable<void>;
12
+ private readonly _contextMap;
13
+ dispose(): void;
14
+ getContextValue(key: string): boolean;
15
+ setContextValue(key: string, value: boolean): void;
16
+ }
17
+ //# sourceMappingURL=context.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.service.d.ts","sourceRoot":"","sources":["../../../../src/services/context/context.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGvC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC5B,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAElC,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACtC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,eAAe,gEAA8D,CAAC;AAE3F,qBAAa,cAAe,SAAQ,UAAW,YAAW,eAAe;IACrE,OAAO,CAAC,gBAAgB,CAAuB;IAE/C,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,CAAwC;IAEzE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA8B;IAEjD,OAAO,IAAI,IAAI;IAKxB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAgBrC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI;CAIrD"}
@@ -0,0 +1,11 @@
1
+ import { Disposable } from '../../shared/lifecycle';
2
+ export interface IError {
3
+ errorKey: string;
4
+ }
5
+ export declare class ErrorService extends Disposable {
6
+ private readonly _error$;
7
+ error$: import("rxjs").Observable<IError>;
8
+ dispose(): void;
9
+ emit(key: string): void;
10
+ }
11
+ //# sourceMappingURL=error.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.service.d.ts","sourceRoot":"","sources":["../../../../src/services/error/error.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,MAAM,WAAW,MAAM;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,YAAa,SAAQ,UAAU;IACxC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;IACjD,MAAM,oCAA+B;IAE5B,OAAO,IAAI,IAAI;IAIxB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAG1B"}
@@ -0,0 +1,20 @@
1
+ export interface ISize {
2
+ width?: number;
3
+ height?: number;
4
+ }
5
+ export interface IScale {
6
+ scaleX?: number;
7
+ scaleY?: number;
8
+ }
9
+ export interface IOffset {
10
+ left?: number;
11
+ top?: number;
12
+ }
13
+ export interface ITransformState extends IOffset, ISize, IScale {
14
+ angle?: number;
15
+ skewX?: number;
16
+ skewY?: number;
17
+ flipX?: boolean;
18
+ flipY?: boolean;
19
+ }
20
+ //# sourceMappingURL=floating-object-interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-object-interfaces.d.ts","sourceRoot":"","sources":["../../../../src/services/floating-object/floating-object-interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,MAAM;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO,EAAE,KAAK,EAAE,MAAM;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,82 @@
1
+ import type { IDisposable } from '@wendellhu/redi';
2
+ import type { Observable } from 'rxjs';
3
+ import type { Nullable } from '../../common/type-utils';
4
+ import type { ITransformState } from './floating-object-interfaces';
5
+ export declare const DEFAULT_DOCUMENT_SUB_COMPONENT_ID = "__default_document_sub_component_id20231101__";
6
+ export interface IFloatingObjectManagerSearchParam {
7
+ unitId: string;
8
+ subComponentId: string;
9
+ }
10
+ export interface IFloatingObjectManagerSearchItemParam extends IFloatingObjectManagerSearchParam {
11
+ floatingObjectId: string;
12
+ }
13
+ export interface IFloatingObjectManagerParam extends IFloatingObjectManagerSearchItemParam {
14
+ floatingObject: ITransformState;
15
+ }
16
+ export type FloatingObjects = Map<string, ITransformState>;
17
+ export type IFloatingObjectManagerInfo = Map<string, Map<string, FloatingObjects>>;
18
+ export interface IFloatingObjectManagerService {
19
+ readonly remove$: Observable<IFloatingObjectManagerParam[]>;
20
+ readonly andOrUpdate$: Observable<IFloatingObjectManagerParam[]>;
21
+ readonly pluginUpdate$: Observable<IFloatingObjectManagerParam[]>;
22
+ getFloatObject(searchItem: IFloatingObjectManagerSearchItemParam): Nullable<ITransformState>;
23
+ getFloatObjects(search: IFloatingObjectManagerSearchParam): Nullable<FloatingObjects>;
24
+ dispose(): void;
25
+ clear(search: IFloatingObjectManagerSearchParam): void;
26
+ addOrUpdate(insertParam: IFloatingObjectManagerParam): void;
27
+ remove(searchItem: IFloatingObjectManagerSearchItemParam): void;
28
+ BatchAddOrUpdate(insertParam: IFloatingObjectManagerParam[]): void;
29
+ remove(searchItem: IFloatingObjectManagerSearchItemParam): void;
30
+ pluginUpdateRefresh(searchObjects: IFloatingObjectManagerParam[]): void;
31
+ }
32
+ /**
33
+ * This service is primarily used for the management of 'univer' floating objects,
34
+ * decoupling common configurations such as position, volume,
35
+ * and rotation of the floating objects from the core business.
36
+ * This allows plugins to be reused across multiple core businesses.
37
+ *
38
+ * Floating elements in spreadsheets need to stay synchronized with the grid layout,
39
+ * and inserting rows and columns will change their position;
40
+ * Floating elements in documents need to stay synchronized with the text layout and can affect the text layout;
41
+ * Floating elements in slides are more flexible but support settings such as animations.
42
+ *
43
+ * Please open the architecture diagram with TLDraw.
44
+ * https://github.com/dream-num/univer/blob/db227563b4df65572dd4fceebecdbd9f27fa7a39/docs/selection%20architecture%20design.tldr
45
+ */
46
+ export declare class FloatingObjectManagerService implements IDisposable, IFloatingObjectManagerService {
47
+ private readonly _managerInfo;
48
+ /**
49
+ * The deletion action is triggered and broadcasted within the core business plugin.
50
+ * Upon receiving the deletion broadcast, the plugin executes the plugin command logic.
51
+ */
52
+ private readonly _remove$;
53
+ readonly remove$: Observable<IFloatingObjectManagerParam[]>;
54
+ /**
55
+ * Addition and updates are also triggered and broadcasted within the core business plugin.
56
+ * Upon receiving the update broadcast, the plugin updates the location of its business components.
57
+ */
58
+ private readonly _andOrUpdate$;
59
+ readonly andOrUpdate$: Observable<IFloatingObjectManagerParam[]>;
60
+ /**
61
+ * The position, width, and height of the plugin's business components can be changed by the user through interface operations.
62
+ * Here, it is necessary to notify the core business plugin to update the relevant location model.
63
+ * The logic converges in the core business plugin.
64
+ */
65
+ private readonly _pluginUpdate$;
66
+ readonly pluginUpdate$: Observable<IFloatingObjectManagerParam[]>;
67
+ getFloatObject(searchItem: IFloatingObjectManagerSearchItemParam): Nullable<ITransformState>;
68
+ getFloatObjects(search: IFloatingObjectManagerSearchParam): Nullable<FloatingObjects>;
69
+ dispose(): void;
70
+ clear(search: IFloatingObjectManagerSearchParam): void;
71
+ addOrUpdate(insertParam: IFloatingObjectManagerParam): void;
72
+ BatchAddOrUpdate(insertParams: IFloatingObjectManagerParam[]): void;
73
+ remove(searchItem: IFloatingObjectManagerSearchItemParam): void;
74
+ pluginUpdateRefresh(updateObjects: IFloatingObjectManagerParam[]): void;
75
+ private _getFloatingObjects;
76
+ private _getFloatingObject;
77
+ private _addByParam;
78
+ private _clearByParam;
79
+ private _removeByParam;
80
+ }
81
+ export declare const IFloatingObjectManagerService: import("@wendellhu/redi").IdentifierDecorator<IFloatingObjectManagerService>;
82
+ //# sourceMappingURL=floating-object-manager.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-object-manager.service.d.ts","sourceRoot":"","sources":["../../../../src/services/floating-object/floating-object-manager.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU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