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

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 (340) hide show
  1. package/LICENSE.txt +178 -0
  2. package/README.md +1 -1
  3. package/lib/cjs/index.js +11 -15323
  4. package/lib/es/index.js +7453 -0
  5. package/lib/types/basics/index.d.ts +15 -1
  6. package/lib/types/basics/plugin-holder.d.ts +30 -0
  7. package/lib/types/basics/registry.d.ts +12 -4
  8. package/lib/types/basics/univer-doc.d.ts +22 -12
  9. package/lib/types/basics/univer-sheet.d.ts +22 -22
  10. package/lib/types/basics/univer-slide.d.ts +21 -20
  11. package/lib/types/basics/univer.d.ts +30 -11
  12. package/lib/types/common/array.d.ts +13 -5
  13. package/lib/types/common/const.d.ts +15 -1
  14. package/lib/types/common/interceptor.d.ts +15 -1
  15. package/lib/types/common/memory-cursor.d.ts +16 -1
  16. package/lib/types/common/request-immediate-macro-task.d.ts +16 -0
  17. package/lib/types/common/sequence.d.ts +15 -1
  18. package/lib/types/common/shims.d.ts +16 -0
  19. package/lib/types/common/type-utils.d.ts +13 -2
  20. package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts +15 -1
  21. package/lib/types/docs/data-model/apply-utils/common.d.ts +15 -1
  22. package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts +15 -1
  23. package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts +15 -1
  24. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts +15 -1
  25. package/lib/types/docs/data-model/document-data-model.d.ts +15 -1
  26. package/lib/types/docs/data-model/index.d.ts +16 -1
  27. package/lib/types/docs/data-model/mutation-types.d.ts +15 -1
  28. package/lib/types/docs/data-model/preset-list-type.d.ts +50 -0
  29. package/lib/types/docs/data-model/types.d.ts +15 -1
  30. package/lib/types/docs/index.d.ts +15 -1
  31. package/lib/types/index.d.ts +19 -3
  32. package/lib/types/observer/index.d.ts +15 -1
  33. package/lib/types/observer/observable-hooks.d.ts +15 -1
  34. package/lib/types/observer/observable.d.ts +15 -1
  35. package/lib/types/plugin/plugin.d.ts +19 -4
  36. package/lib/types/services/auth/auth.service.d.ts +15 -1
  37. package/lib/types/services/command/command.service.d.ts +32 -5
  38. package/lib/types/services/command/command.service.spec.d.ts +15 -1
  39. package/lib/types/services/config/config.service.d.ts +15 -1
  40. package/lib/types/services/context/context.d.ts +15 -1
  41. package/lib/types/services/context/context.service.d.ts +15 -1
  42. package/lib/types/services/error/error.service.d.ts +15 -1
  43. package/lib/types/services/floating-object/floating-object-interfaces.d.ts +15 -1
  44. package/lib/types/services/floating-object/floating-object-manager.service.d.ts +15 -1
  45. package/lib/types/services/instance/instance.service.d.ts +15 -1
  46. package/lib/types/services/lifecycle/lifecycle.d.ts +15 -1
  47. package/lib/types/services/lifecycle/lifecycle.service.d.ts +15 -1
  48. package/lib/types/services/local-storage/local-storage.service.d.ts +15 -1
  49. package/lib/types/services/locale/locale.service.d.ts +15 -1
  50. package/lib/types/services/log/log.service.d.ts +32 -12
  51. package/lib/types/services/permission/index.d.ts +15 -1
  52. package/lib/types/services/permission/permission-point.d.ts +15 -1
  53. package/lib/types/services/permission/permission.service.d.ts +15 -1
  54. package/lib/types/services/permission/univer.permission.service.d.ts +15 -1
  55. package/lib/types/services/resource-manager/resource-manager.service.d.ts +15 -1
  56. package/lib/types/services/resource-manager/type.d.ts +21 -1
  57. package/lib/types/services/theme/theme.service.d.ts +15 -1
  58. package/lib/types/services/undoredo/undoredo.service.d.ts +15 -1
  59. package/lib/types/shared/__test__/object-matrix.spec.d.ts +15 -1
  60. package/lib/types/shared/__test__/ref-alias.spec.d.ts +15 -1
  61. package/lib/types/shared/array-search.d.ts +15 -1
  62. package/lib/types/shared/blob.d.ts +16 -0
  63. package/lib/types/shared/color/color-kit.d.ts +64 -0
  64. package/lib/types/shared/color/color.d.ts +32 -4
  65. package/lib/types/shared/command-enum.d.ts +15 -1
  66. package/lib/types/shared/common.d.ts +16 -4
  67. package/lib/types/shared/compare.d.ts +15 -1
  68. package/lib/types/shared/doc-tool.d.ts +15 -1
  69. package/lib/types/shared/gen-name.d.ts +15 -1
  70. package/lib/types/shared/generate.d.ts +15 -1
  71. package/lib/types/shared/hash-algorithm.d.ts +15 -1
  72. package/lib/types/shared/index.d.ts +17 -14
  73. package/lib/types/shared/lifecycle.d.ts +15 -1
  74. package/lib/types/shared/locale.d.ts +16 -5
  75. package/lib/types/shared/lru/index.d.ts +15 -1
  76. package/lib/types/shared/lru/lru-helper.d.ts +15 -1
  77. package/lib/types/shared/lru/lru-map.d.ts +15 -1
  78. package/lib/types/shared/object-matrix.d.ts +67 -30
  79. package/lib/types/shared/permission/index.d.ts +15 -1
  80. package/lib/types/shared/props-from.d.ts +15 -1
  81. package/lib/types/shared/rectangle.d.ts +16 -1
  82. package/lib/types/shared/ref-alias.d.ts +13 -9
  83. package/lib/types/shared/row-col-iter.d.ts +15 -1
  84. package/lib/types/shared/sequence.d.ts +13 -4
  85. package/lib/types/shared/sort-rules.d.ts +17 -3
  86. package/lib/types/shared/tools.d.ts +15 -6
  87. package/lib/types/shared/types.d.ts +13 -2
  88. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +15 -1
  89. package/lib/types/sheets/__tests__/styles.spec.d.ts +15 -1
  90. package/lib/types/sheets/column-manager.d.ts +22 -16
  91. package/lib/types/sheets/range.d.ts +19 -19
  92. package/lib/types/sheets/reference.d.ts +15 -1
  93. package/lib/types/sheets/row-manager.d.ts +22 -8
  94. package/lib/types/sheets/styles.d.ts +21 -9
  95. package/lib/types/sheets/view-model.d.ts +19 -5
  96. package/lib/types/sheets/workbook.d.ts +22 -4
  97. package/lib/types/sheets/worksheet.d.ts +23 -4
  98. package/lib/types/slides/domain/index.d.ts +15 -1
  99. package/lib/types/slides/domain/slide-model.d.ts +15 -1
  100. package/lib/types/types/const/action-names.d.ts +15 -1
  101. package/lib/types/types/const/const.d.ts +15 -1
  102. package/lib/types/types/const/doc-action-names.d.ts +15 -1
  103. package/lib/types/types/const/extension-names.d.ts +13 -2
  104. package/lib/types/types/const/index.d.ts +15 -1
  105. package/lib/types/types/const/theme-color-map.d.ts +15 -1
  106. package/lib/types/types/enum/auto-fill-series.d.ts +11 -5
  107. package/lib/types/types/enum/border-style-types.d.ts +13 -2
  108. package/lib/types/types/enum/color-type.d.ts +13 -2
  109. package/lib/types/types/enum/common-hide-types.d.ts +13 -2
  110. package/lib/types/types/enum/condition-type.d.ts +13 -2
  111. package/lib/types/types/enum/copy-paste-type.d.ts +12 -4
  112. package/lib/types/types/enum/developer-metadata-visibility.d.ts +13 -2
  113. package/lib/types/types/enum/dimension.d.ts +12 -3
  114. package/lib/types/types/enum/direction.d.ts +15 -1
  115. package/lib/types/types/enum/format-type.d.ts +13 -2
  116. package/lib/types/types/enum/group-control-toggle-position.d.ts +13 -2
  117. package/lib/types/types/enum/index.d.ts +15 -1
  118. package/lib/types/types/enum/interpolation-point-type.d.ts +13 -2
  119. package/lib/types/types/enum/locale-type.d.ts +12 -3
  120. package/lib/types/types/enum/place-holder-type.d.ts +15 -1
  121. package/lib/types/types/enum/protection-type.d.ts +13 -2
  122. package/lib/types/types/enum/relative-date.d.ts +13 -2
  123. package/lib/types/types/enum/shape-type.d.ts +15 -1
  124. package/lib/types/types/enum/sheet-types.d.ts +13 -2
  125. package/lib/types/types/enum/text-style.d.ts +16 -5
  126. package/lib/types/types/enum/theme-color-type.d.ts +10 -19
  127. package/lib/types/types/interfaces/i-cell-data.d.ts +25 -9
  128. package/lib/types/types/interfaces/i-column-data.d.ts +15 -1
  129. package/lib/types/types/interfaces/i-document-data.d.ts +18 -3
  130. package/lib/types/types/interfaces/i-extra-model-data.d.ts +15 -1
  131. package/lib/types/types/interfaces/i-freeze.d.ts +13 -3
  132. package/lib/types/types/interfaces/i-image-properties.d.ts +13 -2
  133. package/lib/types/types/interfaces/i-placeholder.d.ts +15 -1
  134. package/lib/types/types/interfaces/i-range.d.ts +28 -12
  135. package/lib/types/types/interfaces/i-row-data.d.ts +15 -1
  136. package/lib/types/types/interfaces/i-selection-data.d.ts +15 -1
  137. package/lib/types/types/interfaces/i-service-data.d.ts +13 -2
  138. package/lib/types/types/interfaces/i-shape-properties.d.ts +15 -1
  139. package/lib/types/types/interfaces/i-slide-data.d.ts +15 -1
  140. package/lib/types/types/interfaces/i-style-data.d.ts +15 -1
  141. package/lib/types/types/interfaces/i-univer-data.d.ts +17 -1
  142. package/lib/types/types/interfaces/i-workbook-data.d.ts +15 -1
  143. package/lib/types/types/interfaces/i-worksheet-data.d.ts +23 -6
  144. package/lib/types/types/interfaces/i-worksheet-order-data.d.ts +13 -2
  145. package/lib/types/types/interfaces/index.d.ts +15 -1
  146. package/lib/umd/index.js +11 -0
  147. package/package.json +20 -15
  148. package/LICENSE +0 -21
  149. package/lib/esm/index.js +0 -14601
  150. package/lib/types/basics/index.d.ts.map +0 -1
  151. package/lib/types/basics/registry.d.ts.map +0 -1
  152. package/lib/types/basics/univer-doc.d.ts.map +0 -1
  153. package/lib/types/basics/univer-sheet.d.ts.map +0 -1
  154. package/lib/types/basics/univer-slide.d.ts.map +0 -1
  155. package/lib/types/basics/univer.d.ts.map +0 -1
  156. package/lib/types/common/array.d.ts.map +0 -1
  157. package/lib/types/common/color/color-builder.d.ts +0 -1
  158. package/lib/types/common/color/color-builder.d.ts.map +0 -1
  159. package/lib/types/common/const.d.ts.map +0 -1
  160. package/lib/types/common/interceptor.d.ts.map +0 -1
  161. package/lib/types/common/memory-cursor.d.ts.map +0 -1
  162. package/lib/types/common/sequence.d.ts.map +0 -1
  163. package/lib/types/common/type-utils.d.ts.map +0 -1
  164. package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts.map +0 -1
  165. package/lib/types/docs/data-model/apply-utils/common.d.ts.map +0 -1
  166. package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts.map +0 -1
  167. package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts.map +0 -1
  168. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts.map +0 -1
  169. package/lib/types/docs/data-model/document-data-model.d.ts.map +0 -1
  170. package/lib/types/docs/data-model/index.d.ts.map +0 -1
  171. package/lib/types/docs/data-model/mutation-types.d.ts.map +0 -1
  172. package/lib/types/docs/data-model/types.d.ts.map +0 -1
  173. package/lib/types/docs/index.d.ts.map +0 -1
  174. package/lib/types/index.d.ts.map +0 -1
  175. package/lib/types/observer/index.d.ts.map +0 -1
  176. package/lib/types/observer/observable-hooks.d.ts.map +0 -1
  177. package/lib/types/observer/observable.d.ts.map +0 -1
  178. package/lib/types/plugin/plugin.d.ts.map +0 -1
  179. package/lib/types/services/auth/auth.service.d.ts.map +0 -1
  180. package/lib/types/services/command/command.service.d.ts.map +0 -1
  181. package/lib/types/services/command/command.service.spec.d.ts.map +0 -1
  182. package/lib/types/services/config/config.service.d.ts.map +0 -1
  183. package/lib/types/services/context/context.d.ts.map +0 -1
  184. package/lib/types/services/context/context.service.d.ts.map +0 -1
  185. package/lib/types/services/error/error.service.d.ts.map +0 -1
  186. package/lib/types/services/floating-object/floating-object-interfaces.d.ts.map +0 -1
  187. package/lib/types/services/floating-object/floating-object-manager.service.d.ts.map +0 -1
  188. package/lib/types/services/instance/instance.service.d.ts.map +0 -1
  189. package/lib/types/services/lifecycle/lifecycle.d.ts.map +0 -1
  190. package/lib/types/services/lifecycle/lifecycle.service.d.ts.map +0 -1
  191. package/lib/types/services/local-storage/local-storage.service.d.ts.map +0 -1
  192. package/lib/types/services/locale/locale.service.d.ts.map +0 -1
  193. package/lib/types/services/log/log.service.d.ts.map +0 -1
  194. package/lib/types/services/permission/index.d.ts.map +0 -1
  195. package/lib/types/services/permission/permission-point.d.ts.map +0 -1
  196. package/lib/types/services/permission/permission.service.d.ts.map +0 -1
  197. package/lib/types/services/permission/univer.permission.service.d.ts.map +0 -1
  198. package/lib/types/services/resource-manager/resource-manager.service.d.ts.map +0 -1
  199. package/lib/types/services/resource-manager/type.d.ts.map +0 -1
  200. package/lib/types/services/theme/theme.service.d.ts.map +0 -1
  201. package/lib/types/services/undoredo/undoredo.service.d.ts.map +0 -1
  202. package/lib/types/shared/__test__/object-matrix.spec.d.ts.map +0 -1
  203. package/lib/types/shared/__test__/ref-alias.spec.d.ts.map +0 -1
  204. package/lib/types/shared/array-search.d.ts.map +0 -1
  205. package/lib/types/shared/color/color-builder.d.ts +0 -21
  206. package/lib/types/shared/color/color-builder.d.ts.map +0 -1
  207. package/lib/types/shared/color/color.d.ts.map +0 -1
  208. package/lib/types/shared/color-builder.d.ts +0 -1
  209. package/lib/types/shared/color-builder.d.ts.map +0 -1
  210. package/lib/types/shared/command-enum.d.ts.map +0 -1
  211. package/lib/types/shared/common.d.ts.map +0 -1
  212. package/lib/types/shared/compare.d.ts.map +0 -1
  213. package/lib/types/shared/date-time.d.ts +0 -6
  214. package/lib/types/shared/date-time.d.ts.map +0 -1
  215. package/lib/types/shared/doc-tool.d.ts.map +0 -1
  216. package/lib/types/shared/drop-cell.d.ts +0 -1
  217. package/lib/types/shared/drop-cell.d.ts.map +0 -1
  218. package/lib/types/shared/excel-date-time.d.ts +0 -6
  219. package/lib/types/shared/excel-date-time.d.ts.map +0 -1
  220. package/lib/types/shared/gen-name.d.ts.map +0 -1
  221. package/lib/types/shared/generate.d.ts.map +0 -1
  222. package/lib/types/shared/group-model.d.ts +0 -4
  223. package/lib/types/shared/group-model.d.ts.map +0 -1
  224. package/lib/types/shared/hash-algorithm.d.ts.map +0 -1
  225. package/lib/types/shared/index.d.ts.map +0 -1
  226. package/lib/types/shared/io-http.d.ts +0 -84
  227. package/lib/types/shared/io-http.d.ts.map +0 -1
  228. package/lib/types/shared/io-socket.d.ts +0 -48
  229. package/lib/types/shared/io-socket.d.ts.map +0 -1
  230. package/lib/types/shared/lifecycle.d.ts.map +0 -1
  231. package/lib/types/shared/locale.d.ts.map +0 -1
  232. package/lib/types/shared/logger.d.ts +0 -12
  233. package/lib/types/shared/logger.d.ts.map +0 -1
  234. package/lib/types/shared/lru/index.d.ts.map +0 -1
  235. package/lib/types/shared/lru/lru-helper.d.ts.map +0 -1
  236. package/lib/types/shared/lru/lru-map.d.ts.map +0 -1
  237. package/lib/types/shared/migrate/border.d.ts +0 -3
  238. package/lib/types/shared/migrate/border.d.ts.map +0 -1
  239. package/lib/types/shared/migrate/index.d.ts +0 -2
  240. package/lib/types/shared/migrate/index.d.ts.map +0 -1
  241. package/lib/types/shared/migrate/migrate.d.ts +0 -3
  242. package/lib/types/shared/migrate/migrate.d.ts.map +0 -1
  243. package/lib/types/shared/object-array.d.ts +0 -96
  244. package/lib/types/shared/object-array.d.ts.map +0 -1
  245. package/lib/types/shared/object-matrix.d.ts.map +0 -1
  246. package/lib/types/shared/permission/index.d.ts.map +0 -1
  247. package/lib/types/shared/props-from.d.ts.map +0 -1
  248. package/lib/types/shared/random.d.ts +0 -7
  249. package/lib/types/shared/random.d.ts.map +0 -1
  250. package/lib/types/shared/rect-tree/border-tree.d.ts +0 -30
  251. package/lib/types/shared/rect-tree/border-tree.d.ts.map +0 -1
  252. package/lib/types/shared/rect-tree/es-rect-tree.d.ts +0 -9
  253. package/lib/types/shared/rect-tree/es-rect-tree.d.ts.map +0 -1
  254. package/lib/types/shared/rect-tree/merge-tree.d.ts +0 -1
  255. package/lib/types/shared/rect-tree/merge-tree.d.ts.map +0 -1
  256. package/lib/types/shared/rect-tree/quick-select.d.ts +0 -3
  257. package/lib/types/shared/rect-tree/quick-select.d.ts.map +0 -1
  258. package/lib/types/shared/rect-tree/rect-tree.d.ts +0 -60
  259. package/lib/types/shared/rect-tree/rect-tree.d.ts.map +0 -1
  260. package/lib/types/shared/rect-tree/styles-tree.d.ts +0 -1
  261. package/lib/types/shared/rect-tree/styles-tree.d.ts.map +0 -1
  262. package/lib/types/shared/rectangle.d.ts.map +0 -1
  263. package/lib/types/shared/ref-alias.d.ts.map +0 -1
  264. package/lib/types/shared/row-col-iter.d.ts.map +0 -1
  265. package/lib/types/shared/sequence.d.ts.map +0 -1
  266. package/lib/types/shared/serialize/index.d.ts +0 -5
  267. package/lib/types/shared/serialize/index.d.ts.map +0 -1
  268. package/lib/types/shared/serialize/sequence.d.ts +0 -4
  269. package/lib/types/shared/serialize/sequence.d.ts.map +0 -1
  270. package/lib/types/shared/serialize/serialize-manager.d.ts +0 -17
  271. package/lib/types/shared/serialize/serialize-manager.d.ts.map +0 -1
  272. package/lib/types/shared/serialize/serialize.d.ts +0 -8
  273. package/lib/types/shared/serialize/serialize.d.ts.map +0 -1
  274. package/lib/types/shared/serialize/serializer.d.ts +0 -14
  275. package/lib/types/shared/serialize/serializer.d.ts.map +0 -1
  276. package/lib/types/shared/sort-rules.d.ts.map +0 -1
  277. package/lib/types/shared/tools.d.ts.map +0 -1
  278. package/lib/types/shared/tuples.d.ts +0 -12
  279. package/lib/types/shared/tuples.d.ts.map +0 -1
  280. package/lib/types/shared/type-store.d.ts +0 -10
  281. package/lib/types/shared/type-store.d.ts.map +0 -1
  282. package/lib/types/shared/types.d.ts.map +0 -1
  283. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts.map +0 -1
  284. package/lib/types/sheets/__tests__/styles.spec.d.ts.map +0 -1
  285. package/lib/types/sheets/column-manager.d.ts.map +0 -1
  286. package/lib/types/sheets/range.d.ts.map +0 -1
  287. package/lib/types/sheets/reference.d.ts.map +0 -1
  288. package/lib/types/sheets/row-manager.d.ts.map +0 -1
  289. package/lib/types/sheets/styles.d.ts.map +0 -1
  290. package/lib/types/sheets/view-model.d.ts.map +0 -1
  291. package/lib/types/sheets/workbook.d.ts.map +0 -1
  292. package/lib/types/sheets/worksheet.d.ts.map +0 -1
  293. package/lib/types/slides/domain/index.d.ts.map +0 -1
  294. package/lib/types/slides/domain/slide-model.d.ts.map +0 -1
  295. package/lib/types/types/const/action-names.d.ts.map +0 -1
  296. package/lib/types/types/const/const.d.ts.map +0 -1
  297. package/lib/types/types/const/doc-action-names.d.ts.map +0 -1
  298. package/lib/types/types/const/extension-names.d.ts.map +0 -1
  299. package/lib/types/types/const/index.d.ts.map +0 -1
  300. package/lib/types/types/const/theme-color-map.d.ts.map +0 -1
  301. package/lib/types/types/enum/auto-fill-series.d.ts.map +0 -1
  302. package/lib/types/types/enum/border-style-types.d.ts.map +0 -1
  303. package/lib/types/types/enum/color-type.d.ts.map +0 -1
  304. package/lib/types/types/enum/common-hide-types.d.ts.map +0 -1
  305. package/lib/types/types/enum/condition-type.d.ts.map +0 -1
  306. package/lib/types/types/enum/copy-paste-type.d.ts.map +0 -1
  307. package/lib/types/types/enum/developer-metadata-visibility.d.ts.map +0 -1
  308. package/lib/types/types/enum/dimension.d.ts.map +0 -1
  309. package/lib/types/types/enum/direction.d.ts.map +0 -1
  310. package/lib/types/types/enum/format-type.d.ts.map +0 -1
  311. package/lib/types/types/enum/group-control-toggle-position.d.ts.map +0 -1
  312. package/lib/types/types/enum/index.d.ts.map +0 -1
  313. package/lib/types/types/enum/interpolation-point-type.d.ts.map +0 -1
  314. package/lib/types/types/enum/locale-type.d.ts.map +0 -1
  315. package/lib/types/types/enum/place-holder-type.d.ts.map +0 -1
  316. package/lib/types/types/enum/protection-type.d.ts.map +0 -1
  317. package/lib/types/types/enum/relative-date.d.ts.map +0 -1
  318. package/lib/types/types/enum/shape-type.d.ts.map +0 -1
  319. package/lib/types/types/enum/sheet-types.d.ts.map +0 -1
  320. package/lib/types/types/enum/text-style.d.ts.map +0 -1
  321. package/lib/types/types/enum/theme-color-type.d.ts.map +0 -1
  322. package/lib/types/types/interfaces/i-cell-data.d.ts.map +0 -1
  323. package/lib/types/types/interfaces/i-column-data.d.ts.map +0 -1
  324. package/lib/types/types/interfaces/i-document-data.d.ts.map +0 -1
  325. package/lib/types/types/interfaces/i-extra-model-data.d.ts.map +0 -1
  326. package/lib/types/types/interfaces/i-freeze.d.ts.map +0 -1
  327. package/lib/types/types/interfaces/i-image-properties.d.ts.map +0 -1
  328. package/lib/types/types/interfaces/i-placeholder.d.ts.map +0 -1
  329. package/lib/types/types/interfaces/i-range.d.ts.map +0 -1
  330. package/lib/types/types/interfaces/i-row-data.d.ts.map +0 -1
  331. package/lib/types/types/interfaces/i-selection-data.d.ts.map +0 -1
  332. package/lib/types/types/interfaces/i-service-data.d.ts.map +0 -1
  333. package/lib/types/types/interfaces/i-shape-properties.d.ts.map +0 -1
  334. package/lib/types/types/interfaces/i-slide-data.d.ts.map +0 -1
  335. package/lib/types/types/interfaces/i-style-data.d.ts.map +0 -1
  336. package/lib/types/types/interfaces/i-univer-data.d.ts.map +0 -1
  337. package/lib/types/types/interfaces/i-workbook-data.d.ts.map +0 -1
  338. package/lib/types/types/interfaces/i-worksheet-data.d.ts.map +0 -1
  339. package/lib/types/types/interfaces/i-worksheet-order-data.d.ts.map +0 -1
  340. package/lib/types/types/interfaces/index.d.ts.map +0 -1
@@ -1,18 +1,38 @@
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 { Disposable } from '../../shared/lifecycle';
17
+ export declare enum LogLevel {
18
+ SILENT = 0,
19
+ ERROR = 1,
20
+ WARN = 2,
21
+ VERBOSE = 3
22
+ }
23
+ type ArgsType = any[];
2
24
  export interface ILogService {
3
- log(...args: any[]): void;
4
- warn(...args: any[]): void;
5
- error(...args: any[]): void;
6
- toggleLogEnabled(enabled: boolean): void;
7
- getLogEnabled(): boolean;
25
+ log(...args: ArgsType): void;
26
+ warn(...args: ArgsType): void;
27
+ error(...args: ArgsType): void;
28
+ setLogLevel(enabled: LogLevel): void;
8
29
  }
9
30
  export declare const ILogService: import("@wendellhu/redi").IdentifierDecorator<ILogService>;
10
31
  export declare class DesktopLogService extends Disposable implements ILogService {
11
- private _logEnabled;
12
- log(...args: any[]): void;
13
- warn(...args: any[]): void;
14
- error(...args: any[]): void;
15
- toggleLogEnabled(enabled: boolean): void;
16
- getLogEnabled(): boolean;
32
+ private _logLevel;
33
+ log(...args: ArgsType): void;
34
+ warn(...args: ArgsType): void;
35
+ error(...args: ArgsType): void;
36
+ setLogLevel(logLevel: LogLevel): void;
17
37
  }
18
- //# sourceMappingURL=log.service.d.ts.map
38
+ export {};
@@ -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 { IPermissionService, PermissionService } from './permission.service';
2
17
  export { UniverEditablePermission, UniverEditablePermissionPoint } from './permission-point';
3
18
  export { UniverPermissionService } from './univer.permission.service';
4
- //# 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 { PermissionPoint } from '../../shared';
2
17
  export declare const UniverEditablePermissionPoint = "univer.editable";
3
18
  export declare class UniverEditablePermission extends PermissionPoint<boolean> {
@@ -6,4 +21,3 @@ export declare class UniverEditablePermission extends PermissionPoint<boolean> {
6
21
  unitID: string;
7
22
  constructor(unitID: string);
8
23
  }
9
- //# sourceMappingURL=permission-point.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 { Observable } from 'rxjs';
2
17
  import type { PermissionPoint } from '../../shared';
3
18
  import { Disposable } from '../../shared';
@@ -28,4 +43,3 @@ export declare class PermissionService extends Disposable implements IPermission
28
43
  composePermission$(unitID: string, permissionIdList: string[]): Observable<PermissionPoint<any>[]>;
29
44
  composePermission(unitID: string, permissionIdList: string[]): PermissionPoint<any>[];
30
45
  }
31
- //# sourceMappingURL=permission.service.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 { Disposable } from '../../shared';
2
17
  import { IUniverInstanceService } from '../instance/instance.service';
3
18
  import { IPermissionService } from './permission.service';
@@ -9,4 +24,3 @@ export declare class UniverPermissionService extends Disposable {
9
24
  getEditable(unitID?: string): any;
10
25
  setEditable(unitID: string, v: boolean): void;
11
26
  }
12
- //# sourceMappingURL=univer.permission.service.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 { Disposable } from '../../shared/lifecycle';
2
17
  import type { IResourceHook, IResourceManagerService } from './type';
3
18
  export declare class ResourceManagerService extends Disposable implements IResourceManagerService {
@@ -22,4 +37,3 @@ export declare class ResourceManagerService extends Disposable implements IResou
22
37
  disposePluginResource(unitID: string, pluginName: string): void;
23
38
  dispose(): void;
24
39
  }
25
- //# sourceMappingURL=resource-manager.service.d.ts.map
@@ -1,5 +1,22 @@
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 type { Observable } from 'rxjs';
18
+ import type { Workbook } from '../../sheets/workbook';
19
+ import type { IWorkbookData } from '../../types/interfaces/i-workbook-data';
3
20
  export interface IResourceHook<T = any> {
4
21
  onChange: (unitID: string, resource: T) => void;
5
22
  toJson: (unitID: string) => string;
@@ -20,4 +37,7 @@ export interface IResourceManagerService {
20
37
  }>;
21
38
  }
22
39
  export declare const IResourceManagerService: import("@wendellhu/redi").IdentifierDecorator<IResourceManagerService>;
23
- //# sourceMappingURL=type.d.ts.map
40
+ export interface ISnapshotPersistenceService {
41
+ saveWorkbook: (workbook: Workbook) => IWorkbookData;
42
+ }
43
+ export declare const ISnapshotPersistenceService: import("@wendellhu/redi").IdentifierDecorator<ISnapshotPersistenceService>;
@@ -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 { Observable } from 'rxjs';
2
17
  import { Disposable } from '../../shared/lifecycle';
3
18
  export interface IStyleSheet {
@@ -11,4 +26,3 @@ export declare class ThemeService extends Disposable {
11
26
  getCurrentTheme(): IStyleSheet;
12
27
  setTheme(theme: IStyleSheet): void;
13
28
  }
14
- //# sourceMappingURL=theme.service.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 { IAccessor } from '@wendellhu/redi';
2
17
  import type { Observable } from 'rxjs';
3
18
  import { BehaviorSubject } from 'rxjs';
@@ -76,4 +91,3 @@ export declare const RedoCommand: {
76
91
  dispose(): void;
77
92
  dispatchToHandlers(): Promise<boolean>;
78
93
  };
79
- //# sourceMappingURL=undoredo.service.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=object-matrix.spec.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=ref-alias.spec.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 function binarySearchArray(arr: number[], pos: number): number;
2
17
  export declare function orderSearchArray(arr: number[], pos: number): number;
3
18
  export declare function searchArray(arr: number[], num: number): number;
4
- //# sourceMappingURL=array-search.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 codeToBlob(code: string): string;
@@ -0,0 +1,64 @@
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
+ interface IRgbColor {
17
+ b: number;
18
+ g: number;
19
+ r: number;
20
+ a?: number;
21
+ }
22
+ interface IHslColor {
23
+ h: number;
24
+ l: number;
25
+ s: number;
26
+ a?: number;
27
+ }
28
+ interface IHsvColor {
29
+ h: number;
30
+ s: number;
31
+ v: number;
32
+ a?: number;
33
+ }
34
+ type Color = IRgbColor | IHslColor | IHsvColor;
35
+ export declare const RGB_PAREN = "rgb(";
36
+ export declare const RGBA_PAREN = "rgba(";
37
+ export declare const COLORS: {
38
+ [key: string]: number[];
39
+ };
40
+ export declare class ColorKit {
41
+ private _color;
42
+ private _rgbColor;
43
+ private _isValid;
44
+ static mix(color1: string | Color | ColorKit, color2: string | Color | ColorKit, amount: number): ColorKit;
45
+ static getContrastRatio(foreground: string | Color | ColorKit, background: string | Color | ColorKit): number;
46
+ constructor(color: string | Color | ColorKit | undefined);
47
+ get isValid(): boolean;
48
+ toRgb(): IRgbColor;
49
+ toRgbString(): string;
50
+ toString(): string;
51
+ toHexString(allowShort?: boolean): string;
52
+ toHsv(): IHsvColor;
53
+ toHsl(): IHslColor;
54
+ lighten(amount?: number): ColorKit;
55
+ darken(amount?: number): ColorKit;
56
+ setAlpha(value: number): ColorKit;
57
+ getLuminance(): number;
58
+ getBrightness(): number;
59
+ getAlpha(): number;
60
+ isDark(): boolean;
61
+ isLight(): boolean;
62
+ private _setNullColor;
63
+ }
64
+ export {};
@@ -1,7 +1,36 @@
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 '../../common/type-utils';
2
- import type { ThemeColors, ThemeColorType } from '../../types/enum';
3
- import { ColorType } from '../../types/enum';
4
- import { ColorBuilder } from './color-builder';
17
+ import { ColorType, ThemeColors, ThemeColorType } from '../../types/enum';
18
+ export declare class ColorBuilder {
19
+ private _themeValue;
20
+ private _themeColors;
21
+ private _themeTint;
22
+ private _rgbValue;
23
+ private _colorType;
24
+ constructor();
25
+ asRgbColor(): RgbColor;
26
+ asThemeColor(): ThemeColor;
27
+ build(): Nullable<Color>;
28
+ setRgbColor(cssString: string): ColorBuilder;
29
+ setThemeColors(value: ThemeColors): void;
30
+ setThemeTint(value: number): void;
31
+ setThemeColor(theme: ThemeColorType): ColorBuilder;
32
+ getColorType(): ColorType;
33
+ }
5
34
  export declare class Color {
6
35
  protected _builder: ColorBuilder;
7
36
  constructor(builder: ColorBuilder);
@@ -62,4 +91,3 @@ export declare class ThemeColor extends Color {
62
91
  getColorType(): ColorType;
63
92
  getThemeColorType(): ThemeColorType;
64
93
  }
65
- //# sourceMappingURL=color.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 enum UpdateDocsAttributeType {
2
17
  COVER = 0,// Default, if not present, add; if present, overwrite, while retaining the original properties.
3
18
  REPLACE = 1,// Replace the original properties entirely.
4
19
  INTERSECTION = 2
5
20
  }
6
- //# sourceMappingURL=command-enum.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 { IRange } from '../types/interfaces';
2
17
  import type { ICellData } from '../types/interfaces/i-cell-data';
3
18
  import type { IDocumentData } from '../types/interfaces/i-document-data';
@@ -10,9 +25,6 @@ export declare function isEmptyCell(cell: Nullable<ICellData>): boolean;
10
25
  export declare function getColorStyle(color: Nullable<IColorStyle>): Nullable<string>;
11
26
  export declare function isFormulaString(value: any): boolean;
12
27
  export declare function isFormulaId(value: any): boolean;
13
- /**
14
- * move to Styles.getStyleByCell
15
- */
16
28
  /**
17
29
  * Convert rich text json to DOM
18
30
  * @param p
@@ -26,4 +38,4 @@ export declare function handleJsonToDom(p: IDocumentData): string;
26
38
  export declare function handleStyleToString(style: IStyleData, isCell?: boolean): string;
27
39
  export declare function getBorderStyleType(type: string): number;
28
40
  export declare function getDocsUpdateBody(model: IDocumentData, segmentId?: string): import("../types/interfaces").IDocumentBody | undefined;
29
- //# sourceMappingURL=common.d.ts.map
41
+ export declare function isValidRange(range: IRange): boolean;
@@ -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 { ITextRun } from '../types/interfaces/i-document-data';
2
17
  interface AnyObject {
3
18
  [key: number | string]: AnyObject | AnyObject[] | Array<[number | string]> | any;
@@ -5,4 +20,3 @@ interface AnyObject {
5
20
  export declare function deepCompare(arg1: AnyObject, arg2: AnyObject): boolean;
6
21
  export declare function isSameStyleTextRun(tr1: ITextRun, tr2: ITextRun): boolean;
7
22
  export {};
8
- //# sourceMappingURL=compare.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 { IParagraph, IParagraphStyle } from '../types/interfaces/i-document-data';
2
17
  export declare function horizontalLineSegmentsSubtraction(A1: number, A2: number, B1: number, B2: number): number[];
3
18
  export declare function checkParagraphHasBullet(paragraph: IParagraph): boolean;
@@ -5,4 +20,3 @@ export declare function checkParagraphHasIndent(paragraph: IParagraph): boolean;
5
20
  export declare function checkParagraphHasIndentByStyle(paragraphStyle?: IParagraphStyle): boolean;
6
21
  export declare function insertTextToContent(content: string, start: number, text: string): string;
7
22
  export declare function deleteContent(content: string, start: number, end: number): string;
8
- //# sourceMappingURL=doc-tool.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 class GenName {
2
17
  private _include;
3
18
  private _count;
@@ -6,4 +21,3 @@ export declare class GenName {
6
21
  onlyName(name: string): string;
7
22
  sheetName(name?: string): string;
8
23
  }
9
- //# sourceMappingURL=gen-name.d.ts.map
@@ -1,7 +1,21 @@
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 { IKeyType } from './types';
2
17
  export declare const error: IKeyType<string>;
3
18
  export declare function isRealNum(val: string | number): boolean;
4
19
  export declare function datenum_local(v: Date, date1904?: number): number;
5
20
  export declare function generate(value: string): any;
6
21
  export declare const update: (a: any, b: any) => any;
7
- //# sourceMappingURL=generate.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 declare function hashAlgorithm(str: string): number;
2
- //# sourceMappingURL=hash-algorithm.d.ts.map
@@ -1,35 +1,38 @@
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 './array-search';
17
+ export * from './blob';
2
18
  export * from './color/color';
3
- export * from './color/color-builder';
19
+ export { ColorKit, COLORS, RGB_PAREN, RGBA_PAREN } from './color/color-kit';
4
20
  export * from './command-enum';
5
21
  export * from './common';
6
22
  export * from './compare';
7
- export * from './date-time';
8
23
  export * from './doc-tool';
9
- export * from './excel-date-time';
10
24
  export * from './gen-name';
11
25
  export * from './generate';
12
- export * from './group-model';
13
26
  export * from './hash-algorithm';
14
- export * from './io-http';
15
- export * from './io-socket';
16
27
  export * from './lifecycle';
17
28
  export * from './locale';
18
- export * from './logger';
19
29
  export * from './lru/index';
20
- export * from './migrate/index';
21
- export * from './object-array';
22
30
  export * from './object-matrix';
23
31
  export * from './permission';
24
- export * from './random';
25
32
  export * from './rectangle';
26
33
  export { RefAlias } from './ref-alias';
27
34
  export * from './row-col-iter';
28
35
  export * from './sequence';
29
- export * from './serialize/index';
30
36
  export * from './sort-rules';
31
37
  export * from './tools';
32
- export * from './tuples';
33
- export * from './type-store';
34
38
  export * from './types';
35
- //# sourceMappingURL=index.d.ts.map