@univerjs/core 0.1.0-alpha.1 → 0.1.0-alpha.2

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 (335) hide show
  1. package/LICENSE.txt +178 -0
  2. package/lib/cjs/index.js +11 -15323
  3. package/lib/es/index.js +7369 -0
  4. package/lib/types/basics/index.d.ts +15 -1
  5. package/lib/types/basics/registry.d.ts +12 -4
  6. package/lib/types/basics/univer-doc.d.ts +15 -1
  7. package/lib/types/basics/univer-sheet.d.ts +15 -1
  8. package/lib/types/basics/univer-slide.d.ts +15 -1
  9. package/lib/types/basics/univer.d.ts +18 -4
  10. package/lib/types/common/array.d.ts +13 -5
  11. package/lib/types/common/const.d.ts +15 -1
  12. package/lib/types/common/interceptor.d.ts +15 -1
  13. package/lib/types/common/memory-cursor.d.ts +15 -1
  14. package/lib/types/common/request-immediate-macro-task.d.ts +16 -0
  15. package/lib/types/common/sequence.d.ts +15 -1
  16. package/lib/types/common/type-utils.d.ts +13 -2
  17. package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts +15 -1
  18. package/lib/types/docs/data-model/apply-utils/common.d.ts +15 -1
  19. package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts +15 -1
  20. package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts +15 -1
  21. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts +15 -1
  22. package/lib/types/docs/data-model/document-data-model.d.ts +15 -1
  23. package/lib/types/docs/data-model/index.d.ts +15 -1
  24. package/lib/types/docs/data-model/mutation-types.d.ts +15 -1
  25. package/lib/types/docs/data-model/types.d.ts +15 -1
  26. package/lib/types/docs/index.d.ts +15 -1
  27. package/lib/types/index.d.ts +18 -3
  28. package/lib/types/observer/index.d.ts +15 -1
  29. package/lib/types/observer/observable-hooks.d.ts +15 -1
  30. package/lib/types/observer/observable.d.ts +15 -1
  31. package/lib/types/plugin/plugin.d.ts +15 -1
  32. package/lib/types/services/auth/auth.service.d.ts +15 -1
  33. package/lib/types/services/command/command.service.d.ts +30 -3
  34. package/lib/types/services/command/command.service.spec.d.ts +15 -1
  35. package/lib/types/services/config/config.service.d.ts +15 -1
  36. package/lib/types/services/context/context.d.ts +15 -1
  37. package/lib/types/services/context/context.service.d.ts +15 -1
  38. package/lib/types/services/error/error.service.d.ts +15 -1
  39. package/lib/types/services/floating-object/floating-object-interfaces.d.ts +15 -1
  40. package/lib/types/services/floating-object/floating-object-manager.service.d.ts +15 -1
  41. package/lib/types/services/instance/instance.service.d.ts +15 -1
  42. package/lib/types/services/lifecycle/lifecycle.d.ts +15 -1
  43. package/lib/types/services/lifecycle/lifecycle.service.d.ts +15 -1
  44. package/lib/types/services/local-storage/local-storage.service.d.ts +15 -1
  45. package/lib/types/services/locale/locale.service.d.ts +15 -1
  46. package/lib/types/services/log/log.service.d.ts +24 -6
  47. package/lib/types/services/permission/index.d.ts +15 -1
  48. package/lib/types/services/permission/permission-point.d.ts +15 -1
  49. package/lib/types/services/permission/permission.service.d.ts +15 -1
  50. package/lib/types/services/permission/univer.permission.service.d.ts +15 -1
  51. package/lib/types/services/resource-manager/resource-manager.service.d.ts +15 -1
  52. package/lib/types/services/resource-manager/type.d.ts +21 -1
  53. package/lib/types/services/theme/theme.service.d.ts +15 -1
  54. package/lib/types/services/undoredo/undoredo.service.d.ts +15 -1
  55. package/lib/types/shared/__test__/object-matrix.spec.d.ts +15 -1
  56. package/lib/types/shared/__test__/ref-alias.spec.d.ts +15 -1
  57. package/lib/types/shared/array-search.d.ts +15 -1
  58. package/lib/types/shared/blob.d.ts +16 -0
  59. package/lib/types/shared/color/color-builder.d.ts +15 -1
  60. package/lib/types/shared/color/color.d.ts +15 -1
  61. package/lib/types/shared/command-enum.d.ts +15 -1
  62. package/lib/types/shared/common.d.ts +15 -1
  63. package/lib/types/shared/compare.d.ts +15 -1
  64. package/lib/types/shared/doc-tool.d.ts +15 -1
  65. package/lib/types/shared/gen-name.d.ts +15 -1
  66. package/lib/types/shared/generate.d.ts +15 -1
  67. package/lib/types/shared/hash-algorithm.d.ts +15 -1
  68. package/lib/types/shared/index.d.ts +16 -12
  69. package/lib/types/shared/lifecycle.d.ts +15 -1
  70. package/lib/types/shared/locale.d.ts +15 -1
  71. package/lib/types/shared/lru/index.d.ts +15 -1
  72. package/lib/types/shared/lru/lru-helper.d.ts +15 -1
  73. package/lib/types/shared/lru/lru-map.d.ts +15 -1
  74. package/lib/types/shared/object-array.d.ts +15 -1
  75. package/lib/types/shared/object-matrix.d.ts +38 -2
  76. package/lib/types/shared/permission/index.d.ts +15 -1
  77. package/lib/types/shared/props-from.d.ts +15 -1
  78. package/lib/types/shared/rectangle.d.ts +15 -1
  79. package/lib/types/shared/ref-alias.d.ts +13 -9
  80. package/lib/types/shared/row-col-iter.d.ts +15 -1
  81. package/lib/types/shared/sequence.d.ts +13 -4
  82. package/lib/types/shared/sort-rules.d.ts +15 -1
  83. package/lib/types/shared/tools.d.ts +15 -1
  84. package/lib/types/shared/types.d.ts +13 -2
  85. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +15 -1
  86. package/lib/types/sheets/__tests__/styles.spec.d.ts +15 -1
  87. package/lib/types/sheets/column-manager.d.ts +15 -8
  88. package/lib/types/sheets/range.d.ts +15 -15
  89. package/lib/types/sheets/reference.d.ts +15 -1
  90. package/lib/types/sheets/row-manager.d.ts +15 -1
  91. package/lib/types/sheets/styles.d.ts +17 -3
  92. package/lib/types/sheets/view-model.d.ts +19 -5
  93. package/lib/types/sheets/workbook.d.ts +17 -1
  94. package/lib/types/sheets/worksheet.d.ts +22 -3
  95. package/lib/types/slides/domain/index.d.ts +15 -1
  96. package/lib/types/slides/domain/slide-model.d.ts +15 -1
  97. package/lib/types/types/const/action-names.d.ts +15 -1
  98. package/lib/types/types/const/const.d.ts +15 -1
  99. package/lib/types/types/const/doc-action-names.d.ts +15 -1
  100. package/lib/types/types/const/extension-names.d.ts +13 -2
  101. package/lib/types/types/const/index.d.ts +15 -1
  102. package/lib/types/types/const/theme-color-map.d.ts +15 -1
  103. package/lib/types/types/enum/auto-fill-series.d.ts +11 -5
  104. package/lib/types/types/enum/border-style-types.d.ts +13 -2
  105. package/lib/types/types/enum/color-type.d.ts +13 -2
  106. package/lib/types/types/enum/common-hide-types.d.ts +13 -2
  107. package/lib/types/types/enum/condition-type.d.ts +13 -2
  108. package/lib/types/types/enum/copy-paste-type.d.ts +12 -4
  109. package/lib/types/types/enum/developer-metadata-visibility.d.ts +13 -2
  110. package/lib/types/types/enum/dimension.d.ts +12 -3
  111. package/lib/types/types/enum/direction.d.ts +15 -1
  112. package/lib/types/types/enum/format-type.d.ts +13 -2
  113. package/lib/types/types/enum/group-control-toggle-position.d.ts +13 -2
  114. package/lib/types/types/enum/index.d.ts +15 -1
  115. package/lib/types/types/enum/interpolation-point-type.d.ts +13 -2
  116. package/lib/types/types/enum/locale-type.d.ts +12 -3
  117. package/lib/types/types/enum/place-holder-type.d.ts +15 -1
  118. package/lib/types/types/enum/protection-type.d.ts +13 -2
  119. package/lib/types/types/enum/relative-date.d.ts +13 -2
  120. package/lib/types/types/enum/shape-type.d.ts +15 -1
  121. package/lib/types/types/enum/sheet-types.d.ts +13 -2
  122. package/lib/types/types/enum/text-style.d.ts +13 -2
  123. package/lib/types/types/enum/theme-color-type.d.ts +10 -19
  124. package/lib/types/types/interfaces/i-cell-data.d.ts +25 -9
  125. package/lib/types/types/interfaces/i-column-data.d.ts +15 -1
  126. package/lib/types/types/interfaces/i-document-data.d.ts +15 -1
  127. package/lib/types/types/interfaces/i-extra-model-data.d.ts +15 -1
  128. package/lib/types/types/interfaces/i-freeze.d.ts +13 -3
  129. package/lib/types/types/interfaces/i-image-properties.d.ts +13 -2
  130. package/lib/types/types/interfaces/i-placeholder.d.ts +15 -1
  131. package/lib/types/types/interfaces/i-range.d.ts +15 -1
  132. package/lib/types/types/interfaces/i-row-data.d.ts +15 -1
  133. package/lib/types/types/interfaces/i-selection-data.d.ts +15 -1
  134. package/lib/types/types/interfaces/i-service-data.d.ts +13 -2
  135. package/lib/types/types/interfaces/i-shape-properties.d.ts +15 -1
  136. package/lib/types/types/interfaces/i-slide-data.d.ts +15 -1
  137. package/lib/types/types/interfaces/i-style-data.d.ts +15 -1
  138. package/lib/types/types/interfaces/i-univer-data.d.ts +17 -1
  139. package/lib/types/types/interfaces/i-workbook-data.d.ts +15 -1
  140. package/lib/types/types/interfaces/i-worksheet-data.d.ts +19 -1
  141. package/lib/types/types/interfaces/i-worksheet-order-data.d.ts +13 -2
  142. package/lib/types/types/interfaces/index.d.ts +15 -1
  143. package/lib/umd/index.js +11 -0
  144. package/package.json +20 -15
  145. package/LICENSE +0 -21
  146. package/lib/esm/index.js +0 -14601
  147. package/lib/types/basics/index.d.ts.map +0 -1
  148. package/lib/types/basics/registry.d.ts.map +0 -1
  149. package/lib/types/basics/univer-doc.d.ts.map +0 -1
  150. package/lib/types/basics/univer-sheet.d.ts.map +0 -1
  151. package/lib/types/basics/univer-slide.d.ts.map +0 -1
  152. package/lib/types/basics/univer.d.ts.map +0 -1
  153. package/lib/types/common/array.d.ts.map +0 -1
  154. package/lib/types/common/color/color-builder.d.ts +0 -1
  155. package/lib/types/common/color/color-builder.d.ts.map +0 -1
  156. package/lib/types/common/const.d.ts.map +0 -1
  157. package/lib/types/common/interceptor.d.ts.map +0 -1
  158. package/lib/types/common/memory-cursor.d.ts.map +0 -1
  159. package/lib/types/common/sequence.d.ts.map +0 -1
  160. package/lib/types/common/type-utils.d.ts.map +0 -1
  161. package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts.map +0 -1
  162. package/lib/types/docs/data-model/apply-utils/common.d.ts.map +0 -1
  163. package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts.map +0 -1
  164. package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts.map +0 -1
  165. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts.map +0 -1
  166. package/lib/types/docs/data-model/document-data-model.d.ts.map +0 -1
  167. package/lib/types/docs/data-model/index.d.ts.map +0 -1
  168. package/lib/types/docs/data-model/mutation-types.d.ts.map +0 -1
  169. package/lib/types/docs/data-model/types.d.ts.map +0 -1
  170. package/lib/types/docs/index.d.ts.map +0 -1
  171. package/lib/types/index.d.ts.map +0 -1
  172. package/lib/types/observer/index.d.ts.map +0 -1
  173. package/lib/types/observer/observable-hooks.d.ts.map +0 -1
  174. package/lib/types/observer/observable.d.ts.map +0 -1
  175. package/lib/types/plugin/plugin.d.ts.map +0 -1
  176. package/lib/types/services/auth/auth.service.d.ts.map +0 -1
  177. package/lib/types/services/command/command.service.d.ts.map +0 -1
  178. package/lib/types/services/command/command.service.spec.d.ts.map +0 -1
  179. package/lib/types/services/config/config.service.d.ts.map +0 -1
  180. package/lib/types/services/context/context.d.ts.map +0 -1
  181. package/lib/types/services/context/context.service.d.ts.map +0 -1
  182. package/lib/types/services/error/error.service.d.ts.map +0 -1
  183. package/lib/types/services/floating-object/floating-object-interfaces.d.ts.map +0 -1
  184. package/lib/types/services/floating-object/floating-object-manager.service.d.ts.map +0 -1
  185. package/lib/types/services/instance/instance.service.d.ts.map +0 -1
  186. package/lib/types/services/lifecycle/lifecycle.d.ts.map +0 -1
  187. package/lib/types/services/lifecycle/lifecycle.service.d.ts.map +0 -1
  188. package/lib/types/services/local-storage/local-storage.service.d.ts.map +0 -1
  189. package/lib/types/services/locale/locale.service.d.ts.map +0 -1
  190. package/lib/types/services/log/log.service.d.ts.map +0 -1
  191. package/lib/types/services/permission/index.d.ts.map +0 -1
  192. package/lib/types/services/permission/permission-point.d.ts.map +0 -1
  193. package/lib/types/services/permission/permission.service.d.ts.map +0 -1
  194. package/lib/types/services/permission/univer.permission.service.d.ts.map +0 -1
  195. package/lib/types/services/resource-manager/resource-manager.service.d.ts.map +0 -1
  196. package/lib/types/services/resource-manager/type.d.ts.map +0 -1
  197. package/lib/types/services/theme/theme.service.d.ts.map +0 -1
  198. package/lib/types/services/undoredo/undoredo.service.d.ts.map +0 -1
  199. package/lib/types/shared/__test__/object-matrix.spec.d.ts.map +0 -1
  200. package/lib/types/shared/__test__/ref-alias.spec.d.ts.map +0 -1
  201. package/lib/types/shared/array-search.d.ts.map +0 -1
  202. package/lib/types/shared/color/color-builder.d.ts.map +0 -1
  203. package/lib/types/shared/color/color.d.ts.map +0 -1
  204. package/lib/types/shared/color-builder.d.ts +0 -1
  205. package/lib/types/shared/color-builder.d.ts.map +0 -1
  206. package/lib/types/shared/command-enum.d.ts.map +0 -1
  207. package/lib/types/shared/common.d.ts.map +0 -1
  208. package/lib/types/shared/compare.d.ts.map +0 -1
  209. package/lib/types/shared/date-time.d.ts +0 -6
  210. package/lib/types/shared/date-time.d.ts.map +0 -1
  211. package/lib/types/shared/doc-tool.d.ts.map +0 -1
  212. package/lib/types/shared/drop-cell.d.ts +0 -1
  213. package/lib/types/shared/drop-cell.d.ts.map +0 -1
  214. package/lib/types/shared/excel-date-time.d.ts +0 -6
  215. package/lib/types/shared/excel-date-time.d.ts.map +0 -1
  216. package/lib/types/shared/gen-name.d.ts.map +0 -1
  217. package/lib/types/shared/generate.d.ts.map +0 -1
  218. package/lib/types/shared/group-model.d.ts +0 -4
  219. package/lib/types/shared/group-model.d.ts.map +0 -1
  220. package/lib/types/shared/hash-algorithm.d.ts.map +0 -1
  221. package/lib/types/shared/index.d.ts.map +0 -1
  222. package/lib/types/shared/io-http.d.ts +0 -84
  223. package/lib/types/shared/io-http.d.ts.map +0 -1
  224. package/lib/types/shared/io-socket.d.ts +0 -48
  225. package/lib/types/shared/io-socket.d.ts.map +0 -1
  226. package/lib/types/shared/lifecycle.d.ts.map +0 -1
  227. package/lib/types/shared/locale.d.ts.map +0 -1
  228. package/lib/types/shared/logger.d.ts +0 -12
  229. package/lib/types/shared/logger.d.ts.map +0 -1
  230. package/lib/types/shared/lru/index.d.ts.map +0 -1
  231. package/lib/types/shared/lru/lru-helper.d.ts.map +0 -1
  232. package/lib/types/shared/lru/lru-map.d.ts.map +0 -1
  233. package/lib/types/shared/migrate/border.d.ts +0 -3
  234. package/lib/types/shared/migrate/border.d.ts.map +0 -1
  235. package/lib/types/shared/migrate/index.d.ts +0 -2
  236. package/lib/types/shared/migrate/index.d.ts.map +0 -1
  237. package/lib/types/shared/migrate/migrate.d.ts +0 -3
  238. package/lib/types/shared/migrate/migrate.d.ts.map +0 -1
  239. package/lib/types/shared/object-array.d.ts.map +0 -1
  240. package/lib/types/shared/object-matrix.d.ts.map +0 -1
  241. package/lib/types/shared/permission/index.d.ts.map +0 -1
  242. package/lib/types/shared/props-from.d.ts.map +0 -1
  243. package/lib/types/shared/random.d.ts +0 -7
  244. package/lib/types/shared/random.d.ts.map +0 -1
  245. package/lib/types/shared/rect-tree/border-tree.d.ts +0 -30
  246. package/lib/types/shared/rect-tree/border-tree.d.ts.map +0 -1
  247. package/lib/types/shared/rect-tree/es-rect-tree.d.ts +0 -9
  248. package/lib/types/shared/rect-tree/es-rect-tree.d.ts.map +0 -1
  249. package/lib/types/shared/rect-tree/merge-tree.d.ts +0 -1
  250. package/lib/types/shared/rect-tree/merge-tree.d.ts.map +0 -1
  251. package/lib/types/shared/rect-tree/quick-select.d.ts +0 -3
  252. package/lib/types/shared/rect-tree/quick-select.d.ts.map +0 -1
  253. package/lib/types/shared/rect-tree/rect-tree.d.ts +0 -60
  254. package/lib/types/shared/rect-tree/rect-tree.d.ts.map +0 -1
  255. package/lib/types/shared/rect-tree/styles-tree.d.ts +0 -1
  256. package/lib/types/shared/rect-tree/styles-tree.d.ts.map +0 -1
  257. package/lib/types/shared/rectangle.d.ts.map +0 -1
  258. package/lib/types/shared/ref-alias.d.ts.map +0 -1
  259. package/lib/types/shared/row-col-iter.d.ts.map +0 -1
  260. package/lib/types/shared/sequence.d.ts.map +0 -1
  261. package/lib/types/shared/serialize/index.d.ts +0 -5
  262. package/lib/types/shared/serialize/index.d.ts.map +0 -1
  263. package/lib/types/shared/serialize/sequence.d.ts +0 -4
  264. package/lib/types/shared/serialize/sequence.d.ts.map +0 -1
  265. package/lib/types/shared/serialize/serialize-manager.d.ts +0 -17
  266. package/lib/types/shared/serialize/serialize-manager.d.ts.map +0 -1
  267. package/lib/types/shared/serialize/serialize.d.ts +0 -8
  268. package/lib/types/shared/serialize/serialize.d.ts.map +0 -1
  269. package/lib/types/shared/serialize/serializer.d.ts +0 -14
  270. package/lib/types/shared/serialize/serializer.d.ts.map +0 -1
  271. package/lib/types/shared/sort-rules.d.ts.map +0 -1
  272. package/lib/types/shared/tools.d.ts.map +0 -1
  273. package/lib/types/shared/tuples.d.ts +0 -12
  274. package/lib/types/shared/tuples.d.ts.map +0 -1
  275. package/lib/types/shared/type-store.d.ts +0 -10
  276. package/lib/types/shared/type-store.d.ts.map +0 -1
  277. package/lib/types/shared/types.d.ts.map +0 -1
  278. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts.map +0 -1
  279. package/lib/types/sheets/__tests__/styles.spec.d.ts.map +0 -1
  280. package/lib/types/sheets/column-manager.d.ts.map +0 -1
  281. package/lib/types/sheets/range.d.ts.map +0 -1
  282. package/lib/types/sheets/reference.d.ts.map +0 -1
  283. package/lib/types/sheets/row-manager.d.ts.map +0 -1
  284. package/lib/types/sheets/styles.d.ts.map +0 -1
  285. package/lib/types/sheets/view-model.d.ts.map +0 -1
  286. package/lib/types/sheets/workbook.d.ts.map +0 -1
  287. package/lib/types/sheets/worksheet.d.ts.map +0 -1
  288. package/lib/types/slides/domain/index.d.ts.map +0 -1
  289. package/lib/types/slides/domain/slide-model.d.ts.map +0 -1
  290. package/lib/types/types/const/action-names.d.ts.map +0 -1
  291. package/lib/types/types/const/const.d.ts.map +0 -1
  292. package/lib/types/types/const/doc-action-names.d.ts.map +0 -1
  293. package/lib/types/types/const/extension-names.d.ts.map +0 -1
  294. package/lib/types/types/const/index.d.ts.map +0 -1
  295. package/lib/types/types/const/theme-color-map.d.ts.map +0 -1
  296. package/lib/types/types/enum/auto-fill-series.d.ts.map +0 -1
  297. package/lib/types/types/enum/border-style-types.d.ts.map +0 -1
  298. package/lib/types/types/enum/color-type.d.ts.map +0 -1
  299. package/lib/types/types/enum/common-hide-types.d.ts.map +0 -1
  300. package/lib/types/types/enum/condition-type.d.ts.map +0 -1
  301. package/lib/types/types/enum/copy-paste-type.d.ts.map +0 -1
  302. package/lib/types/types/enum/developer-metadata-visibility.d.ts.map +0 -1
  303. package/lib/types/types/enum/dimension.d.ts.map +0 -1
  304. package/lib/types/types/enum/direction.d.ts.map +0 -1
  305. package/lib/types/types/enum/format-type.d.ts.map +0 -1
  306. package/lib/types/types/enum/group-control-toggle-position.d.ts.map +0 -1
  307. package/lib/types/types/enum/index.d.ts.map +0 -1
  308. package/lib/types/types/enum/interpolation-point-type.d.ts.map +0 -1
  309. package/lib/types/types/enum/locale-type.d.ts.map +0 -1
  310. package/lib/types/types/enum/place-holder-type.d.ts.map +0 -1
  311. package/lib/types/types/enum/protection-type.d.ts.map +0 -1
  312. package/lib/types/types/enum/relative-date.d.ts.map +0 -1
  313. package/lib/types/types/enum/shape-type.d.ts.map +0 -1
  314. package/lib/types/types/enum/sheet-types.d.ts.map +0 -1
  315. package/lib/types/types/enum/text-style.d.ts.map +0 -1
  316. package/lib/types/types/enum/theme-color-type.d.ts.map +0 -1
  317. package/lib/types/types/interfaces/i-cell-data.d.ts.map +0 -1
  318. package/lib/types/types/interfaces/i-column-data.d.ts.map +0 -1
  319. package/lib/types/types/interfaces/i-document-data.d.ts.map +0 -1
  320. package/lib/types/types/interfaces/i-extra-model-data.d.ts.map +0 -1
  321. package/lib/types/types/interfaces/i-freeze.d.ts.map +0 -1
  322. package/lib/types/types/interfaces/i-image-properties.d.ts.map +0 -1
  323. package/lib/types/types/interfaces/i-placeholder.d.ts.map +0 -1
  324. package/lib/types/types/interfaces/i-range.d.ts.map +0 -1
  325. package/lib/types/types/interfaces/i-row-data.d.ts.map +0 -1
  326. package/lib/types/types/interfaces/i-selection-data.d.ts.map +0 -1
  327. package/lib/types/types/interfaces/i-service-data.d.ts.map +0 -1
  328. package/lib/types/types/interfaces/i-shape-properties.d.ts.map +0 -1
  329. package/lib/types/types/interfaces/i-slide-data.d.ts.map +0 -1
  330. package/lib/types/types/interfaces/i-style-data.d.ts.map +0 -1
  331. package/lib/types/types/interfaces/i-univer-data.d.ts.map +0 -1
  332. package/lib/types/types/interfaces/i-workbook-data.d.ts.map +0 -1
  333. package/lib/types/types/interfaces/i-worksheet-data.d.ts.map +0 -1
  334. package/lib/types/types/interfaces/i-worksheet-order-data.d.ts.map +0 -1
  335. package/lib/types/types/interfaces/index.d.ts.map +0 -1
@@ -1,6 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './registry';
2
17
  export * from './univer';
3
18
  export * from './univer-doc';
4
19
  export * from './univer-sheet';
5
20
  export * from './univer-slide';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,17 @@
1
1
  /**
2
- * Add extension modules statically when the plugin is initialized, so that the plugin can register these extension modules uniformly
2
+ * Copyright 2023-present DreamNum Inc.
3
3
  *
4
- * @privateRemarks
5
- * zh: 在插件初始化的时候静态添加扩展模块,方便插件统一注册这些扩展模块
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
6
15
  */
7
16
  export declare class Registry {
8
17
  private _data;
@@ -24,4 +33,3 @@ export declare class RegistryAsMap {
24
33
  delete(id: string): void;
25
34
  getData(): Map<string, any>;
26
35
  }
27
- //# sourceMappingURL=registry.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { Injector } from '@wendellhu/redi';
2
17
  import { DocumentDataModel } from '../docs/data-model/document-data-model';
3
18
  import type { Plugin, PluginCtor } from '../plugin/plugin';
@@ -17,4 +32,3 @@ export declare class UniverDoc extends Disposable {
17
32
  createDoc(docData: Partial<IDocumentData>): DocumentDataModel;
18
33
  addPlugin<T extends Plugin>(pluginCtor: PluginCtor<T>, options: any): void;
19
34
  }
20
- //# sourceMappingURL=univer-doc.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDisposable } from '@wendellhu/redi';
2
17
  import { Injector } from '@wendellhu/redi';
3
18
  import type { Plugin, PluginCtor } from '../plugin/plugin';
@@ -28,4 +43,3 @@ export declare class UniverSheet extends Disposable implements IDisposable {
28
43
  addPlugin<T extends Plugin>(plugin: PluginCtor<T>, options: any): void;
29
44
  private _initDependencies;
30
45
  }
31
- //# sourceMappingURL=univer-sheet.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { Injector } from '@wendellhu/redi';
2
17
  import type { Plugin, PluginCtor } from '../plugin/plugin';
3
18
  import { LifecycleInitializerService, LifecycleService } from '../services/lifecycle/lifecycle.service';
@@ -26,4 +41,3 @@ export declare class UniverSlide extends Disposable {
26
41
  */
27
42
  addPlugin<T extends Plugin>(plugin: PluginCtor<T>, options: any): void;
28
43
  }
29
- //# sourceMappingURL=univer-slide.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { Injector } from '@wendellhu/redi';
2
17
  import type { DocumentDataModel } from '../docs/data-model/document-data-model';
3
18
  import type { Plugin, PluginCtor } from '../plugin/plugin';
@@ -32,10 +47,9 @@ export declare class Univer {
32
47
  private _tryStart;
33
48
  private _tryProgressToReady;
34
49
  private _registerUniverPlugin;
35
- private _registerSheetsPlugin;
36
- private _registerDocsPlugin;
37
- private _registerSlidesPlugin;
50
+ private _registerUniverSheets;
51
+ private _registerUniverDocs;
52
+ private _registerUniverSlides;
38
53
  private _initializePluginsForDoc;
39
54
  private _initializePluginsForSlide;
40
55
  }
41
- //# sourceMappingURL=univer.d.ts.map
@@ -1,8 +1,17 @@
1
1
  /**
2
- * Remove an item from an array.
3
- * @param arr The array to remove item from.
4
- * @param item The item to be removed.
5
- * @returns Returns `true` if the item is removed successfully. Returns `false` if the item does not exist in the array.
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
6
15
  */
7
16
  export declare function remove<T>(arr: T[], item: T): boolean;
8
17
  /**
@@ -12,4 +21,3 @@ export declare function remove<T>(arr: T[], item: T): boolean;
12
21
  */
13
22
  export declare function dedupe<T>(arr: T[]): T[];
14
23
  export declare function findLast<T>(arr: T[], callback: (item: T, index: number) => boolean): T | null;
15
- //# sourceMappingURL=array.d.ts.map
@@ -1,4 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export declare const DOCS_NORMAL_EDITOR_UNIT_ID_KEY = "__defaultDocumentNormalEditorSpecialUnitId_20231006__";
2
17
  export declare const DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY = "__defaultDocumentFormulaBarEditorSpecialUnitId_20231012__";
3
18
  export declare const DEFAULT_EMPTY_DOCUMENT_VALUE = "\r\n";
4
- //# sourceMappingURL=const.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { Nullable } from './type-utils';
2
17
  export type InterceptorHandler<M = unknown, C = unknown> = (value: Nullable<M>, context: C, next: (value: Nullable<M>) => Nullable<M>) => Nullable<M>;
3
18
  export interface IInterceptor<M, C> {
@@ -18,4 +33,3 @@ export declare class InterceptorManager<P extends Record<string, IInterceptor<an
18
33
  intercept<T extends IInterceptor<any, any>>(name: T, interceptor: T): () => boolean;
19
34
  getInterceptPoints(): P;
20
35
  }
21
- //# sourceMappingURL=interceptor.d.ts.map
@@ -1,6 +1,20 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export declare class MemoryCursor {
2
17
  cursor: number;
3
18
  reset(): this;
4
19
  moveCursor(pos: number): void;
5
20
  }
6
- //# sourceMappingURL=memory-cursor.d.ts.map
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare function requestImmediateMacroTask(callback: (value?: unknown) => void): () => void;
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export interface ISequenceExecuteResult {
2
17
  index: number;
3
18
  result: boolean;
@@ -15,4 +30,3 @@ export declare function sequenceAsync(tasks: Array<() => Promise<boolean> | bool
15
30
  * @returns Returns `true` if all tasks are executed successfully, otherwise `false` and index of the task that returns false.
16
31
  */
17
32
  export declare function sequence(tasks: Array<() => boolean>): ISequenceExecuteResult;
18
- //# sourceMappingURL=sequence.d.ts.map
@@ -1,5 +1,16 @@
1
1
  /**
2
- * Alias type for value that can be null
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
3
15
  */
4
16
  export type Nullable<T> = T | null | undefined | void;
5
- //# sourceMappingURL=type-utils.d.ts.map
@@ -1,2 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export {};
2
- //# sourceMappingURL=apply-utils.spec.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { ICustomBlock, ICustomRange, IDocumentBody, IParagraph, ISectionBreak, ITable, ITextRun } from '../../../types/interfaces';
2
17
  export declare function normalizeTextRuns(textRuns: ITextRun[]): ITextRun[];
3
18
  /**
@@ -27,4 +42,3 @@ export declare function deleteSectionBreaks(body: IDocumentBody, textLength: num
27
42
  export declare function deleteCustomBlocks(body: IDocumentBody, textLength: number, currentIndex: number): ICustomBlock[];
28
43
  export declare function deleteTables(body: IDocumentBody, textLength: number, currentIndex: number): ITable[];
29
44
  export declare function deleteCustomRanges(body: IDocumentBody, textLength: number, currentIndex: number): ICustomRange[];
30
- //# sourceMappingURL=common.d.ts.map
@@ -1,3 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentBody } from '../../../types/interfaces';
2
17
  export declare function updateAttributeByDelete(body: IDocumentBody, textLength: number, currentIndex: number): IDocumentBody;
3
- //# sourceMappingURL=delete-apply.d.ts.map
@@ -1,3 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentBody } from '../../../types/interfaces';
2
17
  export declare function updateAttributeByInsert(body: IDocumentBody, insertBody: IDocumentBody, textLength: number, currentIndex: number): void;
3
- //# sourceMappingURL=insert-apply.d.ts.map
@@ -1,5 +1,19 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import { UpdateDocsAttributeType } from '../../../shared';
2
17
  import type { IDocumentBody, ITextRun } from '../../../types/interfaces';
3
18
  export declare function updateAttribute(body: IDocumentBody, updateBody: IDocumentBody, textLength: number, currentIndex: number, coverType: UpdateDocsAttributeType): IDocumentBody;
4
19
  export declare function coverTextRuns(updateDataTextRuns: ITextRun[], removeTextRuns: ITextRun[], coverType: UpdateDocsAttributeType): ITextRun[];
5
- //# sourceMappingURL=update-apply.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { IDocumentBody, IDocumentData, IDocumentRenderConfig } from '../../types/interfaces/i-document-data';
2
17
  import { type IPaddingData } from '../../types/interfaces/i-style-data';
3
18
  import { type DocMutationParams } from './mutation-types';
@@ -54,4 +69,3 @@ export declare class DocumentDataModel extends DocumentDataModelSimple {
54
69
  updateDocumentId(unitId: string): void;
55
70
  }
56
71
  export {};
57
- //# sourceMappingURL=document-data-model.d.ts.map
@@ -1,3 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './document-data-model';
2
17
  export * from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { UpdateDocsAttributeType } from '../../shared/command-enum';
2
17
  import type { IDocumentBody } from '../../types/interfaces/i-document-data';
3
18
  /**
@@ -30,4 +45,3 @@ export interface IDeleteMutationParams {
30
45
  segmentId?: string;
31
46
  }
32
47
  export type DocMutationParams = IRetainMutationParams | IInsertMutationParams | IDeleteMutationParams;
33
- //# sourceMappingURL=mutation-types.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export declare enum DataStreamTreeNodeType {
2
17
  PARAGRAPH = 0,// \r 段落
3
18
  SECTION_BREAK = 1,// \n 章节
@@ -24,4 +39,3 @@ export declare enum DataStreamTreeTokenType {
24
39
  LETTER = "",
25
40
  SPACE = " "
26
41
  }
27
- //# sourceMappingURL=types.d.ts.map
@@ -1,2 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './data-model';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,23 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './basics';
2
17
  export { dedupe, remove } from './common/array';
3
18
  export { DEFAULT_EMPTY_DOCUMENT_VALUE, DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DOCS_NORMAL_EDITOR_UNIT_ID_KEY, } from './common/const';
4
19
  export { MemoryCursor } from './common/memory-cursor';
20
+ export { requestImmediateMacroTask } from './common/request-immediate-macro-task';
5
21
  export { type ISequenceExecuteResult, sequence, sequenceAsync } from './common/sequence';
6
22
  export * from './docs/data-model';
7
23
  export { type DocMutationParams, type IDeleteMutationParams, type IInsertMutationParams, type IRetainMutationParams, } from './docs/data-model/mutation-types';
@@ -19,11 +35,11 @@ export { LifecycleStages, OnLifecycle, runOnLifecycle } from './services/lifecyc
19
35
  export { LifecycleService } from './services/lifecycle/lifecycle.service';
20
36
  export { ILocalStorageService } from './services/local-storage/local-storage.service';
21
37
  export { LocaleService } from './services/locale/locale.service';
22
- export { DesktopLogService, ILogService } from './services/log/log.service';
38
+ export { DesktopLogService, ILogService, LogLevel } from './services/log/log.service';
23
39
  export { IPermissionService, PermissionService, UniverEditablePermission, UniverEditablePermissionPoint, UniverPermissionService, } from './services/permission';
24
40
  export { ResourceManagerService } from './services/resource-manager/resource-manager.service';
25
41
  export type { IResourceHook } from './services/resource-manager/type';
26
- export { IResourceManagerService } from './services/resource-manager/type';
42
+ export { IResourceManagerService, ISnapshotPersistenceService } from './services/resource-manager/type';
27
43
  export { type IStyleSheet, ThemeService } from './services/theme/theme.service';
28
44
  export { type IUndoRedoCommandInfos, type IUndoRedoItem, IUndoRedoService, type IUndoRedoStatus, LocalUndoRedoService, RedoCommand, UndoCommand, } from './services/undoredo/undoredo.service';
29
45
  export * from './shared';
@@ -39,4 +55,3 @@ export * from './slides/domain';
39
55
  export * from './types/const';
40
56
  export * from './types/enum';
41
57
  export * from './types/interfaces';
42
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  export * from './observable';
2
17
  export * from './observable-hooks';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { Nullable } from '../shared/types';
2
17
  import type { EventState } from './observable';
3
18
  import { Observable, Observer } from './observable';
@@ -16,4 +31,3 @@ export declare class ObservableHooks<T> extends Observable<T> {
16
31
  makeObserverTopPriority(): void;
17
32
  makeObserverBottomPriority(): void;
18
33
  }
19
- //# sourceMappingURL=observable-hooks.d.ts.map
@@ -1,3 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
  import type { Nullable } from '../shared/types';
2
17
  /**
3
18
  * A class serves as a medium between the observable and its observers
@@ -167,4 +182,3 @@ export declare class Observable<T> {
167
182
  private _remove;
168
183
  }
169
184
  export {};
170
- //# sourceMappingURL=observable.d.ts.map