@cool-office/docs-ui 0.0.0-stage → 1.2.0

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 (343) hide show
  1. package/LICENSE +176 -0
  2. package/README.md +112 -2
  3. package/lib/cjs/facade.js +81 -0
  4. package/lib/cjs/index.js +33220 -0
  5. package/lib/cjs/locale/ar-SA.js +258 -0
  6. package/lib/cjs/locale/ca-ES.js +258 -0
  7. package/lib/cjs/locale/de-DE.js +258 -0
  8. package/lib/cjs/locale/en-US.js +273 -0
  9. package/lib/cjs/locale/es-ES.js +258 -0
  10. package/lib/cjs/locale/fa-IR.js +258 -0
  11. package/lib/cjs/locale/fr-FR.js +258 -0
  12. package/lib/cjs/locale/id-ID.js +258 -0
  13. package/lib/cjs/locale/it-IT.js +258 -0
  14. package/lib/cjs/locale/ja-JP.js +258 -0
  15. package/lib/cjs/locale/ko-KR.js +258 -0
  16. package/lib/cjs/locale/pl-PL.js +258 -0
  17. package/lib/cjs/locale/pt-BR.js +258 -0
  18. package/lib/cjs/locale/ru-RU.js +258 -0
  19. package/lib/cjs/locale/sk-SK.js +258 -0
  20. package/lib/cjs/locale/vi-VN.js +258 -0
  21. package/lib/cjs/locale/zh-CN.js +258 -0
  22. package/lib/cjs/locale/zh-HK.js +258 -0
  23. package/lib/cjs/locale/zh-TW.js +258 -0
  24. package/lib/es/facade.js +82 -0
  25. package/lib/es/index.js +32881 -0
  26. package/lib/es/locale/ar-SA.js +258 -0
  27. package/lib/es/locale/ca-ES.js +258 -0
  28. package/lib/es/locale/de-DE.js +258 -0
  29. package/lib/es/locale/en-US.js +273 -0
  30. package/lib/es/locale/es-ES.js +258 -0
  31. package/lib/es/locale/fa-IR.js +258 -0
  32. package/lib/es/locale/fr-FR.js +258 -0
  33. package/lib/es/locale/id-ID.js +258 -0
  34. package/lib/es/locale/it-IT.js +258 -0
  35. package/lib/es/locale/ja-JP.js +258 -0
  36. package/lib/es/locale/ko-KR.js +258 -0
  37. package/lib/es/locale/pl-PL.js +258 -0
  38. package/lib/es/locale/pt-BR.js +258 -0
  39. package/lib/es/locale/ru-RU.js +258 -0
  40. package/lib/es/locale/sk-SK.js +258 -0
  41. package/lib/es/locale/vi-VN.js +258 -0
  42. package/lib/es/locale/zh-CN.js +258 -0
  43. package/lib/es/locale/zh-HK.js +258 -0
  44. package/lib/es/locale/zh-TW.js +258 -0
  45. package/lib/facade.js +82 -0
  46. package/lib/index.css +1252 -0
  47. package/lib/index.js +32881 -0
  48. package/lib/locale/ar-SA.js +258 -0
  49. package/lib/locale/ca-ES.js +258 -0
  50. package/lib/locale/de-DE.js +258 -0
  51. package/lib/locale/en-US.js +273 -0
  52. package/lib/locale/es-ES.js +258 -0
  53. package/lib/locale/fa-IR.js +258 -0
  54. package/lib/locale/fr-FR.js +258 -0
  55. package/lib/locale/id-ID.js +258 -0
  56. package/lib/locale/it-IT.js +258 -0
  57. package/lib/locale/ja-JP.js +258 -0
  58. package/lib/locale/ko-KR.js +258 -0
  59. package/lib/locale/pl-PL.js +258 -0
  60. package/lib/locale/pt-BR.js +258 -0
  61. package/lib/locale/ru-RU.js +258 -0
  62. package/lib/locale/sk-SK.js +258 -0
  63. package/lib/locale/vi-VN.js +258 -0
  64. package/lib/locale/zh-CN.js +258 -0
  65. package/lib/locale/zh-HK.js +258 -0
  66. package/lib/locale/zh-TW.js +258 -0
  67. package/lib/types/basics/component-tools.d.ts +30 -0
  68. package/lib/types/basics/custom-decoration-factory.d.ts +40 -0
  69. package/lib/types/basics/doc-custom-range-chrome.d.ts +31 -0
  70. package/lib/types/basics/docs-view-key.d.ts +30 -0
  71. package/lib/types/basics/editor.d.ts +16 -0
  72. package/lib/types/basics/paragraph.d.ts +24 -0
  73. package/lib/types/basics/selection.d.ts +17 -0
  74. package/lib/types/basics/table.d.ts +31 -0
  75. package/lib/types/commands/commands/auto-format.command.d.ts +22 -0
  76. package/lib/types/commands/commands/break-line.command.d.ts +29 -0
  77. package/lib/types/commands/commands/clipboard.command.d.ts +39 -0
  78. package/lib/types/commands/commands/clipboard.inner.command.d.ts +43 -0
  79. package/lib/types/commands/commands/doc-block-move.command.d.ts +52 -0
  80. package/lib/types/commands/commands/doc-delete.command.d.ts +44 -0
  81. package/lib/types/commands/commands/doc-header-footer.command.d.ts +40 -0
  82. package/lib/types/commands/commands/doc-horizontal-line.command.d.ts +24 -0
  83. package/lib/types/commands/commands/doc-page-setup.command.d.ts +27 -0
  84. package/lib/types/commands/commands/doc-paragraph-setting.command.d.ts +20 -0
  85. package/lib/types/commands/commands/doc-select-all.command.d.ts +23 -0
  86. package/lib/types/commands/commands/format-painter.command.d.ts +33 -0
  87. package/lib/types/commands/commands/ime-input.command.d.ts +25 -0
  88. package/lib/types/commands/commands/inline-format.command.d.ts +36 -0
  89. package/lib/types/commands/commands/insert-below/insert-bullet-below.command.d.ts +21 -0
  90. package/lib/types/commands/commands/insert-custom-range.command.d.ts +26 -0
  91. package/lib/types/commands/commands/insert-header-footer-field.command.d.ts +28 -0
  92. package/lib/types/commands/commands/insert-special-character.command.d.ts +19 -0
  93. package/lib/types/commands/commands/list.command.d.ts +64 -0
  94. package/lib/types/commands/commands/paragraph-align.command.d.ts +34 -0
  95. package/lib/types/commands/commands/refresh-header-footer-fields.command.d.ts +22 -0
  96. package/lib/types/commands/commands/replace-content.command.d.ts +55 -0
  97. package/lib/types/commands/commands/set-doc-zoom-ratio.command.d.ts +21 -0
  98. package/lib/types/commands/commands/set-heading.command.d.ts +38 -0
  99. package/lib/types/commands/commands/switch-doc-mode.command.d.ts +19 -0
  100. package/lib/types/commands/commands/table/doc-table-create.command.d.ts +56 -0
  101. package/lib/types/commands/commands/table/doc-table-delete.command.d.ts +28 -0
  102. package/lib/types/commands/commands/table/doc-table-insert.command.d.ts +49 -0
  103. package/lib/types/commands/commands/table/doc-table-tab.command.d.ts +20 -0
  104. package/lib/types/commands/commands/table/table.d.ts +108 -0
  105. package/lib/types/commands/commands/util.d.ts +17 -0
  106. package/lib/types/commands/operations/doc-create-table.operation.d.ts +17 -0
  107. package/lib/types/commands/operations/doc-cursor.operation.d.ts +29 -0
  108. package/lib/types/commands/operations/doc-header-footer-panel.operation.d.ts +20 -0
  109. package/lib/types/commands/operations/doc-header-footer-ribbon.operation.d.ts +19 -0
  110. package/lib/types/commands/operations/doc-paragraph-setting-panel.operation.d.ts +17 -0
  111. package/lib/types/commands/operations/doc-section-setting-panel.operation.d.ts +17 -0
  112. package/lib/types/commands/operations/insert-break.operation.d.ts +21 -0
  113. package/lib/types/commands/operations/open-page-setting.operation.d.ts +17 -0
  114. package/lib/types/commands/operations/paragraph-permission.operation.d.ts +17 -0
  115. package/lib/types/commands/operations/permission-panel.operation.d.ts +17 -0
  116. package/lib/types/commands/operations/set-doc-zoom-ratio.operation.d.ts +22 -0
  117. package/lib/types/commands/util.d.ts +23 -0
  118. package/lib/types/components/doc-page-render-component.d.ts +21 -0
  119. package/lib/types/config/config.d.ts +50 -0
  120. package/lib/types/consts/mobile-context.d.ts +17 -0
  121. package/lib/types/controllers/components.controller.d.ts +25 -0
  122. package/lib/types/controllers/doc-auto-format.controller.d.ts +27 -0
  123. package/lib/types/controllers/doc-header-footer-ribbon.controller.d.ts +31 -0
  124. package/lib/types/controllers/doc-header-footer.controller.d.ts +46 -0
  125. package/lib/types/controllers/doc-move-cursor.controller.d.ts +71 -0
  126. package/lib/types/controllers/doc-paragraph-setting.controller.d.ts +25 -0
  127. package/lib/types/controllers/doc-section-setting.controller.d.ts +27 -0
  128. package/lib/types/controllers/doc-table.controller.d.ts +23 -0
  129. package/lib/types/controllers/format-painter.controller.d.ts +23 -0
  130. package/lib/types/controllers/mobile/components.controller.d.ts +25 -0
  131. package/lib/types/controllers/mobile/ui.controller.d.ts +29 -0
  132. package/lib/types/controllers/render-controllers/back-scroll.render-controller.d.ts +50 -0
  133. package/lib/types/controllers/render-controllers/doc-canvas-popup-layout-interaction.controller.d.ts +30 -0
  134. package/lib/types/controllers/render-controllers/doc-checklist.render-controller.d.ts +31 -0
  135. package/lib/types/controllers/render-controllers/doc-clipboard.controller.d.ts +32 -0
  136. package/lib/types/controllers/render-controllers/doc-contextmenu.render-controller.d.ts +38 -0
  137. package/lib/types/controllers/render-controllers/doc-editor-bridge.controller.d.ts +41 -0
  138. package/lib/types/controllers/render-controllers/doc-field.render-controller.d.ts +31 -0
  139. package/lib/types/controllers/render-controllers/doc-ime-input.controller.d.ts +44 -0
  140. package/lib/types/controllers/render-controllers/doc-input.controller.d.ts +36 -0
  141. package/lib/types/controllers/render-controllers/doc-layout-progress.render-controller.d.ts +42 -0
  142. package/lib/types/controllers/render-controllers/doc-layout-recovery.render-controller.d.ts +38 -0
  143. package/lib/types/controllers/render-controllers/doc-mutation-layout.d.ts +35 -0
  144. package/lib/types/controllers/render-controllers/doc-paragraph-placeholder.render-controller.d.ts +61 -0
  145. package/lib/types/controllers/render-controllers/doc-paste-options.render-controller.d.ts +27 -0
  146. package/lib/types/controllers/render-controllers/doc-resize.render-controller.d.ts +30 -0
  147. package/lib/types/controllers/render-controllers/doc-selection-render.controller.d.ts +50 -0
  148. package/lib/types/controllers/render-controllers/doc-selection-render.util.d.ts +21 -0
  149. package/lib/types/controllers/render-controllers/doc.render-controller.d.ts +133 -0
  150. package/lib/types/controllers/render-controllers/format-painter.render-controller.d.ts +23 -0
  151. package/lib/types/controllers/render-controllers/mobile/back-scroll.render-controller.d.ts +30 -0
  152. package/lib/types/controllers/render-controllers/mobile/doc-pinch-zoom.d.ts +51 -0
  153. package/lib/types/controllers/render-controllers/mobile/doc-selection-render.controller.d.ts +73 -0
  154. package/lib/types/controllers/render-controllers/mobile/doc.render-controller.d.ts +36 -0
  155. package/lib/types/controllers/render-controllers/mobile/zoom.render-controller.d.ts +30 -0
  156. package/lib/types/controllers/render-controllers/zoom.render-controller.d.ts +49 -0
  157. package/lib/types/controllers/ui.controller.d.ts +38 -0
  158. package/lib/types/embed-docs-custom-block-bleed.d.ts +32 -0
  159. package/lib/types/embed-docs-custom-block-refresh.d.ts +28 -0
  160. package/lib/types/embed-docs-custom-block-scroll.d.ts +19 -0
  161. package/lib/types/embed-host-anchor.d.ts +48 -0
  162. package/lib/types/facade/f-document.d.ts +39 -0
  163. package/lib/types/facade/index.d.ts +17 -0
  164. package/lib/types/index.d.ts +142 -0
  165. package/lib/types/locale/ar-SA.d.ts +18 -0
  166. package/lib/types/locale/ca-ES.d.ts +18 -0
  167. package/lib/types/locale/de-DE.d.ts +18 -0
  168. package/lib/types/locale/en-US.d.ts +280 -0
  169. package/lib/types/locale/es-ES.d.ts +18 -0
  170. package/lib/types/locale/fa-IR.d.ts +18 -0
  171. package/lib/types/locale/fr-FR.d.ts +18 -0
  172. package/lib/types/locale/id-ID.d.ts +18 -0
  173. package/lib/types/locale/it-IT.d.ts +18 -0
  174. package/lib/types/locale/ja-JP.d.ts +18 -0
  175. package/lib/types/locale/ko-KR.d.ts +18 -0
  176. package/lib/types/locale/pl-PL.d.ts +18 -0
  177. package/lib/types/locale/pt-BR.d.ts +18 -0
  178. package/lib/types/locale/ru-RU.d.ts +18 -0
  179. package/lib/types/locale/sk-SK.d.ts +18 -0
  180. package/lib/types/locale/types.d.ts +18 -0
  181. package/lib/types/locale/vi-VN.d.ts +18 -0
  182. package/lib/types/locale/zh-CN.d.ts +18 -0
  183. package/lib/types/locale/zh-HK.d.ts +18 -0
  184. package/lib/types/locale/zh-TW.d.ts +18 -0
  185. package/lib/types/menu/context-menu.d.ts +39 -0
  186. package/lib/types/menu/display.menu.d.ts +21 -0
  187. package/lib/types/menu/header-footer-ribbon.d.ts +17 -0
  188. package/lib/types/menu/menu.d.ts +77 -0
  189. package/lib/types/menu/mobile-schema.d.ts +17 -0
  190. package/lib/types/menu/paragraph-menu.d.ts +90 -0
  191. package/lib/types/menu/permission.menu.d.ts +19 -0
  192. package/lib/types/menu/schema.d.ts +18 -0
  193. package/lib/types/mobile-plugin.d.ts +36 -0
  194. package/lib/types/plugin.d.ts +37 -0
  195. package/lib/types/services/clipboard/clipboard.service.d.ts +136 -0
  196. package/lib/types/services/clipboard/copy-content-cache.d.ts +24 -0
  197. package/lib/types/services/clipboard/doc-paste-mutation-adapter.service.d.ts +57 -0
  198. package/lib/types/services/clipboard/html-to-udm/converter.d.ts +51 -0
  199. package/lib/types/services/clipboard/html-to-udm/parse-node-style.d.ts +17 -0
  200. package/lib/types/services/clipboard/html-to-udm/parse-to-dom.d.ts +16 -0
  201. package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-lark.d.ts +18 -0
  202. package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-univer.d.ts +18 -0
  203. package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-word.d.ts +18 -0
  204. package/lib/types/services/clipboard/html-to-udm/paste-plugins/type.d.ts +31 -0
  205. package/lib/types/services/clipboard/html-to-udm/utils.d.ts +17 -0
  206. package/lib/types/services/clipboard/internal-fragment.d.ts +34 -0
  207. package/lib/types/services/clipboard/paste-options.d.ts +33 -0
  208. package/lib/types/services/clipboard/rtf-to-plain-text.d.ts +16 -0
  209. package/lib/types/services/clipboard/udm-to-html/convertor.d.ts +25 -0
  210. package/lib/types/services/clipboard/udm-to-html/doc-html-export.service.d.ts +23 -0
  211. package/lib/types/services/doc-auto-format.service.d.ts +54 -0
  212. package/lib/types/services/doc-contextual-ribbon.service.d.ts +29 -0
  213. package/lib/types/services/doc-embed-integration.service.d.ts +65 -0
  214. package/lib/types/services/doc-event-manager.service.d.ts +204 -0
  215. package/lib/types/services/doc-heading-collapse.service.d.ts +38 -0
  216. package/lib/types/services/doc-ime-input-manager.service.d.ts +63 -0
  217. package/lib/types/services/doc-ime-state-change-interceptor.service.d.ts +23 -0
  218. package/lib/types/services/doc-layout-coordinator.service.d.ts +79 -0
  219. package/lib/types/services/doc-layout-interaction.service.d.ts +29 -0
  220. package/lib/types/services/doc-layout-progress.service.d.ts +30 -0
  221. package/lib/types/services/doc-menu-style.service.d.ts +37 -0
  222. package/lib/types/services/doc-mobile-element-menu.service.d.ts +44 -0
  223. package/lib/types/services/doc-page-layout.service.d.ts +28 -0
  224. package/lib/types/services/doc-paragraph-menu.service.d.ts +129 -0
  225. package/lib/types/services/doc-popup-manager.service.d.ts +79 -0
  226. package/lib/types/services/doc-print-interceptor.service.d.ts +55 -0
  227. package/lib/types/services/doc-render-background.d.ts +29 -0
  228. package/lib/types/services/doc-view-scale.d.ts +54 -0
  229. package/lib/types/services/doc-zoom.d.ts +23 -0
  230. package/lib/types/services/docs-render.service.d.ts +30 -0
  231. package/lib/types/services/editor/editor-manager.service.d.ts +88 -0
  232. package/lib/types/services/editor/editor-runtime-config.d.ts +26 -0
  233. package/lib/types/services/editor/editor.d.ts +139 -0
  234. package/lib/types/services/float-menu.service.d.ts +62 -0
  235. package/lib/types/services/index.d.ts +22 -0
  236. package/lib/types/services/mobile/doc-selection-render.service.d.ts +60 -0
  237. package/lib/types/services/mobile/doc-view-scale.d.ts +19 -0
  238. package/lib/types/services/mobile/float-menu.service.d.ts +20 -0
  239. package/lib/types/services/mobile/mobile-text-selection-visuals.d.ts +32 -0
  240. package/lib/types/services/selection/convert-rect-range.d.ts +42 -0
  241. package/lib/types/services/selection/convert-text-range.d.ts +86 -0
  242. package/lib/types/services/selection/doc-selection-render.service.d.ts +203 -0
  243. package/lib/types/services/selection/range-interface.d.ts +34 -0
  244. package/lib/types/services/selection/rect-range.d.ts +63 -0
  245. package/lib/types/services/selection/selection-utils.d.ts +41 -0
  246. package/lib/types/services/selection/text-range.d.ts +88 -0
  247. package/lib/types/services/selection/word-boundary.d.ts +23 -0
  248. package/lib/types/shortcuts/core-editing.shortcut.d.ts +25 -0
  249. package/lib/types/shortcuts/cursor.shortcut.d.ts +41 -0
  250. package/lib/types/shortcuts/format.shortcut.d.ts +19 -0
  251. package/lib/types/shortcuts/heading.shortcut.d.ts +22 -0
  252. package/lib/types/shortcuts/toolbar.shortcut.d.ts +28 -0
  253. package/lib/types/shortcuts/utils.d.ts +19 -0
  254. package/lib/types/types/const/padding.d.ts +16 -0
  255. package/lib/types/utils/date-time-field.d.ts +22 -0
  256. package/lib/types/utils/horizontal-line.d.ts +17 -0
  257. package/lib/types/utils/section-header-footer.d.ts +34 -0
  258. package/lib/types/views/DocLayoutProgress.d.ts +16 -0
  259. package/lib/types/views/DocLayoutRecovery.d.ts +17 -0
  260. package/lib/types/views/DocPasteOptions.d.ts +17 -0
  261. package/lib/types/views/DocSideMenu.d.ts +16 -0
  262. package/lib/types/views/Icon.d.ts +46 -0
  263. package/lib/types/views/PageSettings.d.ts +43 -0
  264. package/lib/types/views/ParagraphMenu.d.ts +79 -0
  265. package/lib/types/views/RichTextEditor.d.ts +62 -0
  266. package/lib/types/views/SideMenu.d.ts +43 -0
  267. package/lib/types/views/const.d.ts +16 -0
  268. package/lib/types/views/count-bar/CountBar.d.ts +21 -0
  269. package/lib/types/views/count-bar/ZoomSlider.d.ts +16 -0
  270. package/lib/types/views/count-bar/index.d.ts +16 -0
  271. package/lib/types/views/doc-footer/DocFooter.d.ts +16 -0
  272. package/lib/types/views/doc-footer/index.d.ts +16 -0
  273. package/lib/types/views/doc-side-menu-layout.d.ts +17 -0
  274. package/lib/types/views/doc-statistics/DocPageStatus.d.ts +30 -0
  275. package/lib/types/views/doc-statistics/DocStatistics.d.ts +16 -0
  276. package/lib/types/views/doc-statistics/use-doc-statistics.d.ts +30 -0
  277. package/lib/types/views/editor/utils.d.ts +22 -0
  278. package/lib/types/views/float-toolbar/FloatToolbar.d.ts +40 -0
  279. package/lib/types/views/float-toolbar/FloatToolbar.stories.d.ts +22 -0
  280. package/lib/types/views/header-footer/content-cover.d.ts +30 -0
  281. package/lib/types/views/header-footer/panel/DocHeaderFooterFields.d.ts +19 -0
  282. package/lib/types/views/header-footer/panel/DocHeaderFooterOptions.d.ts +23 -0
  283. package/lib/types/views/header-footer/panel/DocHeaderFooterPanel.d.ts +17 -0
  284. package/lib/types/views/header-footer/panel/DocHeaderFooterRibbonControl.d.ts +20 -0
  285. package/lib/types/views/header-footer/panel/component-name.d.ts +18 -0
  286. package/lib/types/views/header-footer/panel/use-header-footer-options.d.ts +25 -0
  287. package/lib/types/views/header-footer/text-bubble.d.ts +35 -0
  288. package/lib/types/views/heading-collapse-shape.d.ts +38 -0
  289. package/lib/types/views/list-type-picker/Picker.d.ts +27 -0
  290. package/lib/types/views/list-type-picker/index.d.ts +18 -0
  291. package/lib/types/views/mobile/MobileDocCanvasViewport.d.ts +20 -0
  292. package/lib/types/views/mobile/MobileDocPasteOptions.d.ts +21 -0
  293. package/lib/types/views/mobile/MobileDocSettings.d.ts +20 -0
  294. package/lib/types/views/mobile-doc-toolbar/MobileDocToolbar.d.ts +30 -0
  295. package/lib/types/views/mobile-element-menu/MobileDocElementMenu.d.ts +25 -0
  296. package/lib/types/views/mobile-rich-text-editor/MobileRichTextEditor.d.ts +33 -0
  297. package/lib/types/views/mobile-rich-text-toolbar/MobileRichTextToolbar.d.ts +20 -0
  298. package/lib/types/views/paragraph-menu/component-keys.d.ts +17 -0
  299. package/lib/types/views/paragraph-menu/paragraph-menu-position.d.ts +21 -0
  300. package/lib/types/views/paragraph-menu/theme-color.d.ts +17 -0
  301. package/lib/types/views/paragraph-setting/Setting.d.ts +45 -0
  302. package/lib/types/views/paragraph-setting/hook/utils.d.ts +48 -0
  303. package/lib/types/views/paragraph-setting/index.d.ts +17 -0
  304. package/lib/types/views/paragraph-setting/line-spacing.d.ts +39 -0
  305. package/lib/types/views/permission/DocObjectPermissionEntry.d.ts +24 -0
  306. package/lib/types/views/rich-text-editor/hooks/editor-undo-redo-keyboard.d.ts +36 -0
  307. package/lib/types/views/rich-text-editor/hooks/index.d.ts +23 -0
  308. package/lib/types/views/rich-text-editor/hooks/use-editor-click-outside.d.ts +17 -0
  309. package/lib/types/views/rich-text-editor/hooks/use-editor.d.ts +36 -0
  310. package/lib/types/views/rich-text-editor/hooks/use-is-focusing.d.ts +16 -0
  311. package/lib/types/views/rich-text-editor/hooks/use-keyboard-event.d.ts +26 -0
  312. package/lib/types/views/rich-text-editor/hooks/use-left-and-right-arrow.d.ts +18 -0
  313. package/lib/types/views/rich-text-editor/hooks/use-on-change.d.ts +18 -0
  314. package/lib/types/views/rich-text-editor/hooks/use-resize.d.ts +23 -0
  315. package/lib/types/views/section-setting/Setting.d.ts +27 -0
  316. package/lib/types/views/section-setting/component-name.d.ts +16 -0
  317. package/lib/types/views/section-setting/index.d.ts +17 -0
  318. package/lib/types/views/section-setting/use-section-setting.d.ts +75 -0
  319. package/lib/types/views/side-menu/SideMenu.stories.d.ts +31 -0
  320. package/lib/types/views/table/create/TableCreate.d.ts +24 -0
  321. package/lib/types/views/table/create/component-name.d.ts +16 -0
  322. package/lib/umd/facade.js +1 -0
  323. package/lib/umd/index.js +54 -0
  324. package/lib/umd/locale/ar-SA.js +1 -0
  325. package/lib/umd/locale/ca-ES.js +1 -0
  326. package/lib/umd/locale/de-DE.js +1 -0
  327. package/lib/umd/locale/en-US.js +1 -0
  328. package/lib/umd/locale/es-ES.js +1 -0
  329. package/lib/umd/locale/fa-IR.js +1 -0
  330. package/lib/umd/locale/fr-FR.js +1 -0
  331. package/lib/umd/locale/id-ID.js +1 -0
  332. package/lib/umd/locale/it-IT.js +1 -0
  333. package/lib/umd/locale/ja-JP.js +1 -0
  334. package/lib/umd/locale/ko-KR.js +1 -0
  335. package/lib/umd/locale/pl-PL.js +1 -0
  336. package/lib/umd/locale/pt-BR.js +1 -0
  337. package/lib/umd/locale/ru-RU.js +1 -0
  338. package/lib/umd/locale/sk-SK.js +1 -0
  339. package/lib/umd/locale/vi-VN.js +1 -0
  340. package/lib/umd/locale/zh-CN.js +1 -0
  341. package/lib/umd/locale/zh-HK.js +1 -0
  342. package/lib/umd/locale/zh-TW.js +1 -0
  343. package/package.json +99 -3
package/lib/index.css ADDED
@@ -0,0 +1,1252 @@
1
+ .univer-pointer-events-none {
2
+ pointer-events: none;
3
+ }
4
+
5
+ .univer-pointer-events-auto {
6
+ pointer-events: auto;
7
+ }
8
+
9
+ .univer-fixed {
10
+ position: fixed;
11
+ }
12
+
13
+ .univer-absolute {
14
+ position: absolute;
15
+ }
16
+
17
+ .univer-relative {
18
+ position: relative;
19
+ }
20
+
21
+ .univer-inset-0 {
22
+ inset: 0;
23
+ }
24
+
25
+ .univer-inset-x-0 {
26
+ left: 0;
27
+ right: 0;
28
+ }
29
+
30
+ .univer-inset-x-3 {
31
+ left: .75rem;
32
+ right: .75rem;
33
+ }
34
+
35
+ .univer-bottom-0 {
36
+ bottom: 0;
37
+ }
38
+
39
+ .univer-bottom-4 {
40
+ bottom: 1rem;
41
+ }
42
+
43
+ .univer-left-0 {
44
+ left: 0;
45
+ }
46
+
47
+ .univer-left-1\/2 {
48
+ left: 50%;
49
+ }
50
+
51
+ .univer-left-\[5px\] {
52
+ left: 5px;
53
+ }
54
+
55
+ .univer-start-0 {
56
+ left: 0;
57
+ }
58
+
59
+ .univer-top-0 {
60
+ top: 0;
61
+ }
62
+
63
+ .univer-top-1\/2 {
64
+ top: 50%;
65
+ }
66
+
67
+ .univer-top-\[5px\] {
68
+ top: 5px;
69
+ }
70
+
71
+ .univer-z-10 {
72
+ z-index: 10;
73
+ }
74
+
75
+ .univer-z-30 {
76
+ z-index: 30;
77
+ }
78
+
79
+ .univer-z-40 {
80
+ z-index: 40;
81
+ }
82
+
83
+ .univer-z-50 {
84
+ z-index: 50;
85
+ }
86
+
87
+ .univer-z-\[10000\] {
88
+ z-index: 10000;
89
+ }
90
+
91
+ .univer-z-\[100\] {
92
+ z-index: 100;
93
+ }
94
+
95
+ .univer-z-\[1019\] {
96
+ z-index: 1019;
97
+ }
98
+
99
+ .univer-m-0 {
100
+ margin: 0;
101
+ }
102
+
103
+ .univer-mx-0\.5 {
104
+ margin-left: .125rem;
105
+ margin-right: .125rem;
106
+ }
107
+
108
+ .univer-my-1 {
109
+ margin-top: .25rem;
110
+ margin-bottom: .25rem;
111
+ }
112
+
113
+ .univer-mb-1 {
114
+ margin-bottom: .25rem;
115
+ }
116
+
117
+ .univer-mb-2 {
118
+ margin-bottom: .5rem;
119
+ }
120
+
121
+ .univer-mb-3 {
122
+ margin-bottom: .75rem;
123
+ }
124
+
125
+ .univer-mb-4 {
126
+ margin-bottom: 1rem;
127
+ }
128
+
129
+ .univer-mr-1 {
130
+ margin-right: .25rem;
131
+ }
132
+
133
+ .univer-ms-4 {
134
+ margin-left: 1rem;
135
+ }
136
+
137
+ .univer-mt-1\.5 {
138
+ margin-top: .375rem;
139
+ }
140
+
141
+ .univer-mt-3 {
142
+ margin-top: .75rem;
143
+ }
144
+
145
+ .univer-mt-4 {
146
+ margin-top: 1rem;
147
+ }
148
+
149
+ .univer-mt-5 {
150
+ margin-top: 1.25rem;
151
+ }
152
+
153
+ .univer-box-border {
154
+ box-sizing: border-box;
155
+ }
156
+
157
+ .univer-line-clamp-2 {
158
+ -webkit-line-clamp: 2;
159
+ -webkit-box-orient: vertical;
160
+ display: -webkit-box;
161
+ overflow: hidden;
162
+ }
163
+
164
+ .univer-block {
165
+ display: block;
166
+ }
167
+
168
+ .univer-flex {
169
+ display: flex;
170
+ }
171
+
172
+ .univer-inline-flex {
173
+ display: inline-flex;
174
+ }
175
+
176
+ .univer-grid {
177
+ display: grid;
178
+ }
179
+
180
+ .\!univer-size-2 {
181
+ width: .5rem !important;
182
+ height: .5rem !important;
183
+ }
184
+
185
+ .\!univer-size-5 {
186
+ width: 1.25rem !important;
187
+ height: 1.25rem !important;
188
+ }
189
+
190
+ .\!univer-size-6 {
191
+ width: 1.5rem !important;
192
+ height: 1.5rem !important;
193
+ }
194
+
195
+ .univer-size-0\.5 {
196
+ width: .125rem;
197
+ height: .125rem;
198
+ }
199
+
200
+ .univer-size-10 {
201
+ width: 2.5rem;
202
+ height: 2.5rem;
203
+ }
204
+
205
+ .univer-size-12 {
206
+ width: 3rem;
207
+ height: 3rem;
208
+ }
209
+
210
+ .univer-size-14 {
211
+ width: 3.5rem;
212
+ height: 3.5rem;
213
+ }
214
+
215
+ .univer-size-3 {
216
+ width: .75rem;
217
+ height: .75rem;
218
+ }
219
+
220
+ .univer-size-3\.5 {
221
+ width: .875rem;
222
+ height: .875rem;
223
+ }
224
+
225
+ .univer-size-4 {
226
+ width: 1rem;
227
+ height: 1rem;
228
+ }
229
+
230
+ .univer-size-5 {
231
+ width: 1.25rem;
232
+ height: 1.25rem;
233
+ }
234
+
235
+ .univer-size-6 {
236
+ width: 1.5rem;
237
+ height: 1.5rem;
238
+ }
239
+
240
+ .univer-size-7 {
241
+ width: 1.75rem;
242
+ height: 1.75rem;
243
+ }
244
+
245
+ .univer-size-9 {
246
+ width: 2.25rem;
247
+ height: 2.25rem;
248
+ }
249
+
250
+ .univer-size-full {
251
+ width: 100%;
252
+ height: 100%;
253
+ }
254
+
255
+ .\!univer-h-7 {
256
+ height: 1.75rem !important;
257
+ }
258
+
259
+ .\!univer-h-auto {
260
+ height: auto !important;
261
+ }
262
+
263
+ .univer-h-0\.5 {
264
+ height: .125rem;
265
+ }
266
+
267
+ .univer-h-1 {
268
+ height: .25rem;
269
+ }
270
+
271
+ .univer-h-10 {
272
+ height: 2.5rem;
273
+ }
274
+
275
+ .univer-h-11 {
276
+ height: 2.75rem;
277
+ }
278
+
279
+ .univer-h-12 {
280
+ height: 3rem;
281
+ }
282
+
283
+ .univer-h-16 {
284
+ height: 4rem;
285
+ }
286
+
287
+ .univer-h-20 {
288
+ height: 5rem;
289
+ }
290
+
291
+ .univer-h-3\.5 {
292
+ height: .875rem;
293
+ }
294
+
295
+ .univer-h-4 {
296
+ height: 1rem;
297
+ }
298
+
299
+ .univer-h-7 {
300
+ height: 1.75rem;
301
+ }
302
+
303
+ .univer-h-8 {
304
+ height: 2rem;
305
+ }
306
+
307
+ .univer-h-full {
308
+ height: 100%;
309
+ }
310
+
311
+ .univer-max-h-full {
312
+ max-height: 100%;
313
+ }
314
+
315
+ .univer-min-h-0 {
316
+ min-height: 0;
317
+ }
318
+
319
+ .univer-min-h-11 {
320
+ min-height: 2.75rem;
321
+ }
322
+
323
+ .univer-min-h-12 {
324
+ min-height: 3rem;
325
+ }
326
+
327
+ .univer-min-h-8 {
328
+ min-height: 2rem;
329
+ }
330
+
331
+ .univer-w-10 {
332
+ width: 2.5rem;
333
+ }
334
+
335
+ .univer-w-2 {
336
+ width: .5rem;
337
+ }
338
+
339
+ .univer-w-2\.5 {
340
+ width: .625rem;
341
+ }
342
+
343
+ .univer-w-28 {
344
+ width: 7rem;
345
+ }
346
+
347
+ .univer-w-3 {
348
+ width: .75rem;
349
+ }
350
+
351
+ .univer-w-32 {
352
+ width: 8rem;
353
+ }
354
+
355
+ .univer-w-4\/5 {
356
+ width: 80%;
357
+ }
358
+
359
+ .univer-w-8 {
360
+ width: 2rem;
361
+ }
362
+
363
+ .univer-w-80 {
364
+ width: 20rem;
365
+ }
366
+
367
+ .univer-w-\[--radix-popper-anchor-width\] {
368
+ width: var(--radix-popper-anchor-width);
369
+ }
370
+
371
+ .univer-w-\[0px\] {
372
+ width: 0;
373
+ }
374
+
375
+ .univer-w-\[212px\] {
376
+ width: 212px;
377
+ }
378
+
379
+ .univer-w-\[72px\] {
380
+ width: 72px;
381
+ }
382
+
383
+ .univer-w-full {
384
+ width: 100%;
385
+ }
386
+
387
+ .univer-w-px {
388
+ width: 1px;
389
+ }
390
+
391
+ .univer-min-w-0 {
392
+ min-width: 0;
393
+ }
394
+
395
+ .univer-min-w-11 {
396
+ min-width: 2.75rem;
397
+ }
398
+
399
+ .univer-min-w-12 {
400
+ min-width: 3rem;
401
+ }
402
+
403
+ .univer-flex-1 {
404
+ flex: 1;
405
+ }
406
+
407
+ .univer-flex-shrink-0, .univer-shrink-0 {
408
+ flex-shrink: 0;
409
+ }
410
+
411
+ .-univer-translate-x-1\/2 {
412
+ --univer-tw-translate-x: -50%;
413
+ transform: translate(-50%, var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
414
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
415
+ }
416
+
417
+ .-univer-translate-y-1\/2 {
418
+ --univer-tw-translate-y: -50%;
419
+ transform: translate(var(--univer-tw-translate-x), -50%) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
420
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
421
+ }
422
+
423
+ .univer-rotate-180 {
424
+ --univer-tw-rotate: 180deg;
425
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(180deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
426
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
427
+ }
428
+
429
+ @keyframes univer-spin {
430
+ to {
431
+ transform: rotate(360deg);
432
+ }
433
+ }
434
+
435
+ .univer-animate-spin {
436
+ animation: 1s linear infinite univer-spin;
437
+ }
438
+
439
+ .univer-cursor-grab {
440
+ cursor: grab;
441
+ }
442
+
443
+ .univer-cursor-pointer {
444
+ cursor: pointer;
445
+ }
446
+
447
+ .univer-select-none {
448
+ user-select: none;
449
+ }
450
+
451
+ .univer-list-none {
452
+ list-style-type: none;
453
+ }
454
+
455
+ .univer-grid-cols-2 {
456
+ grid-template-columns: repeat(2, minmax(0, 1fr));
457
+ }
458
+
459
+ .univer-grid-cols-3 {
460
+ grid-template-columns: repeat(3, minmax(0, 1fr));
461
+ }
462
+
463
+ .univer-grid-cols-4 {
464
+ grid-template-columns: repeat(4, minmax(0, 1fr));
465
+ }
466
+
467
+ .univer-grid-cols-7 {
468
+ grid-template-columns: repeat(7, minmax(0, 1fr));
469
+ }
470
+
471
+ .univer-grid-cols-8 {
472
+ grid-template-columns: repeat(8, minmax(0, 1fr));
473
+ }
474
+
475
+ .univer-grid-cols-\[1fr_5rem\] {
476
+ grid-template-columns: 1fr 5rem;
477
+ }
478
+
479
+ .univer-grid-cols-\[56px_minmax\(0\,1fr\)_56px\] {
480
+ grid-template-columns: 56px minmax(0, 1fr) 56px;
481
+ }
482
+
483
+ .univer-grid-cols-\[auto_auto\] {
484
+ grid-template-columns: auto auto;
485
+ }
486
+
487
+ .univer-grid-rows-4 {
488
+ grid-template-rows: repeat(4, minmax(0, 1fr));
489
+ }
490
+
491
+ .univer-flex-col {
492
+ flex-direction: column;
493
+ }
494
+
495
+ .univer-place-items-center {
496
+ place-items: center;
497
+ }
498
+
499
+ .univer-items-center {
500
+ align-items: center;
501
+ }
502
+
503
+ .univer-justify-start {
504
+ justify-content: flex-start;
505
+ }
506
+
507
+ .univer-justify-end {
508
+ justify-content: flex-end;
509
+ }
510
+
511
+ .univer-justify-center {
512
+ justify-content: center;
513
+ }
514
+
515
+ .univer-justify-between {
516
+ justify-content: space-between;
517
+ }
518
+
519
+ .univer-justify-around {
520
+ justify-content: space-around;
521
+ }
522
+
523
+ .univer-gap-0\.5 {
524
+ gap: .125rem;
525
+ }
526
+
527
+ .univer-gap-1 {
528
+ gap: .25rem;
529
+ }
530
+
531
+ .univer-gap-1\.5 {
532
+ gap: .375rem;
533
+ }
534
+
535
+ .univer-gap-2 {
536
+ gap: .5rem;
537
+ }
538
+
539
+ .univer-gap-2\.5 {
540
+ gap: .625rem;
541
+ }
542
+
543
+ .univer-gap-3 {
544
+ gap: .75rem;
545
+ }
546
+
547
+ .univer-gap-4 {
548
+ gap: 1rem;
549
+ }
550
+
551
+ .univer-gap-x-0\.5 {
552
+ -moz-column-gap: .125rem;
553
+ column-gap: .125rem;
554
+ }
555
+
556
+ .univer-gap-x-2 {
557
+ -moz-column-gap: .5rem;
558
+ column-gap: .5rem;
559
+ }
560
+
561
+ .univer-gap-y-1 {
562
+ row-gap: .25rem;
563
+ }
564
+
565
+ .univer-gap-y-px {
566
+ row-gap: 1px;
567
+ }
568
+
569
+ .univer-justify-self-center {
570
+ justify-self: center;
571
+ }
572
+
573
+ .univer-overflow-hidden {
574
+ overflow: hidden;
575
+ }
576
+
577
+ .univer-overflow-y-auto {
578
+ overflow-y: auto;
579
+ }
580
+
581
+ .univer-overscroll-contain {
582
+ overscroll-behavior: contain;
583
+ }
584
+
585
+ .univer-truncate {
586
+ text-overflow: ellipsis;
587
+ white-space: nowrap;
588
+ overflow: hidden;
589
+ }
590
+
591
+ .univer-whitespace-normal {
592
+ white-space: normal;
593
+ }
594
+
595
+ .univer-whitespace-nowrap {
596
+ white-space: nowrap;
597
+ }
598
+
599
+ .univer-break-words {
600
+ word-wrap: break-word;
601
+ }
602
+
603
+ .univer-rounded {
604
+ border-radius: .25rem;
605
+ }
606
+
607
+ .univer-rounded-full {
608
+ border-radius: 9999px;
609
+ }
610
+
611
+ .univer-rounded-lg {
612
+ border-radius: .5rem;
613
+ }
614
+
615
+ .univer-rounded-md {
616
+ border-radius: .375rem;
617
+ }
618
+
619
+ .univer-border {
620
+ border-width: 1px;
621
+ }
622
+
623
+ .univer-border-0 {
624
+ border-width: 0;
625
+ }
626
+
627
+ .univer-border-2 {
628
+ border-width: 2px;
629
+ }
630
+
631
+ .univer-border-t {
632
+ border-top-width: 1px;
633
+ }
634
+
635
+ .univer-border-solid {
636
+ border-style: solid;
637
+ }
638
+
639
+ .univer-border-none {
640
+ border-style: none;
641
+ }
642
+
643
+ .\!univer-border-primary-500 {
644
+ border-color: var(--univer-primary-500) !important;
645
+ }
646
+
647
+ .univer-border-gray-200 {
648
+ border-color: var(--univer-gray-200);
649
+ }
650
+
651
+ .univer-border-gray-300 {
652
+ border-color: var(--univer-gray-300);
653
+ }
654
+
655
+ .univer-border-primary-500 {
656
+ border-color: var(--univer-primary-500);
657
+ }
658
+
659
+ .univer-border-transparent {
660
+ border-color: #0000;
661
+ }
662
+
663
+ .\!univer-bg-gray-200 {
664
+ background-color: var(--univer-gray-200) !important;
665
+ }
666
+
667
+ .\!univer-bg-gray-700 {
668
+ background-color: var(--univer-gray-700) !important;
669
+ }
670
+
671
+ .\!univer-bg-gray-800 {
672
+ background-color: var(--univer-gray-800) !important;
673
+ }
674
+
675
+ .\!univer-bg-primary-50 {
676
+ background-color: var(--univer-primary-50) !important;
677
+ }
678
+
679
+ .\!univer-bg-primary-900 {
680
+ background-color: var(--univer-primary-900) !important;
681
+ }
682
+
683
+ .univer-bg-gray-0 {
684
+ background-color: var(--univer-gray-0);
685
+ }
686
+
687
+ .univer-bg-gray-100 {
688
+ background-color: var(--univer-gray-100);
689
+ }
690
+
691
+ .univer-bg-gray-200 {
692
+ background-color: var(--univer-gray-200);
693
+ }
694
+
695
+ .univer-bg-gray-400 {
696
+ background-color: var(--univer-gray-400);
697
+ }
698
+
699
+ .univer-bg-gray-50 {
700
+ background-color: var(--univer-gray-50);
701
+ }
702
+
703
+ .univer-bg-primary-100 {
704
+ background-color: var(--univer-primary-100);
705
+ }
706
+
707
+ .univer-bg-primary-50 {
708
+ background-color: var(--univer-primary-50);
709
+ }
710
+
711
+ .univer-bg-primary-600 {
712
+ background-color: var(--univer-primary-600);
713
+ }
714
+
715
+ .univer-bg-transparent {
716
+ background-color: #0000;
717
+ }
718
+
719
+ .univer-bg-white {
720
+ --univer-tw-bg-opacity: 1;
721
+ background-color: #fff;
722
+ background-color: rgba(255, 255, 255, var(--univer-tw-bg-opacity, 1));
723
+ }
724
+
725
+ .univer-p-0 {
726
+ padding: 0;
727
+ }
728
+
729
+ .univer-p-1 {
730
+ padding: .25rem;
731
+ }
732
+
733
+ .univer-p-1\.5 {
734
+ padding: .375rem;
735
+ }
736
+
737
+ .univer-p-2 {
738
+ padding: .5rem;
739
+ }
740
+
741
+ .univer-p-3 {
742
+ padding: .75rem;
743
+ }
744
+
745
+ .univer-px-1 {
746
+ padding-left: .25rem;
747
+ padding-right: .25rem;
748
+ }
749
+
750
+ .univer-px-2 {
751
+ padding-left: .5rem;
752
+ padding-right: .5rem;
753
+ }
754
+
755
+ .univer-px-4 {
756
+ padding-left: 1rem;
757
+ padding-right: 1rem;
758
+ }
759
+
760
+ .univer-px-5 {
761
+ padding-left: 1.25rem;
762
+ padding-right: 1.25rem;
763
+ }
764
+
765
+ .univer-py-0 {
766
+ padding-top: 0;
767
+ padding-bottom: 0;
768
+ }
769
+
770
+ .univer-py-1 {
771
+ padding-top: .25rem;
772
+ padding-bottom: .25rem;
773
+ }
774
+
775
+ .univer-py-1\.5 {
776
+ padding-top: .375rem;
777
+ padding-bottom: .375rem;
778
+ }
779
+
780
+ .univer-py-2 {
781
+ padding-top: .5rem;
782
+ padding-bottom: .5rem;
783
+ }
784
+
785
+ .univer-py-3 {
786
+ padding-top: .75rem;
787
+ padding-bottom: .75rem;
788
+ }
789
+
790
+ .univer-pb-0\.5 {
791
+ padding-bottom: .125rem;
792
+ }
793
+
794
+ .univer-pb-2 {
795
+ padding-bottom: .5rem;
796
+ }
797
+
798
+ .univer-pe-2 {
799
+ padding-right: .5rem;
800
+ }
801
+
802
+ .univer-pl-1\.5 {
803
+ padding-left: .375rem;
804
+ }
805
+
806
+ .univer-pl-2 {
807
+ padding-left: .5rem;
808
+ }
809
+
810
+ .univer-pl-4 {
811
+ padding-left: 1rem;
812
+ }
813
+
814
+ .univer-pr-2 {
815
+ padding-right: .5rem;
816
+ }
817
+
818
+ .univer-pt-1\.5 {
819
+ padding-top: .375rem;
820
+ }
821
+
822
+ .univer-pt-10 {
823
+ padding-top: 2.5rem;
824
+ }
825
+
826
+ .univer-pt-2 {
827
+ padding-top: .5rem;
828
+ }
829
+
830
+ .univer-text-center {
831
+ text-align: center;
832
+ }
833
+
834
+ .univer-text-right {
835
+ text-align: right;
836
+ }
837
+
838
+ .univer-text-start {
839
+ text-align: left;
840
+ }
841
+
842
+ .univer-text-2xl {
843
+ font-size: 1.5rem;
844
+ line-height: 2rem;
845
+ }
846
+
847
+ .univer-text-\[10px\] {
848
+ font-size: 10px;
849
+ }
850
+
851
+ .univer-text-base {
852
+ font-size: 1rem;
853
+ line-height: 1.5rem;
854
+ }
855
+
856
+ .univer-text-lg {
857
+ font-size: 1.125rem;
858
+ line-height: 1.75rem;
859
+ }
860
+
861
+ .univer-text-sm {
862
+ font-size: .875rem;
863
+ line-height: 1.25rem;
864
+ }
865
+
866
+ .univer-text-xl {
867
+ font-size: 1.25rem;
868
+ line-height: 1.75rem;
869
+ }
870
+
871
+ .univer-text-xs {
872
+ font-size: .75rem;
873
+ line-height: 1rem;
874
+ }
875
+
876
+ .univer-font-medium {
877
+ font-weight: 500;
878
+ }
879
+
880
+ .univer-font-normal {
881
+ font-weight: 400;
882
+ }
883
+
884
+ .univer-font-semibold {
885
+ font-weight: 600;
886
+ }
887
+
888
+ .univer-tabular-nums {
889
+ --univer-tw-numeric-spacing: tabular-nums;
890
+ font-feature-settings: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) tabular-nums var(--univer-tw-numeric-fraction);
891
+ font-feature-settings: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) var(--univer-tw-numeric-spacing) var(--univer-tw-numeric-fraction);
892
+ font-variant-numeric: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) tabular-nums var(--univer-tw-numeric-fraction);
893
+ font-variant-numeric: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) var(--univer-tw-numeric-spacing) var(--univer-tw-numeric-fraction);
894
+ }
895
+
896
+ .univer-leading-4 {
897
+ line-height: 1rem;
898
+ }
899
+
900
+ .univer-leading-5 {
901
+ line-height: 1.25rem;
902
+ }
903
+
904
+ .univer-leading-none {
905
+ line-height: 1;
906
+ }
907
+
908
+ .\!univer-text-gray-500 {
909
+ color: var(--univer-gray-500) !important;
910
+ }
911
+
912
+ .\!univer-text-gray-600 {
913
+ color: var(--univer-gray-600) !important;
914
+ }
915
+
916
+ .\!univer-text-primary-600 {
917
+ color: var(--univer-primary-600) !important;
918
+ }
919
+
920
+ .univer-text-gray-100 {
921
+ color: var(--univer-gray-100);
922
+ }
923
+
924
+ .univer-text-gray-400 {
925
+ color: var(--univer-gray-400);
926
+ }
927
+
928
+ .univer-text-gray-500 {
929
+ color: var(--univer-gray-500);
930
+ }
931
+
932
+ .univer-text-gray-600 {
933
+ color: var(--univer-gray-600);
934
+ }
935
+
936
+ .univer-text-gray-700 {
937
+ color: var(--univer-gray-700);
938
+ }
939
+
940
+ .univer-text-gray-800 {
941
+ color: var(--univer-gray-800);
942
+ }
943
+
944
+ .univer-text-gray-900 {
945
+ color: var(--univer-gray-900);
946
+ }
947
+
948
+ .univer-text-primary-400 {
949
+ color: var(--univer-primary-400);
950
+ }
951
+
952
+ .univer-text-primary-600 {
953
+ color: var(--univer-primary-600);
954
+ }
955
+
956
+ .univer-text-violet-500 {
957
+ --univer-tw-text-opacity: 1;
958
+ color: rgba(139, 92, 246, var(--univer-tw-text-opacity, 1));
959
+ }
960
+
961
+ .univer-text-white {
962
+ --univer-tw-text-opacity: 1;
963
+ color: rgba(255, 255, 255, var(--univer-tw-text-opacity, 1));
964
+ }
965
+
966
+ .univer-shadow-\[0_1px_0_rgba\(0\,0\,0\,0\.06\)\] {
967
+ --univer-tw-shadow: 0 1px 0 #0000000f;
968
+ --univer-tw-shadow-colored: 0 1px 0 var(--univer-tw-shadow-color);
969
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px #0000000f;
970
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
971
+ }
972
+
973
+ .univer-shadow-lg {
974
+ --univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
975
+ --univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
976
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px #1e284d0d, 0 10px 15px -3px #1e284d1a;
977
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
978
+ }
979
+
980
+ .univer-shadow-md {
981
+ --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
982
+ --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
983
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 6px -2px #1e284d14, 0 2px 6px -1px #1e284d1a;
984
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
985
+ }
986
+
987
+ .univer-shadow-sm {
988
+ --univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
989
+ --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
990
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #1e284d14;
991
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
992
+ }
993
+
994
+ .univer-shadow-xl {
995
+ --univer-tw-shadow: 0px 10px 10px 0px #1e284d0a, 0px 20px 24px -5px #1e284d1a;
996
+ --univer-tw-shadow-colored: 0px 10px 10px 0px var(--univer-tw-shadow-color), 0px 20px 24px -5px var(--univer-tw-shadow-color);
997
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 10px #1e284d0a, 0 20px 24px -5px #1e284d1a;
998
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
999
+ }
1000
+
1001
+ .univer-transition-\[width\] {
1002
+ transition-property: width;
1003
+ transition-duration: .15s;
1004
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1005
+ }
1006
+
1007
+ .univer-transition-all {
1008
+ transition-property: all;
1009
+ transition-duration: .15s;
1010
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1011
+ }
1012
+
1013
+ .univer-transition-colors {
1014
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1015
+ transition-duration: .15s;
1016
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1017
+ }
1018
+
1019
+ @media (hover: hover) and (pointer: fine) {
1020
+ .univer-group:hover .group-hover\:univer-bg-gray-500 {
1021
+ background-color: var(--univer-gray-500);
1022
+ }
1023
+
1024
+ .hover\:univer-border-primary-500:hover {
1025
+ border-color: var(--univer-primary-500);
1026
+ }
1027
+
1028
+ .hover\:univer-bg-gray-50:hover {
1029
+ background-color: var(--univer-gray-50);
1030
+ }
1031
+
1032
+ .hover\:\!univer-text-gray-900:hover {
1033
+ color: var(--univer-gray-900) !important;
1034
+ }
1035
+
1036
+ .hover\:univer-text-gray-900:hover {
1037
+ color: var(--univer-gray-900);
1038
+ }
1039
+
1040
+ .hover\:univer-text-primary-600:hover {
1041
+ color: var(--univer-primary-600);
1042
+ }
1043
+
1044
+ .hover\:univer-shadow-md:hover {
1045
+ --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
1046
+ --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
1047
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 6px -2px #1e284d14, 0 2px 6px -1px #1e284d1a;
1048
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1049
+ }
1050
+ }
1051
+
1052
+ .focus-visible\:univer-outline:focus-visible {
1053
+ outline-style: solid;
1054
+ }
1055
+
1056
+ .focus-visible\:univer-outline-2:focus-visible {
1057
+ outline-width: 2px;
1058
+ }
1059
+
1060
+ .focus-visible\:-univer-outline-offset-2:focus-visible {
1061
+ outline-offset: -2px;
1062
+ }
1063
+
1064
+ .focus-visible\:univer-outline-primary-600:focus-visible {
1065
+ outline-color: var(--univer-primary-600);
1066
+ }
1067
+
1068
+ .focus-visible\:univer-ring-2:focus-visible {
1069
+ --univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);
1070
+ --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
1071
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
1072
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
1073
+ }
1074
+
1075
+ .focus-visible\:univer-ring-primary-500:focus-visible {
1076
+ --univer-tw-ring-color: var(--univer-primary-500);
1077
+ }
1078
+
1079
+ .active\:univer-scale-95:active {
1080
+ --univer-tw-scale-x: .95;
1081
+ --univer-tw-scale-y: .95;
1082
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(.95) scaleY(.95);
1083
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
1084
+ }
1085
+
1086
+ .active\:univer-cursor-grabbing:active {
1087
+ cursor: grabbing;
1088
+ }
1089
+
1090
+ .active\:univer-bg-gray-100:active {
1091
+ background-color: var(--univer-gray-100);
1092
+ }
1093
+
1094
+ .active\:univer-bg-primary-100:active {
1095
+ background-color: var(--univer-primary-100);
1096
+ }
1097
+
1098
+ .active\:univer-bg-primary-50:active {
1099
+ background-color: var(--univer-primary-50);
1100
+ }
1101
+
1102
+ .active\:univer-bg-primary-700:active {
1103
+ background-color: var(--univer-primary-700);
1104
+ }
1105
+
1106
+ .rtl\:univer-text-left:where([dir="rtl"], [dir="rtl"] *) {
1107
+ text-align: left;
1108
+ }
1109
+
1110
+ .rtl\:univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
1111
+ text-align: right;
1112
+ }
1113
+
1114
+ .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
1115
+ border-color: var(--univer-gray-600) !important;
1116
+ }
1117
+
1118
+ .dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
1119
+ border-color: var(--univer-gray-700) !important;
1120
+ }
1121
+
1122
+ .dark\:\!univer-bg-gray-500:where(.univer-dark, .univer-dark *) {
1123
+ background-color: var(--univer-gray-500) !important;
1124
+ }
1125
+
1126
+ .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
1127
+ background-color: var(--univer-gray-700) !important;
1128
+ }
1129
+
1130
+ .dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
1131
+ background-color: var(--univer-gray-800) !important;
1132
+ }
1133
+
1134
+ .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
1135
+ background-color: var(--univer-gray-900) !important;
1136
+ }
1137
+
1138
+ .dark\:\!univer-bg-primary-500:where(.univer-dark, .univer-dark *) {
1139
+ background-color: var(--univer-primary-500) !important;
1140
+ }
1141
+
1142
+ .dark\:\!univer-bg-primary-900:where(.univer-dark, .univer-dark *) {
1143
+ background-color: var(--univer-primary-900) !important;
1144
+ }
1145
+
1146
+ .dark\:univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
1147
+ background-color: var(--univer-gray-700);
1148
+ }
1149
+
1150
+ .dark\:univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
1151
+ background-color: var(--univer-gray-800);
1152
+ }
1153
+
1154
+ .dark\:univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
1155
+ background-color: var(--univer-gray-900);
1156
+ }
1157
+
1158
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
1159
+ color: var(--univer-gray-0) !important;
1160
+ }
1161
+
1162
+ .dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
1163
+ color: var(--univer-gray-100) !important;
1164
+ }
1165
+
1166
+ .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
1167
+ color: var(--univer-gray-200) !important;
1168
+ }
1169
+
1170
+ .dark\:\!univer-text-gray-300:where(.univer-dark, .univer-dark *) {
1171
+ color: var(--univer-gray-300) !important;
1172
+ }
1173
+
1174
+ .dark\:\!univer-text-gray-400:where(.univer-dark, .univer-dark *) {
1175
+ color: var(--univer-gray-400) !important;
1176
+ }
1177
+
1178
+ .dark\:\!univer-text-primary-400:where(.univer-dark, .univer-dark *) {
1179
+ color: var(--univer-primary-400) !important;
1180
+ }
1181
+
1182
+ .dark\:univer-text-gray-200:where(.univer-dark, .univer-dark *) {
1183
+ color: var(--univer-gray-200);
1184
+ }
1185
+
1186
+ .dark\:univer-text-gray-300:where(.univer-dark, .univer-dark *) {
1187
+ color: var(--univer-gray-300);
1188
+ }
1189
+
1190
+ .dark\:univer-text-gray-400:where(.univer-dark, .univer-dark *) {
1191
+ color: var(--univer-gray-400);
1192
+ }
1193
+
1194
+ .dark\:univer-text-primary-400:where(.univer-dark, .univer-dark *) {
1195
+ color: var(--univer-primary-400);
1196
+ }
1197
+
1198
+ @media (hover: hover) and (pointer: fine) {
1199
+ .univer-group:hover .dark\:group-hover\:\!univer-bg-gray-300:where(.univer-dark, .univer-dark *) {
1200
+ background-color: var(--univer-gray-300) !important;
1201
+ }
1202
+
1203
+ .dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
1204
+ background-color: var(--univer-gray-800) !important;
1205
+ }
1206
+
1207
+ .dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
1208
+ color: var(--univer-gray-100) !important;
1209
+ }
1210
+
1211
+ .dark\:hover\:univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
1212
+ color: var(--univer-gray-100);
1213
+ }
1214
+ }
1215
+
1216
+ .dark\:active\:\!univer-bg-gray-700:active:where(.univer-dark, .univer-dark *) {
1217
+ background-color: var(--univer-gray-700) !important;
1218
+ }
1219
+
1220
+ .dark\:active\:\!univer-bg-primary-600:active:where(.univer-dark, .univer-dark *) {
1221
+ background-color: var(--univer-primary-600) !important;
1222
+ }
1223
+
1224
+ .dark\:active\:\!univer-bg-primary-900:active:where(.univer-dark, .univer-dark *) {
1225
+ background-color: var(--univer-primary-900) !important;
1226
+ }
1227
+
1228
+ .\[\&\>div\]\:\!univer-h-full > div {
1229
+ height: 100% !important;
1230
+ }
1231
+
1232
+ .\[\&_\.univer-toolbar-selector-root\]\:univer-box-border .univer-toolbar-selector-root {
1233
+ box-sizing: border-box;
1234
+ }
1235
+
1236
+ .\[\&_\.univer-toolbar-selector-root\]\:univer-w-full .univer-toolbar-selector-root {
1237
+ width: 100%;
1238
+ }
1239
+
1240
+ .\[\&_\.univer-toolbar-selector-root\]\:univer-justify-between .univer-toolbar-selector-root {
1241
+ justify-content: space-between;
1242
+ }
1243
+
1244
+ .\[\&_\.univer-toolbar-selector-root\]\:univer-text-xs .univer-toolbar-selector-root {
1245
+ font-size: .75rem;
1246
+ line-height: 1rem;
1247
+ }
1248
+
1249
+ .\[\&_svg\]\:\!univer-size-6 svg {
1250
+ width: 1.5rem !important;
1251
+ height: 1.5rem !important;
1252
+ }