@univerjs-pro/sheets-shape-ui 1.0.0-alpha.2 → 1.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +21 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/command-util.d.ts +9 -3
- package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
- package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
- package/lib/types/commands/operations/open-object-list-panel.operation.d.ts +5 -0
- package/lib/types/const.d.ts +2 -1
- package/lib/types/controllers/components.controller.d.ts +4 -2
- package/lib/types/controllers/shape-update.controller.d.ts +1 -0
- package/lib/types/controllers/sheet-shape-adjust.controller.d.ts +3 -6
- package/lib/types/controllers/sheet-shape-printing.controller.d.ts +12 -0
- package/lib/types/controllers/sheet-shape-render.controller.d.ts +8 -3
- package/lib/types/index.d.ts +1 -7
- package/lib/types/locale/en-US.d.ts +18 -0
- package/lib/types/services/shape-text-editing.service.d.ts +8 -0
- package/lib/types/utils/shape-text-document.d.ts +1 -11
- package/lib/types/view-model/drawing-shape.d.ts +6 -2
- package/lib/types/view-model/shape-data-model.d.ts +7 -5
- package/lib/types/views/ShapePicker.d.ts +4 -0
- package/lib/types/views/object-list-panel/SheetDrawingObjectListPanel.d.ts +1 -0
- package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -19
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4e6d8c=_0x5cb8;function _0x5cb8(_0xa55d1a,_0x54bc2d){_0xa55d1a=_0xa55d1a-0x1f0;const _0xbdaeb5=_0xbdae();let _0x5cb8f7=_0xbdaeb5[_0xa55d1a];return _0x5cb8f7;}function _0xbdae(){const _0x3995b9=['3711272vvvOev','311755YdfgZU','21842316byWYat','文字背景色','文字顏色','51601plEJbu','刪除形狀','重置顏色','物件名稱','左對齊','開啟圖層面板','22dDdhgH','刪除線','兩端對齊','靠右對齊','填滿色彩','4569230LfrxXr','右對齊','下移一層','1827942eGKpLy','選取物件以編輯詳細資料','逆時針\x2090\x20度旋轉','上移一層','插入形狀','圖形樣式','暫無物件','垂直置中','詳細資料','7cMcYEg','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','11DtFaUq','靠左對齊','順時針\x2090\x20度旋轉','新增描述','9cDmhMS','垂直對齊','隱藏形狀面板','放大字型','靠下對齊','靠上對齊','4XnjsFu','全部隱藏','打開形狀面板','切換水平翻轉','裁切為形狀','圖形位置','1712349TfVcxx','切換文本竖排','切換垂直翻轉'];_0xbdae=function(){return _0x3995b9;};return _0xbdae();}(function(_0x5a7e51,_0x3f319a){const _0x26e737=_0x5cb8,_0x51bb0e=_0x5a7e51();while(!![]){try{const _0x1da9e0=-parseInt(_0x26e737(0x214))/0x1*(parseInt(_0x26e737(0x21a))/0x2)+-parseInt(_0x26e737(0x20c))/0x3+-parseInt(_0x26e737(0x206))/0x4*(parseInt(_0x26e737(0x210))/0x5)+-parseInt(_0x26e737(0x1f1))/0x6*(parseInt(_0x26e737(0x1fa))/0x7)+parseInt(_0x26e737(0x20f))/0x8*(-parseInt(_0x26e737(0x200))/0x9)+-parseInt(_0x26e737(0x21f))/0xa*(-parseInt(_0x26e737(0x1fc))/0xb)+parseInt(_0x26e737(0x211))/0xc;if(_0x1da9e0===_0x3f319a)break;else _0x51bb0e['push'](_0x51bb0e['shift']());}catch(_0x57ccf1){_0x51bb0e['push'](_0x51bb0e['shift']());}}}(_0xbdae,0x4b25d));const e={'sheets-shape-ui':{'align':{'top':_0x4e6d8c(0x205),'middle':_0x4e6d8c(0x1f8),'bottom':_0x4e6d8c(0x204),'left':_0x4e6d8c(0x1fd),'center':'置中','right':_0x4e6d8c(0x21d)},'toolbar':{'verticalAlignMode':{'main':_0x4e6d8c(0x201)},'horizontalAlignMode':{'main':'水平對齊'},'fillColor':{'main':_0x4e6d8c(0x21e)},'fontSize':'字型大小','fontSizeIncrease':_0x4e6d8c(0x203),'fontSizeDecrease':'縮小字型','alignLeft':_0x4e6d8c(0x218),'alignCenter':'居中對齊','alignRight':_0x4e6d8c(0x220),'alignJustify':_0x4e6d8c(0x21c),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x4e6d8c(0x21b),'textColor':_0x4e6d8c(0x213),'textBackgroundColor':_0x4e6d8c(0x212),'resetColor':_0x4e6d8c(0x216)},'imagePanel':{'crop':{'shape':_0x4e6d8c(0x20a)}},'permission':{'editErr':_0x4e6d8c(0x1fb)},'title':'形狀','insertShape':_0x4e6d8c(0x1f5),'openPanel':_0x4e6d8c(0x208),'deleteShape':_0x4e6d8c(0x215),'hidePanel':_0x4e6d8c(0x202),'formatShape':'格式化形狀','shapeStyle':_0x4e6d8c(0x1f6),'shapePosition':_0x4e6d8c(0x20b),'toggleFlipH':_0x4e6d8c(0x209),'toggleFlipV':_0x4e6d8c(0x20e),'rotateRight90':_0x4e6d8c(0x1fe),'rotateLeft90':_0x4e6d8c(0x1f3),'toggleTextVertical':_0x4e6d8c(0x20d),'objectListPanel':{'title':'圖層','open':_0x4e6d8c(0x219),'empty':_0x4e6d8c(0x1f7),'showAll':'全部顯示','hideAll':_0x4e6d8c(0x207),'show':'顯示','hide':'隱藏','moveForward':_0x4e6d8c(0x1f4),'moveBackward':_0x4e6d8c(0x1f0),'close':'關閉','name':'名稱','nameInput':_0x4e6d8c(0x217),'description':'描述','descriptionPlaceholder':_0x4e6d8c(0x1ff),'details':_0x4e6d8c(0x1f9),'noSelection':_0x4e6d8c(0x1f2)}}};export{e as default};
|
package/lib/index.css
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
.univer-flex {
|
|
6
|
+
display: flex;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.univer-size-full {
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.univer-items-center {
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.univer-justify-center {
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
5
22
|
.univer-px-4 {
|
|
6
23
|
padding-left: 1rem;
|
|
7
24
|
padding-right: 1rem;
|
|
@@ -11,3 +28,7 @@
|
|
|
11
28
|
font-size: .875rem;
|
|
12
29
|
line-height: 1.25rem;
|
|
13
30
|
}
|
|
31
|
+
|
|
32
|
+
.univer-text-gray-500 {
|
|
33
|
+
color: var(--univer-gray-500);
|
|
34
|
+
}
|