@univerjs-pro/sheets-shape-ui 1.0.0-alpha.3 → 1.0.0-alpha.4
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/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.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 +2 -19
- package/lib/types/const.d.ts +1 -0
- package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +1 -2
- package/lib/types/controllers/sheet-shape-render.controller.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +0 -33
- package/lib/types/{commands/menu → menu}/object-list.menu.d.ts +1 -1
- package/lib/types/views/ShapePicker.d.ts +0 -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 +19 -19
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +0 -5
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +0 -7
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +0 -5
- package/lib/types/commands/command/shape-doc-align.command.d.ts +0 -10
- package/lib/types/commands/menu/menu-dependencies.d.ts +0 -2
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -19
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -6
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -10
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -10
- package/lib/types/view-model/shape-data-model.d.ts +0 -8
- package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
- /package/lib/types/commands/operations/{actvie-drawing-operation.d.ts → active-drawing-operation.d.ts} +0 -0
package/lib/umd/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x20fe(){var _0x377acc=['function','隱藏形狀面板','114031EPwYBE','amd','上移一層','切換文本竖排','格式化形狀','切換水平翻轉','全部顯示','全部隱藏','順時針\x2090\x20度旋轉','刪除形狀','6918DLyrUF','選擇物件以編輯詳情','4565fuPCOx','物件名稱','exports','11390810vQcNPS','圖形樣式','9777576QglIjl','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','object','2807622JtTtyH','暫無物件','下移一層','裁切為形狀','3ewLkUZ','逆時針\x2090\x20度旋轉','5346880hFNQIo','切換垂直翻轉','圖形位置','打開形狀面板','開啟圖層面板','49876tkyCgi','4vXqtIR'];_0x20fe=function(){return _0x377acc;};return _0x20fe();}function _0x439f(_0x3bc54e,_0xabc65e){_0x3bc54e=_0x3bc54e-0x11f;var _0x20fe24=_0x20fe();var _0x439f8e=_0x20fe24[_0x3bc54e];return _0x439f8e;}(function(_0xa5421d,_0x439b38){var _0x538d54=_0x439f,_0x3c2749=_0xa5421d();while(!![]){try{var _0x4f3c1e=-parseInt(_0x538d54(0x13c))/0x1*(parseInt(_0x538d54(0x139))/0x2)+-parseInt(_0x538d54(0x131))/0x3*(-parseInt(_0x538d54(0x138))/0x4)+-parseInt(_0x538d54(0x125))/0x5*(parseInt(_0x538d54(0x123))/0x6)+-parseInt(_0x538d54(0x133))/0x7+parseInt(_0x538d54(0x12a))/0x8+parseInt(_0x538d54(0x12d))/0x9+parseInt(_0x538d54(0x128))/0xa;if(_0x4f3c1e===_0x439b38)break;else _0x3c2749['push'](_0x3c2749['shift']());}catch(_0x426d6e){_0x3c2749['push'](_0x3c2749['shift']());}}}(_0x20fe,0x9c85a),function(_0x56b2d3,_0x49caef){var _0x1efab0=_0x439f;typeof exports==_0x1efab0(0x12c)&&typeof module<'u'?module[_0x1efab0(0x127)]=_0x49caef():typeof define==_0x1efab0(0x13a)&&define[_0x1efab0(0x13d)]?define([],_0x49caef):(_0x56b2d3=typeof globalThis<'u'?globalThis:_0x56b2d3||self,_0x56b2d3['UniverProSheetsShapeUiZhHK']=_0x49caef());}(this,function(){var _0x41a58c=_0x439f;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':_0x41a58c(0x130)}},'permission':{'editErr':_0x41a58c(0x12b)},'title':'形狀','insertShape':'插入形狀','openPanel':_0x41a58c(0x136),'deleteShape':_0x41a58c(0x122),'hidePanel':_0x41a58c(0x13b),'formatShape':_0x41a58c(0x140),'shapeStyle':_0x41a58c(0x129),'shapePosition':_0x41a58c(0x135),'toggleFlipH':_0x41a58c(0x141),'toggleFlipV':_0x41a58c(0x134),'rotateRight90':_0x41a58c(0x121),'rotateLeft90':_0x41a58c(0x132),'toggleTextVertical':_0x41a58c(0x13f),'objectListPanel':{'title':'圖層','open':_0x41a58c(0x137),'empty':_0x41a58c(0x12e),'showAll':_0x41a58c(0x11f),'hideAll':_0x41a58c(0x120),'show':'顯示','hide':'隱藏','moveForward':_0x41a58c(0x13e),'moveBackward':_0x41a58c(0x12f),'close':'關閉','name':'名稱','nameInput':_0x41a58c(0x126),'description':'描述','descriptionPlaceholder':'新增描述','details':'詳情','noSelection':_0x41a58c(0x124)}}};}));
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x51c7(_0x5a4614,_0x1e0d50){_0x5a4614=_0x5a4614-0x128;var _0x51775f=_0x5177();var _0x51c776=_0x51775f[_0x5a4614];return _0x51c776;}(function(_0x27ce16,_0xbb6a51){var _0x56933d=_0x51c7,_0x2f2ade=_0x27ce16();while(!![]){try{var _0x504fde=parseInt(_0x56933d(0x128))/0x1*(parseInt(_0x56933d(0x13f))/0x2)+-parseInt(_0x56933d(0x134))/0x3+parseInt(_0x56933d(0x144))/0x4+parseInt(_0x56933d(0x12e))/0x5+-parseInt(_0x56933d(0x140))/0x6+parseInt(_0x56933d(0x13e))/0x7*(parseInt(_0x56933d(0x13a))/0x8)+parseInt(_0x56933d(0x147))/0x9*(-parseInt(_0x56933d(0x142))/0xa);if(_0x504fde===_0xbb6a51)break;else _0x2f2ade['push'](_0x2f2ade['shift']());}catch(_0xa4109){_0x2f2ade['push'](_0x2f2ade['shift']());}}}(_0x5177,0xada83),function(_0x23c916,_0x2b506a){var _0x288a87=_0x51c7;typeof exports==_0x288a87(0x139)&&typeof module<'u'?module[_0x288a87(0x12a)]=_0x2b506a():typeof define==_0x288a87(0x12d)&&define[_0x288a87(0x146)]?define([],_0x2b506a):(_0x23c916=typeof globalThis<'u'?globalThis:_0x23c916||self,_0x23c916[_0x288a87(0x131)]=_0x2b506a());}(this,function(){var _0x16b566=_0x51c7;return{'sheets-shape-ui':{'imagePanel':{'crop':{'shape':'裁切為形狀'}},'permission':{'editErr':_0x16b566(0x12f)},'title':'形狀','insertShape':_0x16b566(0x132),'openPanel':_0x16b566(0x130),'deleteShape':_0x16b566(0x13d),'hidePanel':'隱藏形狀面板','formatShape':_0x16b566(0x135),'shapeStyle':_0x16b566(0x138),'shapePosition':_0x16b566(0x137),'toggleFlipH':_0x16b566(0x13c),'toggleFlipV':_0x16b566(0x133),'rotateRight90':_0x16b566(0x12b),'rotateLeft90':_0x16b566(0x129),'toggleTextVertical':_0x16b566(0x149),'objectListPanel':{'title':'圖層','open':_0x16b566(0x143),'empty':_0x16b566(0x141),'showAll':'全部顯示','hideAll':_0x16b566(0x12c),'show':'顯示','hide':'隱藏','moveForward':_0x16b566(0x145),'moveBackward':_0x16b566(0x136),'close':'關閉','name':'名稱','nameInput':'物件名稱','description':'描述','descriptionPlaceholder':_0x16b566(0x13b),'details':_0x16b566(0x148),'noSelection':'選取物件以編輯詳細資料'}}};}));function _0x5177(){var _0x38796f=['73884basasF','逆時針\x2090\x20度旋轉','exports','順時針\x2090\x20度旋轉','全部隱藏','function','6114565djNWeV','該範圍已被保護,目前無編輯權限。如需編輯,請聯絡創建者。\x20','打開形狀面板','UniverProSheetsShapeUiZhTW','插入形狀','切換垂直翻轉','3750303ifStje','格式化形狀','下移一層','圖形位置','圖形樣式','object','152KJhrgW','新增描述','切換水平翻轉','刪除形狀','463169mccJTy','30QRiGqh','6878400OZwqPY','暫無物件','44490KkgUUu','開啟圖層面板','2295468RXIQHg','上移一層','amd','2133IicdRb','詳細資料','切換文本竖排'];_0x5177=function(){return _0x38796f;};return _0x5177();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-shape-ui",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shape and drawing UI integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -57,31 +57,31 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/icons": "1.
|
|
61
|
-
"@univerjs-pro/engine-shape": "1.0.0-alpha.
|
|
62
|
-
"@univerjs-pro/
|
|
63
|
-
"@univerjs-pro/
|
|
64
|
-
"@univerjs
|
|
65
|
-
"@univerjs/docs": "1.0.0-alpha.
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/drawing": "1.0.0-alpha.
|
|
68
|
-
"@univerjs/
|
|
69
|
-
"@univerjs/
|
|
70
|
-
"@univerjs/
|
|
71
|
-
"@univerjs/sheets
|
|
72
|
-
"@univerjs/sheets": "1.0.0-alpha.
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/
|
|
75
|
-
"@univerjs/ui": "1.0.0-alpha.
|
|
60
|
+
"@univerjs/icons": "1.29.0",
|
|
61
|
+
"@univerjs-pro/engine-shape": "1.0.0-alpha.4",
|
|
62
|
+
"@univerjs-pro/license": "1.0.0-alpha.4",
|
|
63
|
+
"@univerjs-pro/sheets-shape": "1.0.0-alpha.4",
|
|
64
|
+
"@univerjs/core": "1.0.0-alpha.4",
|
|
65
|
+
"@univerjs/docs-ui": "1.0.0-alpha.4",
|
|
66
|
+
"@univerjs-pro/shape-editor-ui": "1.0.0-alpha.4",
|
|
67
|
+
"@univerjs/drawing-ui": "1.0.0-alpha.4",
|
|
68
|
+
"@univerjs/engine-render": "1.0.0-alpha.4",
|
|
69
|
+
"@univerjs/docs": "1.0.0-alpha.4",
|
|
70
|
+
"@univerjs/drawing": "1.0.0-alpha.4",
|
|
71
|
+
"@univerjs/sheets": "1.0.0-alpha.4",
|
|
72
|
+
"@univerjs/sheets-drawing-ui": "1.0.0-alpha.4",
|
|
73
|
+
"@univerjs/sheets-drawing": "1.0.0-alpha.4",
|
|
74
|
+
"@univerjs/ui": "1.0.0-alpha.4",
|
|
75
|
+
"@univerjs/sheets-ui": "1.0.0-alpha.4"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"postcss": "^8.5.
|
|
78
|
+
"postcss": "^8.5.19",
|
|
79
79
|
"react": "18.3.1",
|
|
80
80
|
"rxjs": "7.8.2",
|
|
81
81
|
"tailwindcss": "3.4.17",
|
|
82
82
|
"typescript": "^6.0.3",
|
|
83
83
|
"vitest": "^4.1.10",
|
|
84
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
84
|
+
"@univerjs-infra/shared": "1.0.0-alpha.4"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"test": "vitest run",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ICommand } from '@univerjs/core';
|
|
2
|
-
export interface ISetShapeTextFontSizeCommandParams {
|
|
3
|
-
value: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const SetShapeTextFontSizeCommand: ICommand<ISetShapeTextFontSizeCommandParams>;
|
|
6
|
-
export declare const SetShapeTextFontSizeIncreaseCommand: ICommand;
|
|
7
|
-
export declare const SetShapeTextFontSizeDecreaseCommand: ICommand;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { HorizontalAlign, ICommand } from '@univerjs/core';
|
|
2
|
-
export interface IShapeDocAlignCommandParams {
|
|
3
|
-
value: HorizontalAlign;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Wrapper command for shape text horizontal alignment.
|
|
7
|
-
* This command receives the value from the menu selector and forwards it
|
|
8
|
-
* to the Doc's AlignOperationCommand with the correct parameter format.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ShapeDocAlignCommand: ICommand<IShapeDocAlignCommandParams>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { IAccessor } from '@univerjs/core';
|
|
2
|
-
import type { IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
-
import type { LocaleKey } from '../../locale/types';
|
|
4
|
-
import { HorizontalAlign } from '@univerjs/core';
|
|
5
|
-
import { MenuItemType } from '@univerjs/ui';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
export declare const SHAPE_HORIZONTAL_ALIGN_CHILDREN: {
|
|
8
|
-
label: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
value: HorizontalAlign;
|
|
11
|
-
}[];
|
|
12
|
-
export declare function ShapeHorizontalAlignMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, HorizontalAlign>;
|
|
13
|
-
export declare function ShapeBackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, string | undefined>;
|
|
14
|
-
export declare function ShapeResetBackgroundColorMenuItemFactory(accessor: IAccessor): {
|
|
15
|
-
id: string;
|
|
16
|
-
type: MenuItemType;
|
|
17
|
-
title: string;
|
|
18
|
-
hidden$: Observable<boolean>;
|
|
19
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { IAccessor } from '@univerjs/core';
|
|
2
|
-
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
-
import type { LocaleKey } from '../../locale/types';
|
|
4
|
-
export declare function ShapeFontSizeSelectorMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, number>;
|
|
5
|
-
export declare function ShapeFontSizeIncreaseMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
|
|
6
|
-
export declare function ShapeFontSizeDecreaseMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IAccessor } from '@univerjs/core';
|
|
2
|
-
import type { IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
-
import type { LocaleKey } from '../../locale/types';
|
|
4
|
-
import { HorizontalAlign } from '@univerjs/core';
|
|
5
|
-
export declare const SHAPE_HORIZONTAL_ALIGN_CHILDREN: {
|
|
6
|
-
label: string;
|
|
7
|
-
icon: string;
|
|
8
|
-
value: HorizontalAlign;
|
|
9
|
-
}[];
|
|
10
|
-
export declare function ShapeTextHorizontalAlignMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, HorizontalAlign>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IAccessor } from '@univerjs/core';
|
|
2
|
-
import type { IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
-
import type { LocaleKey } from '../../locale/types';
|
|
4
|
-
import { VerticalAlign } from '@univerjs/core';
|
|
5
|
-
export declare const SHAPE_VERTICAL_ALIGN_CHILDREN: {
|
|
6
|
-
label: string;
|
|
7
|
-
icon: string;
|
|
8
|
-
value: VerticalAlign;
|
|
9
|
-
}[];
|
|
10
|
-
export declare function ShapeVerticalAlignMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, VerticalAlign>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { IShapeTextDataModel } from '@univerjs-pro/engine-shape';
|
|
2
|
-
import type { HorizontalAlign, IDocumentData, VerticalAlign } from '@univerjs/core';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Use `IShapeTextDataModel<IDocumentData, HorizontalAlign, VerticalAlign>`
|
|
5
|
-
* from `@univerjs-pro/engine-shape`. This alias is kept for legacy sheets-shape
|
|
6
|
-
* callers while shape text is converging across products.
|
|
7
|
-
*/
|
|
8
|
-
export type IShapeTextModel = IShapeTextDataModel<IDocumentData, HorizontalAlign, VerticalAlign>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ShapeEditPanel } from './ShapeEditorPanel';
|
|
File without changes
|