@univerjs-pro/chart-ui 1.0.0-alpha.8 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/lib/cjs/facade.js +1 -0
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -0
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -0
  44. package/lib/index.css +181 -25
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/components/ChartEditPanel.d.ts +49 -0
  66. package/lib/types/components/ChartInlineTableEditor.d.ts +1 -1
  67. package/lib/types/components/ChartReferencedDataSourceEditor.d.ts +11 -0
  68. package/lib/types/components/ChartSemanticDataFields.d.ts +3 -3
  69. package/lib/types/components/ChartTypeOptions.d.ts +148 -2
  70. package/lib/types/components/FontFormatBar.d.ts +19 -1
  71. package/lib/types/components/chart-inline-starter-data.d.ts +16 -6
  72. package/lib/types/components/use-chart-panel-input-focus.d.ts +4 -0
  73. package/lib/types/controllers/components.controller.d.ts +4 -2
  74. package/lib/types/editor/ChartEditorProvider.d.ts +11 -0
  75. package/lib/types/editor/atoms/common/ChartFontAtom.d.ts +28 -0
  76. package/lib/types/editor/atoms/common/ChartNumberFormatAtom.d.ts +9 -0
  77. package/lib/types/editor/atoms/common/chart-number-format.d.ts +28 -0
  78. package/lib/types/editor/components/ChartCheckboxField.d.ts +11 -0
  79. package/lib/types/editor/components/ChartColorField.d.ts +14 -0
  80. package/lib/types/editor/components/ChartField.d.ts +15 -0
  81. package/lib/types/editor/components/ChartFieldGroup.d.ts +9 -0
  82. package/lib/types/editor/components/ChartFieldGroupTitle.d.ts +6 -0
  83. package/lib/types/editor/components/ChartFieldRow.d.ts +5 -0
  84. package/lib/types/editor/components/ChartFontField.d.ts +28 -0
  85. package/lib/types/editor/components/ChartImageSelectField.d.ts +13 -0
  86. package/lib/types/editor/components/ChartListField.d.ts +18 -0
  87. package/lib/types/editor/components/ChartMultiSelectField.d.ts +25 -0
  88. package/lib/types/editor/components/ChartNumberField.d.ts +16 -0
  89. package/lib/types/editor/components/ChartSelectField.d.ts +25 -0
  90. package/lib/types/editor/components/ChartTextField.d.ts +14 -0
  91. package/lib/types/editor/hooks/use-chart-config-state.d.ts +3 -0
  92. package/lib/types/editor/hooks/use-chart-data-mapping-fields.d.ts +5 -0
  93. package/lib/types/editor/hooks/use-chart-editor-model.d.ts +3 -0
  94. package/lib/types/editor/hooks/use-chart-runtime-context.d.ts +13 -0
  95. package/lib/types/editor/hooks/use-chart-type-state.d.ts +19 -0
  96. package/lib/types/editor/routing/chart-edit-panel-route.d.ts +21 -0
  97. package/lib/types/editor/sections/ChartAxisSections.d.ts +63 -0
  98. package/lib/types/editor/sections/ChartIndicatorLineSection.d.ts +20 -0
  99. package/lib/types/editor/sections/ChartLegendSection.d.ts +27 -0
  100. package/lib/types/editor/sections/ChartLineAndAreaSection.d.ts +11 -0
  101. package/lib/types/editor/sections/ChartParetoSeriesSection.d.ts +26 -0
  102. package/lib/types/editor/sections/ChartSeriesSection.d.ts +60 -0
  103. package/lib/types/editor/sections/ChartSetupSections.d.ts +21 -0
  104. package/lib/types/editor/sections/ChartStyleSection.d.ts +15 -0
  105. package/lib/types/editor/sections/ChartTitleSections.d.ts +50 -0
  106. package/lib/types/editor/sections/ChartTrendlineSection.d.ts +18 -0
  107. package/lib/types/editor/sections/chart-capabilities.d.ts +10 -0
  108. package/lib/types/editor/sections/chart-style-options.d.ts +86 -0
  109. package/lib/types/editor/sections/specific-section/ChartCandlestickStyleSection.d.ts +1 -0
  110. package/lib/types/editor/sections/specific-section/ChartFunnelStyleSection.d.ts +10 -0
  111. package/lib/types/editor/sections/specific-section/ChartHeatmapStyleSection.d.ts +10 -0
  112. package/lib/types/editor/sections/specific-section/ChartHistogramStyleSection.d.ts +1 -0
  113. package/lib/types/editor/sections/specific-section/ChartPieStyleSection.d.ts +21 -0
  114. package/lib/types/editor/sections/specific-section/ChartRadarStyleSection.d.ts +9 -0
  115. package/lib/types/editor/sections/specific-section/ChartRelationStyleSection.d.ts +17 -0
  116. package/lib/types/editor/sections/specific-section/ChartTreemapStyleSection.d.ts +1 -0
  117. package/lib/types/editor/sections/specific-section/ChartTypeSpecificSections.d.ts +9 -0
  118. package/lib/types/editor/sections/specific-section/ChartWaterfallStyleSection.d.ts +26 -0
  119. package/lib/types/editor/sections/specific-section/ChartWordCloudStyleSection.d.ts +21 -0
  120. package/lib/types/editor/sections/specific-section/ChordDataMappingAtom.d.ts +1 -0
  121. package/lib/types/editor/sections/specific-section/ChordLabelAtom.d.ts +1 -0
  122. package/lib/types/editor/sections/specific-section/ChordLayoutAtom.d.ts +1 -0
  123. package/lib/types/editor/sections/specific-section/ChordRibbonAtom.d.ts +1 -0
  124. package/lib/types/editor/sections/specific-section/GaugeDataMappingAtom.d.ts +1 -0
  125. package/lib/types/editor/sections/specific-section/GaugeModeAtom.d.ts +1 -0
  126. package/lib/types/editor/sections/specific-section/GaugePointerAtom.d.ts +1 -0
  127. package/lib/types/editor/sections/specific-section/GaugeProgressAtom.d.ts +1 -0
  128. package/lib/types/editor/sections/specific-section/GaugeRangesAtom.d.ts +1 -0
  129. package/lib/types/editor/sections/specific-section/GaugeScaleAtom.d.ts +1 -0
  130. package/lib/types/editor/sections/specific-section/SunburstCenterLabelAtom.d.ts +1 -0
  131. package/lib/types/editor/sections/specific-section/SunburstDataMappingAtom.d.ts +1 -0
  132. package/lib/types/editor/sections/specific-section/SunburstLabelAtom.d.ts +1 -0
  133. package/lib/types/editor/sections/specific-section/chord-field-options.d.ts +2 -0
  134. package/lib/types/editor/sections/specific-section/chord-style.d.ts +16 -0
  135. package/lib/types/editor/sections/specific-section/gauge-style.d.ts +10 -0
  136. package/lib/types/editor/sections/specific-section/sunburst-label.d.ts +8 -0
  137. package/lib/types/editor/utils/chart-runtime-axis.d.ts +3 -0
  138. package/lib/types/facade/f-chart.d.ts +19 -0
  139. package/lib/types/facade/index.d.ts +2 -0
  140. package/lib/types/float-menu/ChartElementFloatMenu.d.ts +2 -2
  141. package/lib/types/float-menu/chart-element-selection.d.ts +7 -0
  142. package/lib/types/float-menu/constants.d.ts +72 -91
  143. package/lib/types/float-menu/create-chart-element-float-menu-adapter.d.ts +10 -0
  144. package/lib/types/float-menu/pie-mark-patch.d.ts +8 -0
  145. package/lib/types/float-menu/types.d.ts +28 -9
  146. package/lib/types/index.d.ts +74 -3
  147. package/lib/types/locale/en-US.d.ts +487 -58
  148. package/lib/types/services/chart-host-adapter.d.ts +12 -0
  149. package/lib/types/services/chart-image-export.service.d.ts +26 -0
  150. package/lib/types/services/chart-referenced-data-source-binding.service.d.ts +13 -0
  151. package/lib/types/services/chart-snapshot-queue.d.ts +59 -0
  152. package/lib/types/services/chart-ui.service.d.ts +19 -0
  153. package/lib/types/services/chart-view-state-projector.d.ts +15 -0
  154. package/lib/types/services/chart-view-state-registry.d.ts +11 -0
  155. package/lib/types/services/chart-view-state.d.ts +118 -0
  156. package/lib/types/services/inline-chart-creation.d.ts +42 -0
  157. package/lib/types/services/register-chart-config-states.d.ts +3 -0
  158. package/lib/types/services/register-chart-view-states/chart-specific.d.ts +4 -0
  159. package/lib/types/services/register-chart-view-states/semantic.d.ts +4 -0
  160. package/lib/umd/facade.js +1 -0
  161. package/lib/umd/index.js +1 -1
  162. package/lib/umd/locale/ar-SA.js +1 -1
  163. package/lib/umd/locale/ca-ES.js +1 -1
  164. package/lib/umd/locale/de-DE.js +1 -1
  165. package/lib/umd/locale/en-US.js +1 -1
  166. package/lib/umd/locale/es-ES.js +1 -1
  167. package/lib/umd/locale/fa-IR.js +1 -1
  168. package/lib/umd/locale/fr-FR.js +1 -1
  169. package/lib/umd/locale/id-ID.js +1 -1
  170. package/lib/umd/locale/it-IT.js +1 -1
  171. package/lib/umd/locale/ja-JP.js +1 -1
  172. package/lib/umd/locale/ko-KR.js +1 -1
  173. package/lib/umd/locale/pl-PL.js +1 -1
  174. package/lib/umd/locale/pt-BR.js +1 -1
  175. package/lib/umd/locale/ru-RU.js +1 -1
  176. package/lib/umd/locale/sk-SK.js +1 -1
  177. package/lib/umd/locale/vi-VN.js +1 -1
  178. package/lib/umd/locale/zh-CN.js +1 -1
  179. package/lib/umd/locale/zh-HK.js +1 -1
  180. package/lib/umd/locale/zh-TW.js +1 -1
  181. package/package.json +25 -9
  182. package/lib/types/components/ChartEditPanelScaffold.d.ts +0 -32
  183. package/lib/types/components/ChartEditorFields.d.ts +0 -68
  184. package/lib/types/components/ChartPresentationFields.d.ts +0 -9
  185. package/lib/types/components/index.d.ts +0 -19
  186. package/lib/types/float-menu/index.d.ts +0 -5
@@ -1 +1 @@
1
- function _0xb948(_0x5df4d0,_0x43b546){_0x5df4d0=_0x5df4d0-0x1b6;const _0x1b4ab6=_0x1b4a();let _0xb94853=_0x1b4ab6[_0x5df4d0];return _0xb94853;}const _0x29eea9=_0xb948;(function(_0x4c2f20,_0x187e53){const _0x3ff437=_0xb948,_0x226ff2=_0x4c2f20();while(!![]){try{const _0x2b2b7f=-parseInt(_0x3ff437(0x1c0))/0x1*(-parseInt(_0x3ff437(0x1c6))/0x2)+parseInt(_0x3ff437(0x1c2))/0x3+parseInt(_0x3ff437(0x1bf))/0x4+-parseInt(_0x3ff437(0x1cf))/0x5*(parseInt(_0x3ff437(0x1c1))/0x6)+-parseInt(_0x3ff437(0x1c3))/0x7+parseInt(_0x3ff437(0x1bd))/0x8+parseInt(_0x3ff437(0x1ca))/0x9;if(_0x2b2b7f===_0x187e53)break;else _0x226ff2['push'](_0x226ff2['shift']());}catch(_0xe012de){_0x226ff2['push'](_0x226ff2['shift']());}}}(_0x1b4a,0x97cd9));function _0x1b4a(){const _0x1ca02c=['1647060heWmde','8356453uGUBkr','資料點','副標題','317478zMJAif','標籤位置','百分比','標題文字','10135638fWhsoZ','資料標籤','最大值','軸標題','右縱軸','5ySAzRj','圖例換行','最小值','新增欄','標籤文字','左對齊','在此複製並貼上資料','透明度','網格線','276240ixOkoQ','右對齊','2161892FdyOxy','4IauYjs','6417582iMreBF'];_0x1b4a=function(){return _0x1ca02c;};return _0x1b4a();}const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':_0x29eea9(0x1d0)},'inlineTable':{'pasteHint':_0x29eea9(0x1ba),'addRow':'新增列','addColumn':_0x29eea9(0x1b7)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':'圖表標題','subtitle':_0x29eea9(0x1c5),'axisTitle':_0x29eea9(0x1cd),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x29eea9(0x1ce),'gridline':_0x29eea9(0x1bc),'tick':'刻度線','mark':'標記','series':'系列','dataPoint':_0x29eea9(0x1c4),'dataLabel':_0x29eea9(0x1cb)},'field':{'title':'標題','subtitle':_0x29eea9(0x1c5),'position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x29eea9(0x1b6),'max':_0x29eea9(0x1cc),'color':'顏色','borderColor':'邊框顏色','opacity':_0x29eea9(0x1bb),'labelPosition':_0x29eea9(0x1c7),'labelText':_0x29eea9(0x1b8),'titleText':_0x29eea9(0x1c9)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x29eea9(0x1b9),'center':'置中','right':_0x29eea9(0x1be)},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x29eea9(0x1c8)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};export{e as default};
1
+ const _0x17863a=_0x3085;function _0x3085(_0x3efc80,_0x386263){_0x3efc80=_0x3efc80-0x1a4;const _0x4c95dd=_0x4c95();let _0x308511=_0x4c95dd[_0x3efc80];return _0x308511;}(function(_0x5d1e96,_0xbf80f1){const _0x46f180=_0x3085,_0x559dff=_0x5d1e96();while(!![]){try{const _0x23cd40=-parseInt(_0x46f180(0x226))/0x1*(parseInt(_0x46f180(0x273))/0x2)+parseInt(_0x46f180(0x1b8))/0x3+-parseInt(_0x46f180(0x24d))/0x4+-parseInt(_0x46f180(0x1e5))/0x5+-parseInt(_0x46f180(0x1ac))/0x6*(-parseInt(_0x46f180(0x255))/0x7)+parseInt(_0x46f180(0x1fa))/0x8*(-parseInt(_0x46f180(0x277))/0x9)+parseInt(_0x46f180(0x1ff))/0xa;if(_0x23cd40===_0xbf80f1)break;else _0x559dff['push'](_0x559dff['shift']());}catch(_0x3d1505){_0x559dff['push'](_0x559dff['shift']());}}}(_0x4c95,0x40195));function _0x4c95(){const _0x403997=['橫軸標題','標籤文字顏色','長方形','標籤背景','添加範圍','縱軸標題','7TDwZyq','連接數據點','視為零','科學的','外半徑','預設顏色','空心矩形','折線圖','資料點顏色','燭身顏色','使用絕對值','標籤內容','影線寬度','半個餡餅','副標題','堆疊\x20·\x20柱狀圖','圓角矩形','刪除資料點','空心圓形','價值單位','雷達圖','設定圖表','使用\x20{0}\x20作為類別','弦圖至少需要兩個不同節點之間的一條正權重關係。','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','細胞標籤','儀表板','邊框透明度','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','每個主刻度的次刻度數','6RofmDZ','左側(%)','小數位數','顯示\x20R²','774ytYPAx','溢出閾值','條形圖','刻度長度','累積占比系列','配方顏色','熱力圖','刪除階層欄位','數值欄位','長條圖系列','切換列或欄','指示線','百分比小於','千分位符','子母餅圖','內嵌資料','1285854aWsMpB','隱藏圖表面板','十字線','設定標籤格式','日期格式將日期和時間系列數值顯示為日期值。','百分比堆疊\x20·\x20柱狀圖','內半徑','網格線寬度','編輯資料','環形圖','組合圖','旭日圖','559398WUSwar','常規格式不包含任何特定的數字格式。','負數類型','自訂分割','堆疊面積圖','數值縮放','刻度線','來源格式','刻度寬度','關係圖','刻度位置','節點形狀','順時針','多項式','五角大廈','目前節點','已選取\x20{0}\x20個資料點','複合餅圖','軸標題','貼上表格、Excel\x20或網頁中的表格以取代內嵌資料。','空心\x20K\x20線','最低價','旋轉標籤','圖表與座標軸標題','視覺圖','主要與次要圖表間距','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','標籤旋轉','表格資料為空','版面配置','編輯圖表','資料標籤','標籤線','透明度','OHLC\x20數列','空心針形','直方圖','開啟圖表面板','散點圖','連接線類型','反轉軸','圖表樣式','漸變填充','起始角度','刪除範圍','1743135gAiWio','K\x20線圖','開盤價','線條顏色','貨幣類型','結束值','階層欄位','將標籤視為日期','繪圖區','點大小','圖表類型','主刻度數','切片間距','新增欄目','左對齊','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','自訂格式','網格線顏色','移動平均線','標題類型','資料點','1336AlYLeU','折線圖\x20/\x20面積圖','收盤價','數值小於','扇區分離(%)','6626380EZbGeE','來源類型','系列名稱','百分比堆疊條形圖','數字格式','添加趨勢線','儀表圖','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','纖細指針','專案差距','連接帶','關聯值','選擇方式','線條樣式','標籤文字','填滿不透明度','刻度線顏色','正文字體顏色','連接線顏色','甜甜圈洞','分類間距(%)','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','結束角度','R²顏色','最小角度','燭身寬度','分檔模式','插入圖表','按值調整節點大小','趨勢線','進階版面配置','資料範圍','間隔角度','空心三角形','關係數','堆疊條形圖','最小值','無效值','2039sDnssI','分割依據','連接線寬度','顯示名稱','氣泡圖','寬度(%)','顯示公式','內半徑必須小於外半徑。','經典指針','網格線','系列重疊(%)','矩形樹圖','最高價','相鄰節點','高度(%)','背景顏色','邊框類型','指示線類型','連接線','百分比堆疊面積圖','樹狀圖','刪除圖表','樣式目標','父標籤佈局','向下移動階層欄位','標題文字','右縱軸標題','中心數值格式','掩模圖像ID','漏斗圖','影線不透明度','指示線顏色','中心總計','全系列','邊框寬度','和弦圖','柱形間距','影線顏色','向上移動階層欄位','1727032UOpvXD','儀表圖至少需要一個有限數值。'];_0x4c95=function(){return _0x403997;};return _0x4c95();}const e={'chart-ui':{'dataSource':{'inlineMode':'內嵌','referencedMode':'參照','sourceType':_0x17863a(0x200)},'editor':{'defaultColor':_0x17863a(0x25a),'fontSize':'字體大小'},'setup':{'stack':'堆疊','percentStacked':'百分比堆疊'},'chartTypes':{'line':_0x17863a(0x25c),'column':'柱狀圖','columnStacked':_0x17863a(0x264),'columnPercentStacked':_0x17863a(0x1b1),'bar':_0x17863a(0x279),'barStacked':_0x17863a(0x223),'barPercentStacked':_0x17863a(0x202),'pie':'餅圖','donut':_0x17863a(0x1b5),'pieOfPie':_0x17863a(0x1aa),'barOfPie':_0x17863a(0x1c9),'area':'面積圖','areaStacked':_0x17863a(0x1bc),'areaPercentStacked':_0x17863a(0x239),'radar':_0x17863a(0x269),'scatter':_0x17863a(0x1de),'combination':_0x17863a(0x1b6),'wordCloud':'詞雲圖','funnel':'漏斗圖','bubble':_0x17863a(0x22a),'relation':_0x17863a(0x1c1),'waterfall':'瀑布圖','pareto':'排列圖','sankey':'桑基圖','heatmap':_0x17863a(0x27d),'boxplot':'箱型圖','candlestick':_0x17863a(0x1e6),'histogram':'直方圖','treemap':_0x17863a(0x231),'sunburst':_0x17863a(0x1b7),'gauge':_0x17863a(0x26f),'chord':'和弦圖'},'section':{'waterfall':'瀑布圖','paretoBar':_0x17863a(0x1a5),'paretoLine':_0x17863a(0x27b),'pie':'餅圖','wordCloud':'詞雲','radar':_0x17863a(0x269),'funnel':_0x17863a(0x243),'relation':'關係圖','lineAndArea':_0x17863a(0x1fb),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x17863a(0x1a7),'candlestick':'燭台圖','histogram':_0x17863a(0x1dc),'treemap':_0x17863a(0x23a),'sunburst':_0x17863a(0x1b7),'gauge':_0x17863a(0x205),'chord':_0x17863a(0x249)},'presentation':{'backgroundColor':_0x17863a(0x235),'theme':'主題','gradientFill':_0x17863a(0x1e2),'bodyFontSize':'正文字體大小','bodyFontColor':_0x17863a(0x211),'titleType':_0x17863a(0x1f8),'horizontalAxisTitle':_0x17863a(0x24f),'verticalAxisTitle':_0x17863a(0x254),'rightVerticalAxisTitle':_0x17863a(0x240),'wrap':'包裹圖例','selectMode':_0x17863a(0x20c),'visualMapType':_0x17863a(0x1d0),'align':'對準'},'numberFormat':{'source':_0x17863a(0x1bf),'number':'數量','scientific':_0x17863a(0x258),'custom':_0x17863a(0x1f5),'preview':'預覽','generalType':'常規','accountingType':'會計','thousandsType':_0x17863a(0x1a9),'formatTypes':'格式類型','generalDesc':_0x17863a(0x1b9),'accountingDesc':_0x17863a(0x26d),'currencyDesc':_0x17863a(0x1d2),'dateDesc':_0x17863a(0x1b0),'thousandsDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x17863a(0x275),'currencyTypes':_0x17863a(0x1e9),'negativeNumberTypes':_0x17863a(0x1ba),'dateTypes':'日期類型','setFormat':_0x17863a(0x1af)},'series':{'rightAxis':'右軸','allSeries':_0x17863a(0x247),'aggregate':'彙總','borderOpacity':_0x17863a(0x270),'solid':'固體','pointShape':'點狀','pointSize':_0x17863a(0x1ee),'pointColor':_0x17863a(0x25d),'removeDataPoint':_0x17863a(0x266),'square':'廣場','rect':'矩形','roundRect':_0x17863a(0x265),'pin':'針形','emptyCircle':_0x17863a(0x267),'emptySquare':'空心正方形','emptyTriangle':_0x17863a(0x221),'emptyDiamond':'空心菱形','emptyRect':_0x17863a(0x25b),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x17863a(0x1db),'emptyArrow':'空心箭頭'},'lineAndArea':{'lineStyle':_0x17863a(0x20d),'line':'線','smooth':'光滑','step':'步驟','invalidValues':_0x17863a(0x225),'breakLine':'斷線','connect':_0x17863a(0x256),'zero':_0x17863a(0x257)},'axis':{'useDateAxis':_0x17863a(0x1ec),'target':'軸','lineColor':_0x17863a(0x1e8),'lineWidth':'線寬','labelRotation':_0x17863a(0x1d3),'reverse':_0x17863a(0x1e0),'gridlineVisible':_0x17863a(0x22f),'gridlineColor':_0x17863a(0x1f6),'gridlineWidth':_0x17863a(0x1b3),'tickVisible':'蜱蟲','tickLength':_0x17863a(0x27a),'tickWidth':_0x17863a(0x1c0),'tickColor':_0x17863a(0x210),'tickPosition':_0x17863a(0x1c2)},'indicator':{'lineColor':_0x17863a(0x245),'lineType':_0x17863a(0x237),'labelBackground':_0x17863a(0x252),'labelText':_0x17863a(0x250)},'trendline':{'add':_0x17863a(0x204),'type':'類型','linear':'線性','exponential':'指數','logarithmic':'對數','polynomial':_0x17863a(0x1c5),'power':'電源','movingAverage':_0x17863a(0x1f7),'showFormula':_0x17863a(0x22c),'showR2':_0x17863a(0x276),'order':'訂單','period':'時期','formulaColor':_0x17863a(0x27c),'r2Color':_0x17863a(0x217)},'pareto':{'includeZeroValues':'包括零值'},'plotArea':{'label':_0x17863a(0x1ed),'manual':'手動','left':_0x17863a(0x274),'top':'頂部(%)','width':_0x17863a(0x22b),'height':_0x17863a(0x234)},'bar':{'layout':_0x17863a(0x24a),'gapWidth':_0x17863a(0x214),'overlap':_0x17863a(0x230)},'pie':{'mode':'圖表形態','modeNormal':'一般','modePieOfPie':_0x17863a(0x1aa),'modeBarOfPie':_0x17863a(0x1c9),'splitType':_0x17863a(0x227),'splitAuto':'自動','splitPosition':'位置','splitCustom':'自訂','customSelectedCount':_0x17863a(0x1bb),'customSelectedCountValue':_0x17863a(0x1c8),'positionCount':'次要圖表資料點數','valueLessThan':_0x17863a(0x1fd),'percentageLessThan':_0x17863a(0x1a8),'secondarySize':'次要圖表大小','advancedLayout':_0x17863a(0x21e),'connector':_0x17863a(0x238),'slices':'扇區','gapWidth':_0x17863a(0x1d1),'connectorColor':_0x17863a(0x212),'connectorWidth':_0x17863a(0x228),'connectorType':_0x17863a(0x1df),'aggregateOther':'其他','aggregateMembers':'成員','valueScale':_0x17863a(0x1bd),'doughnutHole':_0x17863a(0x213),'startAngle':_0x17863a(0x1e3),'explosion':_0x17863a(0x1fe),'paddingAngle':_0x17863a(0x1f1),'halfPie':_0x17863a(0x262),'rosePie':'玫瑰派','labelLine':_0x17863a(0x1d8)},'radar':{'shape':'雷達形狀','polygon':'多邊形','fill':'區域填充'},'funnel':{'gap':_0x17863a(0x209),'absoluteValues':_0x17863a(0x25f)},'heatmap':{'unit':_0x17863a(0x268),'labels':_0x17863a(0x26e)},'relation':{'nodes':'節點','interaction':'互動','edgeLength':'邊長','circular':'圓形','force':'力','nodeShape':_0x17863a(0x1c3),'valueSize':_0x17863a(0x21c),'rotateLabels':_0x17863a(0x1ce),'gravity':'重力','repulsion':'斥力'},'wordCloud':{'maskImage':_0x17863a(0x242),'repeat':'重複單字','cloud':'雲','rect':_0x17863a(0x251),'cardioid':'心形','heart':'心','triangle-forward':'前三角','pentagon':_0x17863a(0x1c6),'star':'明星'},'waterfall':{'styleTarget':_0x17863a(0x23c),'positive':'正值','negative':'負值','stackType':'安排','arrangement':'瀑布','subtotal':'小計','includeSubtotal':'使用小計','connector':_0x17863a(0x238)},'candlestick':{'candle':'蠟燭','body':'燭身','wick':'影線','state':'K\x20線狀態','open':_0x17863a(0x1e7),'high':_0x17863a(0x232),'low':_0x17863a(0x1cd),'close':_0x17863a(0x1fc),'rising':'上漲','falling':'下跌','doji':_0x17863a(0x1ae),'bodyColor':_0x17863a(0x25e),'fillOpacity':_0x17863a(0x20f),'wickColor':_0x17863a(0x24b),'wickWidth':_0x17863a(0x261),'wickOpacity':_0x17863a(0x244),'candleWidth':_0x17863a(0x219),'hollow':_0x17863a(0x1cc),'columnsError':_0x17863a(0x271),'series':_0x17863a(0x1da)},'histogram':{'binGap':'組距','binningMode':_0x17863a(0x21a),'count':'計數','width':'寬度','binCount':'組數','binWidth':'組距寬度','underflow':'下溢閾值','overflow':_0x17863a(0x278),'frequency':'頻數'},'treemap':{'parentLabelLayout':_0x17863a(0x23d),'banner':'橫幅','overlapping':'重疊','leafLabel':'葉子標籤','hierarchy':_0x17863a(0x1eb),'diagnostic':_0x17863a(0x207)},'sunburst':{'hierarchy':'階層','addHierarchy':'新增階層','moveUp':_0x17863a(0x24c),'moveDown':_0x17863a(0x23e),'removeHierarchy':_0x17863a(0x27e),'centerLabel':_0x17863a(0x246),'labelFormat':'標籤樣式','diagnostic':'旭日圖至少需要一個階層欄位和一個數值欄位。'},'gauge':{'scale':'刻度範圍','majorDivisions':_0x17863a(0x1f0),'minorDivisions':_0x17863a(0x272),'angles':'角度','endAngle':_0x17863a(0x216),'ranges':'範圍','rangeFrom':'起始值','rangeTo':_0x17863a(0x1ea),'addRange':_0x17863a(0x253),'removeRange':_0x17863a(0x1e4),'axisTick':_0x17863a(0x1be),'splitLine':'分隔線','pointer':'指針','anchor':'錨點','progress':'進度','detail':'詳情','pointerNeedle':_0x17863a(0x22e),'pointerSlim':_0x17863a(0x208),'template':'範本','modern':'現代','classic':'經典','minimal':'極簡','advanced':'進階設定','customized':'自訂','axisLabelNumberFormat':'軸標籤數字格式','detailNumberFormat':_0x17863a(0x241),'emptyDiagnostic':_0x17863a(0x24e),'mappingDiagnostic':_0x17863a(0x1f4),'configDiagnostic':_0x17863a(0x215)},'chord':{'source':'來源','target':'目標','count':_0x17863a(0x222),'node':'節點','ribbon':_0x17863a(0x20a),'clockwise':_0x17863a(0x1c4),'padAngle':_0x17863a(0x220),'minAngle':_0x17863a(0x218),'innerRadius':_0x17863a(0x1b2),'outerRadius':_0x17863a(0x259),'invalidRadii':_0x17863a(0x22d),'rotation':'旋轉','distance':'距離','width':'寬度','focus':'焦點','solid':'純色','gradient':'漸變','adjacency':_0x17863a(0x233),'self':_0x17863a(0x1c7),'emptyDiagnostic':_0x17863a(0x26c),'mappingDiagnostic':'弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','configDiagnostic':_0x17863a(0x206),'associatedValue':_0x17863a(0x20b)},'common':{'category':'類別','seriesName':_0x17863a(0x201),'value':'數值','percentage':'百分比','borderColor':'邊框顏色','labelContent':_0x17863a(0x260),'labelPosition':'標籤位置','dataLabels':_0x17863a(0x1d7),'chartType':_0x17863a(0x1ef),'bold':'粗體','italic':'斜體','shape':'形狀','chartStyle':_0x17863a(0x1e1),'chartAndAxisTitles':_0x17863a(0x1cf),'legend':'圖例','chartTitle':'圖表標題','subtitle':_0x17863a(0x263),'series':'系列','dataPoint':_0x17863a(0x1f9),'trendline':_0x17863a(0x21d),'horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':'右縱軸','layout':_0x17863a(0x1d5),'arrow':'箭頭','axisLabels':'軸標籤','currency':'貨幣','date':'日期','displayName':_0x17863a(0x229),'emphasis':'強調','heatmap':'熱力圖','lineColor':_0x17863a(0x1e8),'lineWidth':'線寬','min':_0x17863a(0x224),'max':'最大值','mode':'模式','stacked':'堆疊','title':'標題','auto':'自動','position':{'label':'位置','inside':'內側','outside':'外側','top':'頂部','right':'右側','bottom':'底部','left':'左側','hide':'隱藏'},'axisAlign':{'start':'開始','center':'置中','end':'結束'},'textAlign':{'left':_0x17863a(0x1f3),'center':'置中','right':'右對齊'},'legendSelectMode':{'single':'單選','multiple':'多選','disabled':'停用'},'visualMapType':{'continuous':'連續','piecewise':'分段'},'default':'預設','reset':'重置','color':'顏色','opacity':_0x17863a(0x1d9),'font':'字體','none':'無','transparent':'透明','numberFormat':_0x17863a(0x203),'borderWidth':_0x17863a(0x248),'borderType':_0x17863a(0x236),'lineType':'線型','dashed':'虛線','dotted':'點狀','circle':'圓','triangle':'三角形','diamond':'鑽石','axisLine':'軸線','minimum':'最低','maximum':'最大','startAngle':'起始角度','valueField':_0x17863a(0x1a4),'categoryName':'類別名稱','ownValue':'自身值','children':'子項','label':'標籤','editChart':_0x17863a(0x1d6),'deleteChart':_0x17863a(0x23b),'insertChart':_0x17863a(0x21b),'insertChartFailed':'插入圖表失敗','openChartPanel':_0x17863a(0x1dd),'hideChartPanel':_0x17863a(0x1ad),'exportImage':'匯出圖片','copy':'複製','setup':_0x17863a(0x26a),'customize':'自訂圖表','data':'資料','tableDataEmpty':_0x17863a(0x1d4),'dataRange':_0x17863a(0x21f),'editData':_0x17863a(0x1b4),'inlineData':_0x17863a(0x1ab),'switchRowColumn':_0x17863a(0x1a6),'useAsCategoryLabels':_0x17863a(0x26b),'cancel':'取消','insert':'插入','apply':'套用','duplicate':'複製'},'inlineTable':{'pasteHint':_0x17863a(0x1cb),'addRow':'新增行','addColumn':_0x17863a(0x1f2)},'floatMenu':{'menuTitle':{'chart':'圖表','axisTitle':_0x17863a(0x1ca),'gridline':_0x17863a(0x22f),'tick':_0x17863a(0x1be),'mark':'標記','dataLabel':_0x17863a(0x1d7)},'field':{'position':'位置','size':'字號','align':'對齊','map':'映射','rotate':'旋轉','labelText':_0x17863a(0x20e),'titleText':_0x17863a(0x23f)},'action':{'more':'更多'},'control':{'labels':'標籤','line':'軸線','reverse':'反向'}}}};export{e as default};
package/lib/facade.js ADDED
@@ -0,0 +1 @@
1
+ var _0x487aa2=_0x7e27;function _0x39cc(){var _0x3181c6=['79652fZHbrq','extend','3095515vGqqKD','get','38pEOGhX','9433384WSWBTJ','exportImage','7319270foGUIK','_injector','9BiIzNQ','654444AzrDBW','9736tTYLYa','284802wCNwOg','1797onraos'];_0x39cc=function(){return _0x3181c6;};return _0x39cc();}(function(_0x57fa67,_0xa0b7a4){var _0x36f669=_0x7e27,_0x232c8d=_0x57fa67();while(!![]){try{var _0x14ff89=-parseInt(_0x36f669(0x1c2))/0x1*(parseInt(_0x36f669(0x1c6))/0x2)+-parseInt(_0x36f669(0x1c1))/0x3*(-parseInt(_0x36f669(0x1bf))/0x4)+parseInt(_0x36f669(0x1c4))/0x5+-parseInt(_0x36f669(0x1c0))/0x6+-parseInt(_0x36f669(0x1be))/0x7+parseInt(_0x36f669(0x1c7))/0x8*(parseInt(_0x36f669(0x1cb))/0x9)+-parseInt(_0x36f669(0x1c9))/0xa;if(_0x14ff89===_0xa0b7a4)break;else _0x232c8d['push'](_0x232c8d['shift']());}catch(_0x384a71){_0x232c8d['push'](_0x232c8d['shift']());}}}(_0x39cc,0xd4650));import{ChartImageExportService as _0x13dc24}from'@univerjs-pro/chart-ui';import{FChart as _0x20cd88}from'@univerjs-pro/engine-chart/facade';function _0x7e27(_0x2a9471,_0x2ecbca){_0x2a9471=_0x2a9471-0x1be;var _0x39cc1c=_0x39cc();var _0x7e2715=_0x39cc1c[_0x2a9471];return _0x7e2715;}var n=class extends _0x20cd88{[_0x487aa2(0x1c8)](){var _0xfa981b=_0x487aa2;return this[_0xfa981b(0x1ca)][_0xfa981b(0x1c5)](_0x13dc24)[_0xfa981b(0x1c8)](this);}};_0x20cd88[_0x487aa2(0x1c3)](n);export{};
package/lib/index.css CHANGED
@@ -1,3 +1,19 @@
1
+ .univer-sr-only {
2
+ clip: rect(0, 0, 0, 0);
3
+ white-space: nowrap;
4
+ border-width: 0;
5
+ width: 1px;
6
+ height: 1px;
7
+ margin: -1px;
8
+ padding: 0;
9
+ position: absolute;
10
+ overflow: hidden;
11
+ }
12
+
13
+ .univer-m-0 {
14
+ margin: 0;
15
+ }
16
+
1
17
  .univer-mx-auto {
2
18
  margin-left: auto;
3
19
  margin-right: auto;
@@ -15,6 +31,10 @@
15
31
  margin-right: 1.25rem;
16
32
  }
17
33
 
34
+ .univer-mt-1 {
35
+ margin-top: .25rem;
36
+ }
37
+
18
38
  .univer-mt-2 {
19
39
  margin-top: .5rem;
20
40
  }
@@ -39,19 +59,33 @@
39
59
  display: inline-flex;
40
60
  }
41
61
 
62
+ .univer-grid {
63
+ display: grid;
64
+ }
65
+
42
66
  .\!univer-size-6 {
43
67
  width: 1.5rem !important;
44
68
  height: 1.5rem !important;
45
69
  }
46
70
 
71
+ .univer-size-2\.5 {
72
+ width: .625rem;
73
+ height: .625rem;
74
+ }
75
+
76
+ .univer-size-4 {
77
+ width: 1rem;
78
+ height: 1rem;
79
+ }
80
+
47
81
  .univer-size-5 {
48
82
  width: 1.25rem;
49
83
  height: 1.25rem;
50
84
  }
51
85
 
52
- .univer-size-full {
53
- width: 100%;
54
- height: 100%;
86
+ .univer-size-8 {
87
+ width: 2rem;
88
+ height: 2rem;
55
89
  }
56
90
 
57
91
  .\!univer-h-7 {
@@ -66,10 +100,18 @@
66
100
  height: .25rem;
67
101
  }
68
102
 
103
+ .univer-h-14 {
104
+ height: 3.5rem;
105
+ }
106
+
69
107
  .univer-h-4 {
70
108
  height: 1rem;
71
109
  }
72
110
 
111
+ .univer-h-6 {
112
+ height: 1.5rem;
113
+ }
114
+
73
115
  .univer-h-7 {
74
116
  height: 1.75rem;
75
117
  }
@@ -82,14 +124,26 @@
82
124
  height: 26px;
83
125
  }
84
126
 
127
+ .univer-h-\[min\(640px\,calc\(100vh-240px\)\)\] {
128
+ height: min(640px, 100vh - 240px);
129
+ }
130
+
85
131
  .univer-h-fit {
86
132
  height: fit-content;
87
133
  }
88
134
 
135
+ .univer-max-h-48 {
136
+ max-height: 12rem;
137
+ }
138
+
89
139
  .univer-max-h-72 {
90
140
  max-height: 18rem;
91
141
  }
92
142
 
143
+ .univer-max-h-80 {
144
+ max-height: 20rem;
145
+ }
146
+
93
147
  .univer-min-h-0 {
94
148
  min-height: 0;
95
149
  }
@@ -98,6 +152,10 @@
98
152
  min-height: 2rem;
99
153
  }
100
154
 
155
+ .univer-min-h-\[420px\] {
156
+ min-height: 420px;
157
+ }
158
+
101
159
  .\!univer-w-9 {
102
160
  width: 2.25rem !important;
103
161
  }
@@ -122,10 +180,18 @@
122
180
  width: 13rem;
123
181
  }
124
182
 
183
+ .univer-w-72 {
184
+ width: 18rem;
185
+ }
186
+
125
187
  .univer-w-8 {
126
188
  width: 2rem;
127
189
  }
128
190
 
191
+ .univer-w-\[--radix-popper-anchor-width\] {
192
+ width: var(--radix-popper-anchor-width);
193
+ }
194
+
129
195
  .univer-w-fit {
130
196
  width: fit-content;
131
197
  }
@@ -154,6 +220,14 @@
154
220
  min-width: 8rem;
155
221
  }
156
222
 
223
+ .univer-min-w-36 {
224
+ min-width: 9rem;
225
+ }
226
+
227
+ .univer-max-w-32 {
228
+ max-width: 8rem;
229
+ }
230
+
157
231
  .univer-max-w-\[760px\] {
158
232
  max-width: 760px;
159
233
  }
@@ -170,16 +244,40 @@
170
244
  border-collapse: collapse;
171
245
  }
172
246
 
247
+ .-univer-rotate-90 {
248
+ --univer-tw-rotate: -90deg;
249
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(-90deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
250
+ 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));
251
+ }
252
+
253
+ .univer-rotate-0 {
254
+ --univer-tw-rotate: 0deg;
255
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(0deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
256
+ 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));
257
+ }
258
+
173
259
  .univer-rotate-180 {
174
260
  --univer-tw-rotate: 180deg;
175
261
  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));
176
262
  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));
177
263
  }
178
264
 
265
+ .univer-cursor-not-allowed {
266
+ cursor: not-allowed;
267
+ }
268
+
179
269
  .univer-cursor-pointer {
180
270
  cursor: pointer;
181
271
  }
182
272
 
273
+ .univer-grid-cols-3 {
274
+ grid-template-columns: repeat(3, minmax(0, 1fr));
275
+ }
276
+
277
+ .univer-grid-cols-4 {
278
+ grid-template-columns: repeat(4, minmax(0, 1fr));
279
+ }
280
+
183
281
  .univer-flex-row {
184
282
  flex-direction: row;
185
283
  }
@@ -188,14 +286,30 @@
188
286
  flex-direction: column;
189
287
  }
190
288
 
289
+ .univer-flex-wrap {
290
+ flex-wrap: wrap;
291
+ }
292
+
191
293
  .univer-items-start {
192
294
  align-items: flex-start;
193
295
  }
194
296
 
297
+ .univer-items-end {
298
+ align-items: flex-end;
299
+ }
300
+
195
301
  .univer-items-center {
196
302
  align-items: center;
197
303
  }
198
304
 
305
+ .univer-justify-end {
306
+ justify-content: flex-end;
307
+ }
308
+
309
+ .univer-justify-center {
310
+ justify-content: center;
311
+ }
312
+
199
313
  .univer-justify-between {
200
314
  justify-content: space-between;
201
315
  }
@@ -290,6 +404,10 @@
290
404
  border-color: var(--univer-primary-600);
291
405
  }
292
406
 
407
+ .univer-bg-gray-0 {
408
+ background-color: var(--univer-gray-0);
409
+ }
410
+
293
411
  .univer-bg-gray-100 {
294
412
  background-color: var(--univer-gray-100);
295
413
  }
@@ -306,8 +424,9 @@
306
424
  background-color: #0000;
307
425
  }
308
426
 
309
- .univer-bg-white {
310
- background-color: var(--univer-white);
427
+ .univer-object-contain {
428
+ -o-object-fit: contain;
429
+ object-fit: contain;
311
430
  }
312
431
 
313
432
  .univer-p-0 {
@@ -322,10 +441,18 @@
322
441
  padding: .375rem;
323
442
  }
324
443
 
444
+ .univer-p-2 {
445
+ padding: .5rem;
446
+ }
447
+
325
448
  .univer-p-3 {
326
449
  padding: .75rem;
327
450
  }
328
451
 
452
+ .univer-p-4 {
453
+ padding: 1rem;
454
+ }
455
+
329
456
  .\!univer-px-1 {
330
457
  padding-left: .25rem !important;
331
458
  padding-right: .25rem !important;
@@ -341,11 +468,6 @@
341
468
  padding-right: .25rem;
342
469
  }
343
470
 
344
- .univer-px-1\.5 {
345
- padding-left: .375rem;
346
- padding-right: .375rem;
347
- }
348
-
349
471
  .univer-px-2 {
350
472
  padding-left: .5rem;
351
473
  padding-right: .5rem;
@@ -366,16 +488,16 @@
366
488
  padding-bottom: .125rem;
367
489
  }
368
490
 
369
- .univer-py-1 {
370
- padding-top: .25rem;
371
- padding-bottom: .25rem;
372
- }
373
-
374
491
  .univer-py-2 {
375
492
  padding-top: .5rem;
376
493
  padding-bottom: .5rem;
377
494
  }
378
495
 
496
+ .univer-py-3 {
497
+ padding-top: .75rem;
498
+ padding-bottom: .75rem;
499
+ }
500
+
379
501
  .univer-py-4 {
380
502
  padding-top: 1rem;
381
503
  padding-bottom: 1rem;
@@ -385,6 +507,10 @@
385
507
  padding-bottom: .75rem;
386
508
  }
387
509
 
510
+ .univer-text-left {
511
+ text-align: left;
512
+ }
513
+
388
514
  .univer-text-center {
389
515
  text-align: center;
390
516
  }
@@ -412,10 +538,6 @@
412
538
  font-weight: 600;
413
539
  }
414
540
 
415
- .univer-leading-4 {
416
- line-height: 1rem;
417
- }
418
-
419
541
  .univer-leading-5 {
420
542
  line-height: 1.25rem;
421
543
  }
@@ -436,6 +558,10 @@
436
558
  color: var(--univer-primary-600);
437
559
  }
438
560
 
561
+ .univer-text-red-500 {
562
+ color: var(--univer-red-500);
563
+ }
564
+
439
565
  .univer-shadow-md {
440
566
  --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
441
567
  --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
@@ -490,6 +616,10 @@
490
616
  border-color: var(--univer-primary-600);
491
617
  }
492
618
 
619
+ .hover\:univer-bg-gray-100:hover {
620
+ background-color: var(--univer-gray-100);
621
+ }
622
+
493
623
  .hover\:univer-text-gray-900:hover {
494
624
  color: var(--univer-gray-900);
495
625
  }
@@ -514,6 +644,20 @@
514
644
  --univer-tw-ring-color: var(--univer-primary-500);
515
645
  }
516
646
 
647
+ .active\:univer-bg-gray-200:active {
648
+ background-color: var(--univer-gray-200);
649
+ }
650
+
651
+ .disabled\:univer-opacity-50:disabled {
652
+ opacity: .5;
653
+ }
654
+
655
+ .rtl\:univer-rotate-90:where([dir="rtl"], [dir="rtl"] *) {
656
+ --univer-tw-rotate: 90deg;
657
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(90deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
658
+ 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));
659
+ }
660
+
517
661
  .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
518
662
  border-color: var(--univer-gray-600) !important;
519
663
  }
@@ -522,6 +666,10 @@
522
666
  border-color: var(--univer-gray-700) !important;
523
667
  }
524
668
 
669
+ .dark\:\!univer-border-b-gray-700:where(.univer-dark, .univer-dark *) {
670
+ border-bottom-color: var(--univer-gray-700) !important;
671
+ }
672
+
525
673
  .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
526
674
  background-color: var(--univer-gray-700) !important;
527
675
  }
@@ -534,6 +682,10 @@
534
682
  background-color: var(--univer-gray-900) !important;
535
683
  }
536
684
 
685
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
686
+ color: var(--univer-gray-0) !important;
687
+ }
688
+
537
689
  .dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
538
690
  color: var(--univer-gray-100) !important;
539
691
  }
@@ -546,18 +698,22 @@
546
698
  color: var(--univer-gray-400) !important;
547
699
  }
548
700
 
549
- .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
550
- color: var(--univer-white) !important;
551
- }
552
-
553
701
  .dark\:\!univer-ring-primary-900:where(.univer-dark, .univer-dark *) {
554
702
  --univer-tw-ring-color: var(--univer-primary-900) !important;
555
703
  }
556
704
 
557
- .dark\:hover\:\!univer-text-white:hover:where(.univer-dark, .univer-dark *) {
558
- color: var(--univer-white) !important;
705
+ .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
706
+ background-color: var(--univer-gray-700) !important;
707
+ }
708
+
709
+ .dark\:hover\:\!univer-text-gray-0:hover:where(.univer-dark, .univer-dark *) {
710
+ color: var(--univer-gray-0) !important;
559
711
  }
560
712
 
561
713
  .dark\:focus\:\!univer-bg-gray-800:focus:where(.univer-dark, .univer-dark *) {
562
714
  background-color: var(--univer-gray-800) !important;
563
715
  }
716
+
717
+ .dark\:active\:\!univer-bg-gray-600:active:where(.univer-dark, .univer-dark *) {
718
+ background-color: var(--univer-gray-600) !important;
719
+ }