@univerjs-pro/chart-ui 1.0.0-alpha.7 → 1.0.0-beta.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 (176) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +323 -6
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/ChartEditPanel.d.ts +49 -0
  63. package/lib/types/components/ChartInlineTableEditor.d.ts +5 -0
  64. package/lib/types/components/ChartSemanticDataFields.d.ts +28 -0
  65. package/lib/types/components/ChartTypeOptions.d.ts +148 -2
  66. package/lib/types/components/FontFormatBar.d.ts +19 -1
  67. package/lib/types/components/chart-inline-starter-data.d.ts +23 -0
  68. package/lib/types/components/use-chart-panel-input-focus.d.ts +4 -0
  69. package/lib/types/controllers/components.controller.d.ts +4 -2
  70. package/lib/types/editor/ChartEditorProvider.d.ts +11 -0
  71. package/lib/types/editor/atoms/common/ChartFontAtom.d.ts +28 -0
  72. package/lib/types/editor/atoms/common/ChartNumberFormatAtom.d.ts +9 -0
  73. package/lib/types/editor/atoms/common/chart-number-format.d.ts +28 -0
  74. package/lib/types/editor/components/ChartCheckboxField.d.ts +11 -0
  75. package/lib/types/editor/components/ChartColorField.d.ts +13 -0
  76. package/lib/types/editor/components/ChartField.d.ts +15 -0
  77. package/lib/types/editor/components/ChartFieldGroup.d.ts +9 -0
  78. package/lib/types/editor/components/ChartFieldGroupTitle.d.ts +6 -0
  79. package/lib/types/editor/components/ChartFieldRow.d.ts +5 -0
  80. package/lib/types/editor/components/ChartFontField.d.ts +28 -0
  81. package/lib/types/editor/components/ChartImageSelectField.d.ts +13 -0
  82. package/lib/types/editor/components/ChartListField.d.ts +18 -0
  83. package/lib/types/editor/components/ChartMultiSelectField.d.ts +25 -0
  84. package/lib/types/editor/components/ChartNumberField.d.ts +16 -0
  85. package/lib/types/editor/components/ChartSelectField.d.ts +25 -0
  86. package/lib/types/editor/components/ChartTextField.d.ts +14 -0
  87. package/lib/types/editor/hooks/use-chart-config-state.d.ts +3 -0
  88. package/lib/types/editor/hooks/use-chart-data-mapping-fields.d.ts +5 -0
  89. package/lib/types/editor/hooks/use-chart-editor-model.d.ts +3 -0
  90. package/lib/types/editor/hooks/use-chart-runtime-context.d.ts +13 -0
  91. package/lib/types/editor/routing/chart-edit-panel-route.d.ts +21 -0
  92. package/lib/types/editor/sections/ChartAxisSections.d.ts +63 -0
  93. package/lib/types/editor/sections/ChartIndicatorLineSection.d.ts +20 -0
  94. package/lib/types/editor/sections/ChartLegendSection.d.ts +27 -0
  95. package/lib/types/editor/sections/ChartLineAndAreaSection.d.ts +11 -0
  96. package/lib/types/editor/sections/ChartParetoSeriesSection.d.ts +26 -0
  97. package/lib/types/editor/sections/ChartSeriesSection.d.ts +60 -0
  98. package/lib/types/editor/sections/ChartSetupSections.d.ts +21 -0
  99. package/lib/types/editor/sections/ChartStyleSection.d.ts +15 -0
  100. package/lib/types/editor/sections/ChartTitleSections.d.ts +50 -0
  101. package/lib/types/editor/sections/ChartTrendlineSection.d.ts +18 -0
  102. package/lib/types/editor/sections/chart-capabilities.d.ts +10 -0
  103. package/lib/types/editor/sections/chart-style-options.d.ts +86 -0
  104. package/lib/types/editor/sections/specific-section/ChartCandlestickStyleSection.d.ts +1 -0
  105. package/lib/types/editor/sections/specific-section/ChartFunnelStyleSection.d.ts +10 -0
  106. package/lib/types/editor/sections/specific-section/ChartHeatmapStyleSection.d.ts +10 -0
  107. package/lib/types/editor/sections/specific-section/ChartHistogramStyleSection.d.ts +1 -0
  108. package/lib/types/editor/sections/specific-section/ChartPieStyleSection.d.ts +21 -0
  109. package/lib/types/editor/sections/specific-section/ChartRadarStyleSection.d.ts +9 -0
  110. package/lib/types/editor/sections/specific-section/ChartRelationStyleSection.d.ts +17 -0
  111. package/lib/types/editor/sections/specific-section/ChartTreemapStyleSection.d.ts +1 -0
  112. package/lib/types/editor/sections/specific-section/ChartTypeSpecificSections.d.ts +9 -0
  113. package/lib/types/editor/sections/specific-section/ChartWaterfallStyleSection.d.ts +26 -0
  114. package/lib/types/editor/sections/specific-section/ChartWordCloudStyleSection.d.ts +21 -0
  115. package/lib/types/editor/sections/specific-section/ChordDataMappingAtom.d.ts +1 -0
  116. package/lib/types/editor/sections/specific-section/ChordLabelAtom.d.ts +1 -0
  117. package/lib/types/editor/sections/specific-section/ChordLayoutAtom.d.ts +1 -0
  118. package/lib/types/editor/sections/specific-section/ChordRibbonAtom.d.ts +1 -0
  119. package/lib/types/editor/sections/specific-section/GaugeDataMappingAtom.d.ts +1 -0
  120. package/lib/types/editor/sections/specific-section/GaugeModeAtom.d.ts +1 -0
  121. package/lib/types/editor/sections/specific-section/GaugePointerAtom.d.ts +1 -0
  122. package/lib/types/editor/sections/specific-section/GaugeProgressAtom.d.ts +1 -0
  123. package/lib/types/editor/sections/specific-section/GaugeRangesAtom.d.ts +1 -0
  124. package/lib/types/editor/sections/specific-section/GaugeScaleAtom.d.ts +1 -0
  125. package/lib/types/editor/sections/specific-section/SunburstCenterLabelAtom.d.ts +1 -0
  126. package/lib/types/editor/sections/specific-section/SunburstDataMappingAtom.d.ts +1 -0
  127. package/lib/types/editor/sections/specific-section/SunburstLabelAtom.d.ts +1 -0
  128. package/lib/types/editor/sections/specific-section/chord-field-options.d.ts +2 -0
  129. package/lib/types/editor/sections/specific-section/chord-style.d.ts +16 -0
  130. package/lib/types/editor/sections/specific-section/gauge-style.d.ts +10 -0
  131. package/lib/types/editor/sections/specific-section/sunburst-label.d.ts +8 -0
  132. package/lib/types/editor/utils/chart-runtime-axis.d.ts +3 -0
  133. package/lib/types/float-menu/ChartElementFloatMenu.d.ts +2 -2
  134. package/lib/types/float-menu/chart-element-selection.d.ts +7 -0
  135. package/lib/types/float-menu/constants.d.ts +72 -77
  136. package/lib/types/float-menu/create-chart-element-float-menu-adapter.d.ts +10 -0
  137. package/lib/types/float-menu/pie-mark-patch.d.ts +8 -0
  138. package/lib/types/float-menu/types.d.ts +28 -9
  139. package/lib/types/index.d.ts +68 -3
  140. package/lib/types/locale/en-US.d.ts +481 -58
  141. package/lib/types/services/chart-host-adapter.d.ts +12 -0
  142. package/lib/types/services/chart-snapshot-queue.d.ts +58 -0
  143. package/lib/types/services/chart-ui.service.d.ts +19 -0
  144. package/lib/types/services/chart-view-state-projector.d.ts +15 -0
  145. package/lib/types/services/chart-view-state-registry.d.ts +11 -0
  146. package/lib/types/services/chart-view-state.d.ts +118 -0
  147. package/lib/types/services/inline-chart-creation.d.ts +42 -0
  148. package/lib/types/services/register-chart-config-states.d.ts +3 -0
  149. package/lib/types/services/register-chart-view-states/chart-specific.d.ts +4 -0
  150. package/lib/types/services/register-chart-view-states/semantic.d.ts +4 -0
  151. package/lib/umd/index.js +1 -1
  152. package/lib/umd/locale/ar-SA.js +1 -1
  153. package/lib/umd/locale/ca-ES.js +1 -1
  154. package/lib/umd/locale/de-DE.js +1 -1
  155. package/lib/umd/locale/en-US.js +1 -1
  156. package/lib/umd/locale/es-ES.js +1 -1
  157. package/lib/umd/locale/fa-IR.js +1 -1
  158. package/lib/umd/locale/fr-FR.js +1 -1
  159. package/lib/umd/locale/id-ID.js +1 -1
  160. package/lib/umd/locale/it-IT.js +1 -1
  161. package/lib/umd/locale/ja-JP.js +1 -1
  162. package/lib/umd/locale/ko-KR.js +1 -1
  163. package/lib/umd/locale/pl-PL.js +1 -1
  164. package/lib/umd/locale/pt-BR.js +1 -1
  165. package/lib/umd/locale/ru-RU.js +1 -1
  166. package/lib/umd/locale/sk-SK.js +1 -1
  167. package/lib/umd/locale/vi-VN.js +1 -1
  168. package/lib/umd/locale/zh-CN.js +1 -1
  169. package/lib/umd/locale/zh-HK.js +1 -1
  170. package/lib/umd/locale/zh-TW.js +1 -1
  171. package/package.json +11 -8
  172. package/lib/types/components/ChartEditPanelScaffold.d.ts +0 -16
  173. package/lib/types/components/ChartEditorFields.d.ts +0 -65
  174. package/lib/types/components/ChartPresentationFields.d.ts +0 -8
  175. package/lib/types/components/index.d.ts +0 -16
  176. package/lib/types/float-menu/index.d.ts +0 -5
@@ -1 +1 @@
1
- const _0x51e96d=_0x36fe;(function(_0x428aa7,_0x3b41fd){const _0x1b7356=_0x36fe,_0x2ec1d7=_0x428aa7();while(!![]){try{const _0x554ee9=-parseInt(_0x1b7356(0xcd))/0x1+parseInt(_0x1b7356(0xd2))/0x2*(parseInt(_0x1b7356(0xc6))/0x3)+-parseInt(_0x1b7356(0xc8))/0x4+parseInt(_0x1b7356(0xd0))/0x5+-parseInt(_0x1b7356(0xd4))/0x6*(-parseInt(_0x1b7356(0xd7))/0x7)+parseInt(_0x1b7356(0xd8))/0x8+-parseInt(_0x1b7356(0xc1))/0x9*(parseInt(_0x1b7356(0xc9))/0xa);if(_0x554ee9===_0x3b41fd)break;else _0x2ec1d7['push'](_0x2ec1d7['shift']());}catch(_0x457873){_0x2ec1d7['push'](_0x2ec1d7['shift']());}}}(_0x5ac4,0x9056f));function _0x5ac4(){const _0x5442c5=['2055292FATpFz','10pdytNu','標籤位置','新增列','新增欄','658747hsxfdQ','邊框顏色','標題文字','4956785bSWbyt','百分比','246UspCAF','資料標籤','378120jSvWPg','右縱軸','透明度','91hYfrEq','3035584prntnL','4238361YtuTXA','最小值','標籤文字','副標題','軸標題','1089jLFsrg','在此複製並貼上資料'];_0x5ac4=function(){return _0x5442c5;};return _0x5ac4();}function _0x36fe(_0x2a1b40,_0x4789e9){_0x2a1b40=_0x2a1b40-0xc1;const _0x5ac461=_0x5ac4();let _0x36fe06=_0x5ac461[_0x2a1b40];return _0x36fe06;}const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':'圖例換行'},'inlineTable':{'pasteHint':_0x51e96d(0xc7),'addRow':_0x51e96d(0xcb),'addColumn':_0x51e96d(0xcc)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':'圖表標題','subtitle':_0x51e96d(0xc4),'axisTitle':_0x51e96d(0xc5),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x51e96d(0xd5),'gridline':'網格線','tick':'刻度線','mark':'標記','series':'系列','dataPoint':'資料點','dataLabel':_0x51e96d(0xd3)},'field':{'title':'標題','subtitle':_0x51e96d(0xc4),'position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x51e96d(0xc2),'max':'最大值','color':'顏色','borderColor':_0x51e96d(0xce),'opacity':_0x51e96d(0xd6),'labelPosition':_0x51e96d(0xca),'labelText':_0x51e96d(0xc3),'titleText':_0x51e96d(0xcf)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':'左對齊','center':'置中','right':'右對齊'},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x51e96d(0xd1)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};export{e as default};
1
+ const _0x2a1500=_0x18a7;(function(_0x5a4bf3,_0x367967){const _0x49f29f=_0x18a7,_0x141046=_0x5a4bf3();while(!![]){try{const _0x46bf7b=parseInt(_0x49f29f(0x283))/0x1*(parseInt(_0x49f29f(0x29a))/0x2)+parseInt(_0x49f29f(0x223))/0x3*(-parseInt(_0x49f29f(0x255))/0x4)+parseInt(_0x49f29f(0x21c))/0x5*(parseInt(_0x49f29f(0x2a3))/0x6)+parseInt(_0x49f29f(0x1f5))/0x7+parseInt(_0x49f29f(0x242))/0x8+parseInt(_0x49f29f(0x1f2))/0x9*(-parseInt(_0x49f29f(0x2ab))/0xa)+parseInt(_0x49f29f(0x241))/0xb*(-parseInt(_0x49f29f(0x291))/0xc);if(_0x46bf7b===_0x367967)break;else _0x141046['push'](_0x141046['shift']());}catch(_0x47687a){_0x141046['push'](_0x141046['shift']());}}}(_0x1c0a,0xd0f1e));const e={'chart-ui':{'editor':{'defaultColor':_0x2a1500(0x2a0),'fontSize':'字體大小'},'setup':{'stack':'堆疊','percentStacked':_0x2a1500(0x1f6)},'chartTypes':{'line':_0x2a1500(0x27a),'column':'柱狀圖','columnStacked':_0x2a1500(0x25b),'columnPercentStacked':_0x2a1500(0x250),'bar':_0x2a1500(0x1ee),'barStacked':_0x2a1500(0x263),'barPercentStacked':_0x2a1500(0x25a),'pie':'餅圖','donut':_0x2a1500(0x279),'pieOfPie':_0x2a1500(0x293),'barOfPie':_0x2a1500(0x226),'area':_0x2a1500(0x22d),'areaStacked':_0x2a1500(0x205),'areaPercentStacked':_0x2a1500(0x265),'radar':'雷達圖','scatter':_0x2a1500(0x2b1),'combination':_0x2a1500(0x225),'wordCloud':'詞雲圖','funnel':_0x2a1500(0x1fc),'bubble':_0x2a1500(0x24b),'relation':'關係圖','waterfall':'瀑布圖','pareto':_0x2a1500(0x2bc),'sankey':_0x2a1500(0x210),'heatmap':_0x2a1500(0x2b0),'boxplot':'箱型圖','candlestick':'K\x20線圖','histogram':_0x2a1500(0x2b3),'treemap':'矩形樹圖','sunburst':'旭日圖','gauge':_0x2a1500(0x256),'chord':_0x2a1500(0x233)},'section':{'waterfall':'瀑布圖','paretoBar':_0x2a1500(0x2b9),'paretoLine':_0x2a1500(0x25d),'pie':'餅圖','wordCloud':'詞雲','radar':_0x2a1500(0x289),'funnel':_0x2a1500(0x1fc),'relation':'關係圖','lineAndArea':_0x2a1500(0x28e),'gridlinesAndTicks':_0x2a1500(0x280),'indicatorLine':_0x2a1500(0x1f4),'candlestick':_0x2a1500(0x1ef),'histogram':_0x2a1500(0x2b3),'treemap':_0x2a1500(0x1f8),'sunburst':'旭日圖','gauge':_0x2a1500(0x21f),'chord':'和弦圖'},'presentation':{'backgroundColor':'背景顏色','theme':'主題','gradientFill':'漸變填充','bodyFontSize':_0x2a1500(0x227),'bodyFontColor':_0x2a1500(0x211),'titleType':_0x2a1500(0x2ae),'horizontalAxisTitle':_0x2a1500(0x2bb),'verticalAxisTitle':_0x2a1500(0x2be),'rightVerticalAxisTitle':_0x2a1500(0x27f),'wrap':_0x2a1500(0x276),'selectMode':_0x2a1500(0x2af),'visualMapType':'視覺圖','align':'對準'},'numberFormat':{'source':_0x2a1500(0x29d),'number':'數量','scientific':'科學的','custom':'自訂格式','preview':'預覽','generalType':'常規','accountingType':'會計','thousandsType':_0x2a1500(0x216),'formatTypes':_0x2a1500(0x267),'generalDesc':_0x2a1500(0x245),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x2a1500(0x28d),'dateDesc':_0x2a1500(0x278),'thousandsDesc':_0x2a1500(0x22a),'decimalPlaces':_0x2a1500(0x271),'currencyTypes':_0x2a1500(0x231),'negativeNumberTypes':'負數類型','dateTypes':_0x2a1500(0x238),'setFormat':_0x2a1500(0x25e)},'series':{'rightAxis':'右軸','allSeries':_0x2a1500(0x20a),'aggregate':'彙總','borderOpacity':_0x2a1500(0x229),'solid':'固體','pointShape':'點狀','pointSize':_0x2a1500(0x27e),'pointColor':_0x2a1500(0x251),'removeDataPoint':_0x2a1500(0x228),'square':'廣場','rect':'矩形','roundRect':_0x2a1500(0x262),'pin':'針形','emptyCircle':'空心圓形','emptySquare':_0x2a1500(0x234),'emptyTriangle':_0x2a1500(0x22c),'emptyDiamond':_0x2a1500(0x1ff),'emptyRect':_0x2a1500(0x290),'emptyRoundRect':_0x2a1500(0x209),'emptyPin':_0x2a1500(0x26e),'emptyArrow':_0x2a1500(0x24d)},'lineAndArea':{'lineStyle':_0x2a1500(0x20c),'line':'線','smooth':'光滑','step':'步驟','invalidValues':_0x2a1500(0x236),'breakLine':'斷線','connect':_0x2a1500(0x20b),'zero':_0x2a1500(0x239)},'axis':{'useDateAxis':_0x2a1500(0x297),'target':'軸','lineColor':'線條顏色','lineWidth':'線寬','labelRotation':_0x2a1500(0x2a1),'reverse':_0x2a1500(0x203),'gridlineVisible':_0x2a1500(0x2b6),'gridlineColor':_0x2a1500(0x2ad),'gridlineWidth':_0x2a1500(0x29c),'tickVisible':'蜱蟲','tickLength':_0x2a1500(0x24f),'tickWidth':_0x2a1500(0x1eb),'tickColor':'刻度線顏色','tickPosition':_0x2a1500(0x26a)},'indicator':{'lineColor':_0x2a1500(0x29e),'lineType':'指示線類型','labelBackground':_0x2a1500(0x220),'labelText':'標籤文字顏色'},'trendline':{'add':'添加趨勢線','type':'類型','linear':'線性','exponential':'指數','logarithmic':'對數','polynomial':_0x2a1500(0x28f),'power':'電源','movingAverage':_0x2a1500(0x1f7),'showFormula':_0x2a1500(0x247),'showR2':_0x2a1500(0x2a4),'order':'訂單','period':'時期','formulaColor':_0x2a1500(0x26b),'r2Color':'R²顏色'},'pareto':{'includeZeroValues':_0x2a1500(0x2b2)},'plotArea':{'label':_0x2a1500(0x27b),'manual':'手動','left':'左側(%)','top':_0x2a1500(0x2a7),'width':'寬度(%)','height':'高度(%)'},'bar':{'layout':'柱形間距','gapWidth':'分類間距(%)','overlap':'系列重疊(%)'},'pie':{'mode':_0x2a1500(0x2a2),'modeNormal':'一般','modePieOfPie':_0x2a1500(0x293),'modeBarOfPie':_0x2a1500(0x226),'splitType':_0x2a1500(0x212),'splitAuto':'自動','splitPosition':'位置','splitCustom':'自訂','customSelectedCount':_0x2a1500(0x23d),'customSelectedCountValue':_0x2a1500(0x222),'positionCount':_0x2a1500(0x21b),'valueLessThan':_0x2a1500(0x296),'percentageLessThan':_0x2a1500(0x20f),'secondarySize':_0x2a1500(0x28a),'advancedLayout':'進階版面配置','connector':'連接線','slices':'扇區','gapWidth':_0x2a1500(0x213),'connectorColor':_0x2a1500(0x246),'connectorWidth':'連接線寬度','connectorType':_0x2a1500(0x249),'aggregateOther':'其他','aggregateMembers':'成員','valueScale':_0x2a1500(0x2a5),'doughnutHole':'甜甜圈洞','startAngle':_0x2a1500(0x1f9),'explosion':_0x2a1500(0x23a),'paddingAngle':_0x2a1500(0x208),'halfPie':'半個餡餅','rosePie':_0x2a1500(0x2c1),'labelLine':_0x2a1500(0x26f)},'radar':{'shape':'雷達形狀','polygon':_0x2a1500(0x282),'fill':_0x2a1500(0x292)},'funnel':{'gap':_0x2a1500(0x281),'absoluteValues':'使用絕對值'},'heatmap':{'unit':'價值單位','labels':_0x2a1500(0x287)},'relation':{'nodes':'節點','interaction':'互動','edgeLength':'邊長','circular':'圓形','force':'力','nodeShape':'節點形狀','valueSize':_0x2a1500(0x23b),'rotateLabels':_0x2a1500(0x23e),'gravity':'重力','repulsion':'斥力'},'wordCloud':{'maskImage':_0x2a1500(0x277),'repeat':_0x2a1500(0x20d),'cloud':'雲','rect':_0x2a1500(0x266),'cardioid':'心形','heart':'心','triangle-forward':_0x2a1500(0x244),'pentagon':'五角大廈','star':'明星'},'waterfall':{'styleTarget':_0x2a1500(0x285),'positive':'正值','negative':'負值','stackType':'安排','arrangement':'瀑布','subtotal':'小計','includeSubtotal':_0x2a1500(0x259),'connector':_0x2a1500(0x23c)},'candlestick':{'candle':'蠟燭','body':'燭身','wick':'影線','state':_0x2a1500(0x224),'open':_0x2a1500(0x2b7),'high':_0x2a1500(0x232),'low':'最低價','close':_0x2a1500(0x2ba),'rising':'上漲','falling':'下跌','doji':_0x2a1500(0x219),'bodyColor':'燭身顏色','fillOpacity':'填滿不透明度','wickColor':'影線顏色','wickWidth':'影線寬度','wickOpacity':'影線不透明度','candleWidth':_0x2a1500(0x272),'hollow':_0x2a1500(0x2ac),'columnsError':_0x2a1500(0x1fd),'series':'OHLC\x20數列'},'histogram':{'binGap':'組距','binningMode':_0x2a1500(0x26d),'count':'計數','width':'寬度','binCount':'組數','binWidth':'組距寬度','underflow':_0x2a1500(0x274),'overflow':'溢出閾值','frequency':'頻數'},'treemap':{'parentLabelLayout':_0x2a1500(0x2bf),'banner':'橫幅','overlapping':'重疊','leafLabel':_0x2a1500(0x253),'hierarchy':_0x2a1500(0x29b),'diagnostic':_0x2a1500(0x288)},'sunburst':{'hierarchy':'階層','addHierarchy':'新增階層','moveUp':_0x2a1500(0x1fe),'moveDown':'向下移動階層欄位','removeHierarchy':'刪除階層欄位','centerLabel':_0x2a1500(0x284),'labelFormat':_0x2a1500(0x22e),'diagnostic':_0x2a1500(0x260)},'gauge':{'scale':_0x2a1500(0x1ed),'majorDivisions':'主刻度數','minorDivisions':'每個主刻度的次刻度數','angles':'角度','endAngle':'結束角度','ranges':'範圍','rangeFrom':'起始值','rangeTo':_0x2a1500(0x1f1),'addRange':_0x2a1500(0x257),'removeRange':_0x2a1500(0x248),'axisTick':_0x2a1500(0x218),'splitLine':_0x2a1500(0x1ec),'pointer':'指針','anchor':'錨點','progress':'進度','detail':'詳情','pointerNeedle':_0x2a1500(0x22f),'pointerSlim':_0x2a1500(0x2bd),'template':'範本','modern':'現代','classic':'經典','minimal':'極簡','advanced':_0x2a1500(0x2a8),'customized':'自訂','axisLabelNumberFormat':_0x2a1500(0x298),'detailNumberFormat':_0x2a1500(0x235),'emptyDiagnostic':_0x2a1500(0x20e),'mappingDiagnostic':_0x2a1500(0x214),'configDiagnostic':_0x2a1500(0x26c)},'chord':{'source':'來源','target':'目標','count':_0x2a1500(0x217),'node':'節點','ribbon':_0x2a1500(0x27c),'clockwise':'順時針','padAngle':_0x2a1500(0x201),'minAngle':_0x2a1500(0x275),'innerRadius':_0x2a1500(0x24a),'outerRadius':_0x2a1500(0x24e),'invalidRadii':_0x2a1500(0x1f3),'rotation':'旋轉','distance':'距離','width':'寬度','focus':'焦點','solid':'純色','gradient':'漸變','adjacency':_0x2a1500(0x25f),'self':_0x2a1500(0x27d),'emptyDiagnostic':_0x2a1500(0x204),'mappingDiagnostic':_0x2a1500(0x21a),'configDiagnostic':_0x2a1500(0x258),'associatedValue':_0x2a1500(0x2b5)},'common':{'category':'類別','seriesName':_0x2a1500(0x1fa),'value':'數值','percentage':'百分比','borderColor':_0x2a1500(0x261),'labelContent':'標籤內容','labelPosition':_0x2a1500(0x254),'dataLabels':_0x2a1500(0x2b8),'chartType':'圖表類型','bold':'粗體','italic':'斜體','shape':'形狀','chartStyle':_0x2a1500(0x273),'chartAndAxisTitles':_0x2a1500(0x252),'legend':'圖例','chartTitle':_0x2a1500(0x21d),'subtitle':_0x2a1500(0x1f0),'series':'系列','dataPoint':_0x2a1500(0x207),'trendline':_0x2a1500(0x295),'horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':'右縱軸','layout':_0x2a1500(0x24c),'arrow':'箭頭','axisLabels':_0x2a1500(0x270),'currency':'貨幣','date':'日期','displayName':_0x2a1500(0x22b),'emphasis':'強調','heatmap':'熱力圖','lineColor':_0x2a1500(0x264),'lineWidth':'線寬','min':'最小值','max':'最大值','mode':'模式','stacked':'堆疊','title':'標題','auto':'自動','position':{'label':'位置','inside':'內側','outside':'外側','top':'頂部','right':'右側','bottom':'底部','left':'左側','hide':'隱藏'},'axisAlign':{'start':'開始','center':'置中','end':'結束'},'textAlign':{'left':_0x2a1500(0x215),'center':'置中','right':_0x2a1500(0x23f)},'legendSelectMode':{'single':'單選','multiple':'多選','disabled':'停用'},'visualMapType':{'continuous':'連續','piecewise':'分段'},'default':'預設','reset':'重置','color':'顏色','opacity':'透明度','font':'字體','none':'無','numberFormat':_0x2a1500(0x28b),'borderWidth':_0x2a1500(0x240),'borderType':_0x2a1500(0x200),'lineType':'線型','dashed':'虛線','dotted':'點狀','circle':'圓','triangle':_0x2a1500(0x2a6),'diamond':'鑽石','axisLine':'軸線','minimum':'最低','maximum':'最大','startAngle':_0x2a1500(0x1f9),'valueField':_0x2a1500(0x206),'categoryName':_0x2a1500(0x243),'ownValue':_0x2a1500(0x294),'children':'子項','label':'標籤','editChart':_0x2a1500(0x1fb),'deleteChart':_0x2a1500(0x202),'insertChart':_0x2a1500(0x269),'insertChartFailed':_0x2a1500(0x2a9),'openChartPanel':_0x2a1500(0x25c),'hideChartPanel':_0x2a1500(0x221),'exportImage':'匯出圖片','copy':'複製','setup':'設定圖表','customize':_0x2a1500(0x237),'data':'資料','tableDataEmpty':_0x2a1500(0x2aa),'dataRange':_0x2a1500(0x2c0),'editData':_0x2a1500(0x299),'inlineData':'內嵌資料','switchRowColumn':_0x2a1500(0x286),'useAsCategoryLabels':_0x2a1500(0x21e),'cancel':'取消','insert':'插入','apply':'套用','duplicate':'複製'},'inlineTable':{'pasteHint':_0x2a1500(0x2b4),'addRow':_0x2a1500(0x29f),'addColumn':_0x2a1500(0x230)},'floatMenu':{'menuTitle':{'chart':'圖表','axisTitle':_0x2a1500(0x28c),'gridline':'網格線','tick':'刻度線','mark':'標記','dataLabel':_0x2a1500(0x2b8)},'field':{'position':'位置','size':'字號','align':'對齊','map':'映射','rotate':'旋轉','labelText':'標籤文字','titleText':_0x2a1500(0x268)},'action':{'more':'更多'},'control':{'labels':'標籤','line':'軸線','reverse':'反向'}}}};export{e as default};function _0x18a7(_0x323ac2,_0x5c8c61){_0x323ac2=_0x323ac2-0x1eb;const _0x1c0a66=_0x1c0a();let _0x18a77e=_0x1c0a66[_0x323ac2];return _0x18a77e;}function _0x1c0a(){const _0x122dab=['右縱軸標題','網格線和刻度線','專案差距','多邊形','2433vPSwOM','中心總計','樣式目標','切換列或欄','細胞標籤','矩形樹圖至少需要一個階層欄位和一個數值欄位。','雷達圖','次要圖表大小','數字格式','軸標題','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','折線圖\x20/\x20面積圖','多項式','空心矩形','12CsJoUc','區域填充','子母餅圖','自身值','趨勢線','數值小於','將標籤視為日期','軸標籤數字格式','編輯資料','186beLIgP','階層欄位','網格線寬度','來源格式','指示線顏色','新增行','預設顏色','標籤旋轉','圖表形態','654lcYaeU','顯示\x20R²','數值縮放','三角形','頂部(%)','進階設定','插入圖表失敗','表格資料為空','68350cyyvEu','空心\x20K\x20線','網格線顏色','標題類型','選擇方式','熱力圖','散點圖','包括零值','直方圖','貼上表格、Excel\x20或網頁中的表格以取代內嵌資料。','關聯值','網格線','開盤價','資料標籤','長條圖系列','收盤價','橫軸標題','排列圖','纖細指針','縱軸標題','父標籤佈局','資料範圍','玫瑰派','刻度寬度','分隔線','刻度範圍','條形圖','燭台圖','副標題','結束值','756SFVOqk','內半徑必須小於外半徑。','指示線','10089023skwGBY','百分比堆疊','移動平均線','樹狀圖','起始角度','系列名稱','編輯圖表','漏斗圖','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','向上移動階層欄位','空心菱形','邊框類型','間隔角度','刪除圖表','反轉軸','弦圖至少需要兩個不同節點之間的一條正權重關係。','堆疊面積圖','數值欄位','資料點','切片間距','空心圓角矩形','全系列','連接數據點','線條樣式','重複單字','儀表圖至少需要一個有限數值。','百分比小於','桑基圖','正文字體顏色','分割依據','主要與次要圖表間距','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','左對齊','千分位符','關係數','刻度線','十字線','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','次要圖表資料點數','64035QMUCxc','圖表標題','使用\x20{0}\x20作為類別','儀表圖','標籤背景','隱藏圖表面板','已選取\x20{0}\x20個資料點','3065469rEKGIF','K\x20線狀態','組合圖','複合餅圖','正文字體大小','刪除資料點','邊框透明度','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','顯示名稱','空心三角形','面積圖','標籤樣式','經典指針','新增欄目','貨幣類型','最高價','和弦圖','空心正方形','中心數值格式','無效值','自訂圖表','日期類型','視為零','扇區分離(%)','按值調整節點大小','連接線','自訂分割','旋轉標籤','右對齊','邊框寬度','8125249jznSLO','1015512snPxdh','類別名稱','前三角','常規格式不包含任何特定的數字格式。','連接線顏色','顯示公式','刪除範圍','連接線類型','內半徑','氣泡圖','版面配置','空心箭頭','外半徑','刻度長度','百分比堆疊\x20·\x20柱狀圖','資料點顏色','圖表與座標軸標題','葉子標籤','標籤位置','4SrbvPL','儀表板','添加範圍','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','使用小計','百分比堆疊條形圖','堆疊\x20·\x20柱狀圖','開啟圖表面板','累積占比系列','設定標籤格式','相鄰節點','旭日圖至少需要一個階層欄位和一個數值欄位。','邊框顏色','圓角矩形','堆疊條形圖','線條顏色','百分比堆疊面積圖','長方形','格式類型','標題文字','插入圖表','刻度位置','配方顏色','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','分檔模式','空心針形','標籤線','軸標籤','小數位數','燭身寬度','圖表樣式','下溢閾值','最小角度','包裹圖例','掩模圖像ID','日期格式將日期和時間系列數值顯示為日期值。','環形圖','折線圖','繪圖區','連接帶','目前節點','點大小'];_0x1c0a=function(){return _0x122dab;};return _0x1c0a();}
package/lib/index.css CHANGED
@@ -1,3 +1,39 @@
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-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-bottom-0\.5 {
26
+ bottom: .125rem;
27
+ }
28
+
29
+ .univer-left-0\.5 {
30
+ left: .125rem;
31
+ }
32
+
33
+ .univer-m-0 {
34
+ margin: 0;
35
+ }
36
+
1
37
  .univer-mx-auto {
2
38
  margin-left: auto;
3
39
  margin-right: auto;
@@ -15,6 +51,10 @@
15
51
  margin-right: 1.25rem;
16
52
  }
17
53
 
54
+ .univer-mt-1 {
55
+ margin-top: .25rem;
56
+ }
57
+
18
58
  .univer-mt-2 {
19
59
  margin-top: .5rem;
20
60
  }
@@ -31,6 +71,10 @@
31
71
  display: block;
32
72
  }
33
73
 
74
+ .univer-inline-block {
75
+ display: inline-block;
76
+ }
77
+
34
78
  .univer-flex {
35
79
  display: flex;
36
80
  }
@@ -39,11 +83,45 @@
39
83
  display: inline-flex;
40
84
  }
41
85
 
86
+ .univer-grid {
87
+ display: grid;
88
+ }
89
+
90
+ .\!univer-size-6 {
91
+ width: 1.5rem !important;
92
+ height: 1.5rem !important;
93
+ }
94
+
95
+ .univer-size-0 {
96
+ width: 0;
97
+ height: 0;
98
+ }
99
+
100
+ .univer-size-2\.5 {
101
+ width: .625rem;
102
+ height: .625rem;
103
+ }
104
+
105
+ .univer-size-3 {
106
+ width: .75rem;
107
+ height: .75rem;
108
+ }
109
+
110
+ .univer-size-4 {
111
+ width: 1rem;
112
+ height: 1rem;
113
+ }
114
+
42
115
  .univer-size-5 {
43
116
  width: 1.25rem;
44
117
  height: 1.25rem;
45
118
  }
46
119
 
120
+ .univer-size-8 {
121
+ width: 2rem;
122
+ height: 2rem;
123
+ }
124
+
47
125
  .\!univer-h-7 {
48
126
  height: 1.75rem !important;
49
127
  }
@@ -56,14 +134,26 @@
56
134
  height: .25rem;
57
135
  }
58
136
 
137
+ .univer-h-14 {
138
+ height: 3.5rem;
139
+ }
140
+
59
141
  .univer-h-4 {
60
142
  height: 1rem;
61
143
  }
62
144
 
145
+ .univer-h-6 {
146
+ height: 1.5rem;
147
+ }
148
+
63
149
  .univer-h-7 {
64
150
  height: 1.75rem;
65
151
  }
66
152
 
153
+ .univer-h-8 {
154
+ height: 2rem;
155
+ }
156
+
67
157
  .univer-h-9 {
68
158
  height: 2.25rem;
69
159
  }
@@ -76,10 +166,22 @@
76
166
  height: fit-content;
77
167
  }
78
168
 
169
+ .univer-max-h-48 {
170
+ max-height: 12rem;
171
+ }
172
+
79
173
  .univer-max-h-72 {
80
174
  max-height: 18rem;
81
175
  }
82
176
 
177
+ .univer-max-h-80 {
178
+ max-height: 20rem;
179
+ }
180
+
181
+ .univer-min-h-0 {
182
+ min-height: 0;
183
+ }
184
+
83
185
  .univer-min-h-8 {
84
186
  min-height: 2rem;
85
187
  }
@@ -108,10 +210,22 @@
108
210
  width: 13rem;
109
211
  }
110
212
 
213
+ .univer-w-7 {
214
+ width: 1.75rem;
215
+ }
216
+
217
+ .univer-w-72 {
218
+ width: 18rem;
219
+ }
220
+
111
221
  .univer-w-8 {
112
222
  width: 2rem;
113
223
  }
114
224
 
225
+ .univer-w-\[--radix-popper-anchor-width\] {
226
+ width: var(--radix-popper-anchor-width);
227
+ }
228
+
115
229
  .univer-w-fit {
116
230
  width: fit-content;
117
231
  }
@@ -132,10 +246,22 @@
132
246
  min-width: 0;
133
247
  }
134
248
 
249
+ .univer-min-w-20 {
250
+ min-width: 5rem;
251
+ }
252
+
135
253
  .univer-min-w-32 {
136
254
  min-width: 8rem;
137
255
  }
138
256
 
257
+ .univer-min-w-36 {
258
+ min-width: 9rem;
259
+ }
260
+
261
+ .univer-max-w-32 {
262
+ max-width: 8rem;
263
+ }
264
+
139
265
  .univer-max-w-\[760px\] {
140
266
  max-width: 760px;
141
267
  }
@@ -152,20 +278,46 @@
152
278
  border-collapse: collapse;
153
279
  }
154
280
 
281
+ .univer-translate-x-3 {
282
+ --univer-tw-translate-x: .75rem;
283
+ transform: translate(.75rem, 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));
284
+ 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));
285
+ }
286
+
287
+ .-univer-rotate-90 {
288
+ --univer-tw-rotate: -90deg;
289
+ 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));
290
+ 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));
291
+ }
292
+
293
+ .univer-rotate-0 {
294
+ --univer-tw-rotate: 0deg;
295
+ 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));
296
+ 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));
297
+ }
298
+
155
299
  .univer-rotate-180 {
156
300
  --univer-tw-rotate: 180deg;
157
301
  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));
158
302
  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));
159
303
  }
160
304
 
161
- .univer-cursor-default {
162
- cursor: default;
305
+ .univer-cursor-not-allowed {
306
+ cursor: not-allowed;
163
307
  }
164
308
 
165
309
  .univer-cursor-pointer {
166
310
  cursor: pointer;
167
311
  }
168
312
 
313
+ .univer-grid-cols-3 {
314
+ grid-template-columns: repeat(3, minmax(0, 1fr));
315
+ }
316
+
317
+ .univer-grid-cols-4 {
318
+ grid-template-columns: repeat(4, minmax(0, 1fr));
319
+ }
320
+
169
321
  .univer-flex-row {
170
322
  flex-direction: row;
171
323
  }
@@ -174,14 +326,30 @@
174
326
  flex-direction: column;
175
327
  }
176
328
 
329
+ .univer-flex-wrap {
330
+ flex-wrap: wrap;
331
+ }
332
+
177
333
  .univer-items-start {
178
334
  align-items: flex-start;
179
335
  }
180
336
 
337
+ .univer-items-end {
338
+ align-items: flex-end;
339
+ }
340
+
181
341
  .univer-items-center {
182
342
  align-items: center;
183
343
  }
184
344
 
345
+ .univer-justify-end {
346
+ justify-content: flex-end;
347
+ }
348
+
349
+ .univer-justify-center {
350
+ justify-content: center;
351
+ }
352
+
185
353
  .univer-justify-between {
186
354
  justify-content: space-between;
187
355
  }
@@ -202,6 +370,10 @@
202
370
  gap: .75rem;
203
371
  }
204
372
 
373
+ .univer-self-start {
374
+ align-self: flex-start;
375
+ }
376
+
205
377
  .univer-overflow-auto {
206
378
  overflow: auto;
207
379
  }
@@ -210,6 +382,14 @@
210
382
  overflow: hidden;
211
383
  }
212
384
 
385
+ .univer-overflow-y-auto {
386
+ overflow-y: auto;
387
+ }
388
+
389
+ .univer-overscroll-contain {
390
+ overscroll-behavior: contain;
391
+ }
392
+
213
393
  .univer-truncate {
214
394
  text-overflow: ellipsis;
215
395
  white-space: nowrap;
@@ -220,6 +400,14 @@
220
400
  white-space: nowrap;
221
401
  }
222
402
 
403
+ .univer-rounded-2xl {
404
+ border-radius: 1rem;
405
+ }
406
+
407
+ .univer-rounded-full {
408
+ border-radius: 9999px;
409
+ }
410
+
223
411
  .univer-rounded-lg {
224
412
  border-radius: .5rem;
225
413
  }
@@ -236,6 +424,10 @@
236
424
  border-width: 1px;
237
425
  }
238
426
 
427
+ .univer-border-0 {
428
+ border-width: 0;
429
+ }
430
+
239
431
  .univer-border-b {
240
432
  border-bottom-width: 1px;
241
433
  }
@@ -260,6 +452,14 @@
260
452
  border-color: var(--univer-primary-600);
261
453
  }
262
454
 
455
+ .univer-bg-gray-100 {
456
+ background-color: var(--univer-gray-100);
457
+ }
458
+
459
+ .univer-bg-gray-200 {
460
+ background-color: var(--univer-gray-200);
461
+ }
462
+
263
463
  .univer-bg-gray-50 {
264
464
  background-color: var(--univer-gray-50);
265
465
  }
@@ -276,18 +476,35 @@
276
476
  background-color: var(--univer-white);
277
477
  }
278
478
 
479
+ .univer-object-contain {
480
+ -o-object-fit: contain;
481
+ object-fit: contain;
482
+ }
483
+
279
484
  .univer-p-0 {
280
485
  padding: 0;
281
486
  }
282
487
 
488
+ .univer-p-1 {
489
+ padding: .25rem;
490
+ }
491
+
283
492
  .univer-p-1\.5 {
284
493
  padding: .375rem;
285
494
  }
286
495
 
496
+ .univer-p-2 {
497
+ padding: .5rem;
498
+ }
499
+
287
500
  .univer-p-3 {
288
501
  padding: .75rem;
289
502
  }
290
503
 
504
+ .univer-p-4 {
505
+ padding: 1rem;
506
+ }
507
+
291
508
  .\!univer-px-1 {
292
509
  padding-left: .25rem !important;
293
510
  padding-right: .25rem !important;
@@ -313,11 +530,21 @@
313
530
  padding-right: .5rem;
314
531
  }
315
532
 
533
+ .univer-px-2\.5 {
534
+ padding-left: .625rem;
535
+ padding-right: .625rem;
536
+ }
537
+
316
538
  .univer-px-3 {
317
539
  padding-left: .75rem;
318
540
  padding-right: .75rem;
319
541
  }
320
542
 
543
+ .univer-px-4 {
544
+ padding-left: 1rem;
545
+ padding-right: 1rem;
546
+ }
547
+
321
548
  .univer-py-0\.5 {
322
549
  padding-top: .125rem;
323
550
  padding-bottom: .125rem;
@@ -333,6 +560,11 @@
333
560
  padding-bottom: .5rem;
334
561
  }
335
562
 
563
+ .univer-py-3 {
564
+ padding-top: .75rem;
565
+ padding-bottom: .75rem;
566
+ }
567
+
336
568
  .univer-py-4 {
337
569
  padding-top: 1rem;
338
570
  padding-bottom: 1rem;
@@ -342,6 +574,10 @@
342
574
  padding-bottom: .75rem;
343
575
  }
344
576
 
577
+ .univer-text-left {
578
+ text-align: left;
579
+ }
580
+
345
581
  .univer-text-center {
346
582
  text-align: center;
347
583
  }
@@ -369,10 +605,6 @@
369
605
  font-weight: 600;
370
606
  }
371
607
 
372
- .univer-leading-4 {
373
- line-height: 1rem;
374
- }
375
-
376
608
  .univer-leading-5 {
377
609
  line-height: 1.25rem;
378
610
  }
@@ -393,6 +625,14 @@
393
625
  color: var(--univer-primary-600);
394
626
  }
395
627
 
628
+ .univer-text-red-500 {
629
+ color: var(--univer-red-500);
630
+ }
631
+
632
+ .univer-opacity-0 {
633
+ opacity: 0;
634
+ }
635
+
396
636
  .univer-shadow-md {
397
637
  --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
398
638
  --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
@@ -400,6 +640,13 @@
400
640
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
401
641
  }
402
642
 
643
+ .univer-shadow-sm {
644
+ --univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
645
+ --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
646
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #1e284d14;
647
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
648
+ }
649
+
403
650
  .univer-outline-none {
404
651
  outline-offset: 2px;
405
652
  outline: 2px solid #0000;
@@ -420,28 +667,86 @@
420
667
  --univer-tw-ring-color: var(--univer-primary-50);
421
668
  }
422
669
 
670
+ .univer-transition-colors {
671
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
672
+ transition-duration: .15s;
673
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
674
+ }
675
+
423
676
  .univer-transition-transform {
424
677
  transition-property: transform;
425
678
  transition-duration: .15s;
426
679
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
427
680
  }
428
681
 
682
+ .univer-duration-200 {
683
+ transition-duration: .2s;
684
+ }
685
+
429
686
  .univer-duration-300 {
430
687
  transition-duration: .3s;
431
688
  }
432
689
 
690
+ .aria-expanded\:univer-bg-gray-100[aria-expanded="true"] {
691
+ background-color: var(--univer-gray-100);
692
+ }
693
+
433
694
  .hover\:univer-border-primary-600:hover {
434
695
  border-color: var(--univer-primary-600);
435
696
  }
436
697
 
698
+ .hover\:univer-bg-gray-100:hover {
699
+ background-color: var(--univer-gray-100);
700
+ }
701
+
702
+ .hover\:univer-text-gray-900:hover {
703
+ color: var(--univer-gray-900);
704
+ }
705
+
437
706
  .focus\:univer-bg-primary-50:focus {
438
707
  background-color: var(--univer-primary-50);
439
708
  }
440
709
 
710
+ .focus-visible\:univer-outline-none:focus-visible {
711
+ outline-offset: 2px;
712
+ outline: 2px solid #0000;
713
+ }
714
+
715
+ .focus-visible\:univer-ring-2:focus-visible {
716
+ --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);
717
+ --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);
718
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
719
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
720
+ }
721
+
722
+ .focus-visible\:univer-ring-primary-500:focus-visible {
723
+ --univer-tw-ring-color: var(--univer-primary-500);
724
+ }
725
+
726
+ .active\:univer-bg-gray-200:active {
727
+ background-color: var(--univer-gray-200);
728
+ }
729
+
730
+ .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
731
+ border-color: var(--univer-gray-600) !important;
732
+ }
733
+
441
734
  .dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
442
735
  border-color: var(--univer-gray-700) !important;
443
736
  }
444
737
 
738
+ .dark\:\!univer-bg-gray-600:where(.univer-dark, .univer-dark *) {
739
+ background-color: var(--univer-gray-600) !important;
740
+ }
741
+
742
+ .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
743
+ background-color: var(--univer-gray-700) !important;
744
+ }
745
+
746
+ .dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
747
+ background-color: var(--univer-gray-800) !important;
748
+ }
749
+
445
750
  .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
446
751
  background-color: var(--univer-gray-900) !important;
447
752
  }
@@ -466,6 +771,18 @@
466
771
  --univer-tw-ring-color: var(--univer-primary-900) !important;
467
772
  }
468
773
 
774
+ .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
775
+ background-color: var(--univer-gray-700) !important;
776
+ }
777
+
778
+ .dark\:hover\:\!univer-text-white:hover:where(.univer-dark, .univer-dark *) {
779
+ color: var(--univer-white) !important;
780
+ }
781
+
469
782
  .dark\:focus\:\!univer-bg-gray-800:focus:where(.univer-dark, .univer-dark *) {
470
783
  background-color: var(--univer-gray-800) !important;
471
784
  }
785
+
786
+ .dark\:active\:\!univer-bg-gray-600:active:where(.univer-dark, .univer-dark *) {
787
+ background-color: var(--univer-gray-600) !important;
788
+ }