@univerjs-pro/sheets-shape-ui 0.24.0 → 0.25.0-insiders.20260608-e4336f7
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 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -0
- 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 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- 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 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -0
- 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 -0
- package/lib/es/locale/it-IT.js +1 -0
- 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 -0
- package/lib/es/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +4 -70
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -0
- 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 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/operations/actvie-drawing-operation.d.ts +0 -15
- package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +1 -1
- package/lib/types/const.d.ts +1 -0
- package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +9 -0
- package/lib/types/controllers/sheets-shape-ui.controller.d.ts +12 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +244 -203
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/plugin.d.ts +2 -1
- package/lib/types/view-model/sheet-basic-shape-connection-site-object.d.ts +0 -15
- package/lib/types/views/ShapePicker.d.ts +2 -2
- package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapeImageFillEditor.d.ts +2 -1
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapePositionEditor.d.ts +1 -1
- package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +17 -0
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +1 -0
- package/lib/types/views/shape-text-editor/index.d.ts +1 -5
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- 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 -0
- package/lib/umd/locale/it-IT.js +1 -0
- 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 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -24
- package/lib/types/views/shape-text-editor/Editor.d.ts +0 -14
- package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +0 -15
- package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +0 -37
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/types/const.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const SHEET_SHAPE_EDIT_PANEL_KEY = "sheet.shape.edit.panel";
|
|
2
|
+
export declare const SHEET_SHAPE_FLOATING_TOOLBAR_KEY = "sheet.shape.floating-toolbar";
|
|
2
3
|
export declare const DOCS_SHAPE_EDITOR_UNIT_ID_KEY: string;
|
|
3
4
|
export declare const ShapeTextEditorContainer = "ShapeTextEditorContainer";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DocumentDataModel } from '@univerjs/core';
|
|
2
|
+
import type { IRenderContext } from '@univerjs/engine-render';
|
|
3
|
+
import { ShapeTextFloatMenuRenderControllerBase } from '@univerjs-pro/shape-editor-ui';
|
|
4
|
+
import { DocSelectionManagerService } from '@univerjs/docs';
|
|
5
|
+
import { DocCanvasPopManagerService, DocSelectionRenderService } from '@univerjs/docs-ui';
|
|
6
|
+
import { ComponentManager } from '@univerjs/ui';
|
|
7
|
+
export declare class ShapeTextFloatMenuRenderController extends ShapeTextFloatMenuRenderControllerBase {
|
|
8
|
+
constructor(context: IRenderContext<DocumentDataModel>, docSelectionManagerService: DocSelectionManagerService, docCanvasPopManagerService: DocCanvasPopManagerService, componentManager: ComponentManager, docSelectionRenderService: DocSelectionRenderService);
|
|
9
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { SheetsShapeService } from '@univerjs-pro/sheets-shape';
|
|
2
2
|
import { Disposable, DrawingTypeEnum, ICommandService, IContextService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
3
3
|
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
4
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
5
|
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
5
6
|
import { SheetCanvasPopManagerService } from '@univerjs/sheets-ui';
|
|
6
7
|
import { ComponentManager, IMenuManagerService, ISidebarService } from '@univerjs/ui';
|
|
8
|
+
import { ShapeTextEditingService } from '../services/shape-text-editing.service';
|
|
7
9
|
export declare class SheetsShapeUIController extends Disposable {
|
|
8
10
|
private readonly _univerInstanceService;
|
|
9
11
|
private readonly _sheetInterceptorService;
|
|
@@ -16,12 +18,18 @@ export declare class SheetsShapeUIController extends Disposable {
|
|
|
16
18
|
private _drawingManagerService;
|
|
17
19
|
private readonly _sheetCanvasPopManagerService;
|
|
18
20
|
private readonly _contextService;
|
|
21
|
+
private readonly _renderManagerService;
|
|
22
|
+
private readonly _shapeTextEditingService;
|
|
19
23
|
private _sidebarDisposable;
|
|
20
24
|
private _activeShapeInfo;
|
|
21
25
|
private _isOpenedShapeEditPanel;
|
|
22
|
-
|
|
26
|
+
private _shapeEditPanelVersion;
|
|
27
|
+
private _initializedShapePopupMenu;
|
|
28
|
+
private _disposePopups;
|
|
29
|
+
constructor(_univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _sidebarService: ISidebarService, _menuManagerService: IMenuManagerService, _sheetsShapeService: SheetsShapeService, _localeService: LocaleService, _componentManager: ComponentManager, _commandService: ICommandService, _drawingManagerService: IDrawingManagerService, _sheetCanvasPopManagerService: SheetCanvasPopManagerService, _contextService: IContextService, _renderManagerService: IRenderManagerService, _shapeTextEditingService: ShapeTextEditingService);
|
|
23
30
|
private _initMenu;
|
|
24
31
|
private _registerShapeMenu;
|
|
32
|
+
initShapePopupMenu(): void;
|
|
25
33
|
getShapePopupMenus(unitId: string, subUnitId: string, drawingId: string, drawingType: DrawingTypeEnum): ({
|
|
26
34
|
label: string;
|
|
27
35
|
index: number;
|
|
@@ -119,6 +127,9 @@ export declare class SheetsShapeUIController extends Disposable {
|
|
|
119
127
|
disable: boolean;
|
|
120
128
|
})[];
|
|
121
129
|
private _getShapeInfo;
|
|
130
|
+
private _createShapePopupMenu;
|
|
131
|
+
private _clearPopups;
|
|
132
|
+
private _popupMenuListener;
|
|
122
133
|
private _registerOperations;
|
|
123
134
|
private _registerComponent;
|
|
124
135
|
private _openShapeEditPanel;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export { SetShapeTextFontSizeCommand, SetShapeTextFontSizeDecreaseCommand, SetSh
|
|
|
4
4
|
export { SetShapeTextVerticalAlignCommand } from './commands/command/set-shape-text-vertical-align.command';
|
|
5
5
|
export { ShapeDocAlignCommand } from './commands/command/shape-doc-align.command';
|
|
6
6
|
export { UpdateShapeDataCommand } from './commands/command/update-shape-data.command';
|
|
7
|
-
export type { IUniverSheetsShapeUIConfig } from './
|
|
7
|
+
export type { IUniverSheetsShapeUIConfig } from './config/config';
|
|
8
8
|
export { SheetsShapeUIController } from './controllers/sheets-shape-ui.controller';
|
|
9
9
|
export { UniverSheetsShapeUIPlugin } from './plugin';
|
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
declare const locale: {
|
|
2
|
-
'sheets-shape': {
|
|
2
|
+
'sheets-shape-ui': {
|
|
3
|
+
align: {
|
|
4
|
+
top: string;
|
|
5
|
+
middle: string;
|
|
6
|
+
bottom: string;
|
|
7
|
+
left: string;
|
|
8
|
+
center: string;
|
|
9
|
+
right: string;
|
|
10
|
+
};
|
|
11
|
+
toolbar: {
|
|
12
|
+
verticalAlignMode: {
|
|
13
|
+
main: string;
|
|
14
|
+
};
|
|
15
|
+
horizontalAlignMode: {
|
|
16
|
+
main: string;
|
|
17
|
+
};
|
|
18
|
+
fillColor: {
|
|
19
|
+
main: string;
|
|
20
|
+
};
|
|
21
|
+
fontSize: string;
|
|
22
|
+
fontSizeIncrease: string;
|
|
23
|
+
fontSizeDecrease: string;
|
|
24
|
+
alignLeft: string;
|
|
25
|
+
alignCenter: string;
|
|
26
|
+
alignRight: string;
|
|
27
|
+
alignJustify: string;
|
|
28
|
+
bold: string;
|
|
29
|
+
italic: string;
|
|
30
|
+
underline: string;
|
|
31
|
+
strikethrough: string;
|
|
32
|
+
textColor: string;
|
|
33
|
+
textBackgroundColor: string;
|
|
34
|
+
resetColor: string;
|
|
35
|
+
};
|
|
36
|
+
imagePanel: {
|
|
37
|
+
crop: {
|
|
38
|
+
shape: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
permission: {
|
|
42
|
+
editErr: string;
|
|
43
|
+
};
|
|
3
44
|
title: string;
|
|
4
45
|
insertShape: string;
|
|
5
46
|
openPanel: string;
|
|
@@ -101,208 +142,208 @@ declare const locale: {
|
|
|
101
142
|
handDrawn: string;
|
|
102
143
|
};
|
|
103
144
|
};
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
145
|
+
shape: {
|
|
146
|
+
group: {
|
|
147
|
+
line: string;
|
|
148
|
+
rectangle: string;
|
|
149
|
+
basicShape: string;
|
|
150
|
+
blockArrow: string;
|
|
151
|
+
equationShape: string;
|
|
152
|
+
flowchart: string;
|
|
153
|
+
starAndBanner: string;
|
|
154
|
+
callout: string;
|
|
155
|
+
other: string;
|
|
156
|
+
};
|
|
157
|
+
type: {
|
|
158
|
+
line: string;
|
|
159
|
+
'straight-connector1': string;
|
|
160
|
+
'straight-connector2': string;
|
|
161
|
+
'bent-connector3': string;
|
|
162
|
+
'bent-connector3-arrow1': string;
|
|
163
|
+
'bent-connector3-arrow2': string;
|
|
164
|
+
'curved-connector3': string;
|
|
165
|
+
'curved-connector3-arrow1': string;
|
|
166
|
+
'curved-connector3-arrow2': string;
|
|
167
|
+
rect: string;
|
|
168
|
+
'round-rect': string;
|
|
169
|
+
'snip1-rect': string;
|
|
170
|
+
'snip2-same-rect': string;
|
|
171
|
+
'snip2-diag-rect': string;
|
|
172
|
+
'snip-round-rect': string;
|
|
173
|
+
'round1-rect': string;
|
|
174
|
+
'round2-same-rect': string;
|
|
175
|
+
'round2-diag-rect': string;
|
|
176
|
+
'rect-textbox-horizontal': string;
|
|
177
|
+
'rect-textbox-vertical': string;
|
|
178
|
+
ellipse: string;
|
|
179
|
+
triangle: string;
|
|
180
|
+
'rt-triangle': string;
|
|
181
|
+
parallelogram: string;
|
|
182
|
+
trapezoid: string;
|
|
183
|
+
'non-isosceles-trapezoid': string;
|
|
184
|
+
diamond: string;
|
|
185
|
+
pentagon: string;
|
|
186
|
+
hexagon: string;
|
|
187
|
+
heptagon: string;
|
|
188
|
+
octagon: string;
|
|
189
|
+
decagon: string;
|
|
190
|
+
dodecagon: string;
|
|
191
|
+
pie: string;
|
|
192
|
+
chord: string;
|
|
193
|
+
teardrop: string;
|
|
194
|
+
frame: string;
|
|
195
|
+
'half-frame': string;
|
|
196
|
+
corner: string;
|
|
197
|
+
'diag-stripe': string;
|
|
198
|
+
plus: string;
|
|
199
|
+
plaque: string;
|
|
200
|
+
can: string;
|
|
201
|
+
cube: string;
|
|
202
|
+
bevel: string;
|
|
203
|
+
donut: string;
|
|
204
|
+
'no-smoking': string;
|
|
205
|
+
'block-arc': string;
|
|
206
|
+
'folder-corner': string;
|
|
207
|
+
'smiley-face': string;
|
|
208
|
+
heart: string;
|
|
209
|
+
'lightning-bolt': string;
|
|
210
|
+
sun: string;
|
|
211
|
+
moon: string;
|
|
212
|
+
cloud: string;
|
|
213
|
+
arc: string;
|
|
214
|
+
'bracket-pair': string;
|
|
215
|
+
'brace-pair': string;
|
|
216
|
+
'left-bracket': string;
|
|
217
|
+
'right-bracket': string;
|
|
218
|
+
'left-brace': string;
|
|
219
|
+
'right-brace': string;
|
|
220
|
+
'right-arrow': string;
|
|
221
|
+
'left-arrow': string;
|
|
222
|
+
'up-arrow': string;
|
|
223
|
+
'down-arrow': string;
|
|
224
|
+
'left-right-arrow': string;
|
|
225
|
+
'up-down-arrow': string;
|
|
226
|
+
'quad-arrow': string;
|
|
227
|
+
'left-right-up-arrow': string;
|
|
228
|
+
'bent-arrow': string;
|
|
229
|
+
'uturn-arrow': string;
|
|
230
|
+
'left-up-arrow': string;
|
|
231
|
+
'bent-up-arrow': string;
|
|
232
|
+
'curved-right-arrow': string;
|
|
233
|
+
'curved-left-arrow': string;
|
|
234
|
+
'curved-up-arrow': string;
|
|
235
|
+
'curved-down-arrow': string;
|
|
236
|
+
'striped-right-arrow': string;
|
|
237
|
+
'notched-right-arrow': string;
|
|
238
|
+
'home-plate': string;
|
|
239
|
+
chevron: string;
|
|
240
|
+
'right-arrow-callout': string;
|
|
241
|
+
'down-arrow-callout': string;
|
|
242
|
+
'left-arrow-callout': string;
|
|
243
|
+
'up-arrow-callout': string;
|
|
244
|
+
'left-right-arrow-callout': string;
|
|
245
|
+
'quad-arrow-callout': string;
|
|
246
|
+
'circular-arrow': string;
|
|
247
|
+
'math-plus': string;
|
|
248
|
+
'math-minus': string;
|
|
249
|
+
'math-multiply': string;
|
|
250
|
+
'math-divide': string;
|
|
251
|
+
'math-equal': string;
|
|
252
|
+
'math-not-equal': string;
|
|
253
|
+
'flow-chart-process': string;
|
|
254
|
+
'flow-chart-alternate-process': string;
|
|
255
|
+
'flow-chart-decision': string;
|
|
256
|
+
'flow-chart-input-output': string;
|
|
257
|
+
'flow-chart-predefined-process': string;
|
|
258
|
+
'flow-chart-internal-storage': string;
|
|
259
|
+
'flow-chart-document': string;
|
|
260
|
+
'flow-chart-multidocument': string;
|
|
261
|
+
'flow-chart-terminator': string;
|
|
262
|
+
'flow-chart-preparation': string;
|
|
263
|
+
'flow-chart-manual-input': string;
|
|
264
|
+
'flow-chart-manual-operation': string;
|
|
265
|
+
'flow-chart-connector': string;
|
|
266
|
+
'flow-chart-offpage-connector': string;
|
|
267
|
+
'flow-chart-punched-card': string;
|
|
268
|
+
'flow-chart-punched-tape': string;
|
|
269
|
+
'flow-chart-summing-junction': string;
|
|
270
|
+
'flow-chart-or': string;
|
|
271
|
+
'flow-chart-collate': string;
|
|
272
|
+
'flow-chart-sort': string;
|
|
273
|
+
'flow-chart-extract': string;
|
|
274
|
+
'flow-chart-merge': string;
|
|
275
|
+
'flow-chart-online-storage': string;
|
|
276
|
+
'flow-chart-delay': string;
|
|
277
|
+
'flow-chart-magnetic-tape': string;
|
|
278
|
+
'flow-chart-magnetic-disk': string;
|
|
279
|
+
'flow-chart-magnetic-drum': string;
|
|
280
|
+
'flow-chart-display': string;
|
|
281
|
+
'irregular-seal1': string;
|
|
282
|
+
'irregular-seal2': string;
|
|
283
|
+
star4: string;
|
|
284
|
+
star5: string;
|
|
285
|
+
star6: string;
|
|
286
|
+
star7: string;
|
|
287
|
+
star8: string;
|
|
288
|
+
star10: string;
|
|
289
|
+
star12: string;
|
|
290
|
+
star16: string;
|
|
291
|
+
star24: string;
|
|
292
|
+
star32: string;
|
|
293
|
+
ribbon2: string;
|
|
294
|
+
ribbon: string;
|
|
295
|
+
'ellipse-ribbon2': string;
|
|
296
|
+
'ellipse-ribbon': string;
|
|
297
|
+
'vertical-scroll': string;
|
|
298
|
+
'horizontal-scroll': string;
|
|
299
|
+
wave: string;
|
|
300
|
+
'double-wave': string;
|
|
301
|
+
'wedge-rect-callout': string;
|
|
302
|
+
'wedge-round-rect-callout': string;
|
|
303
|
+
'wedge-ellipse-callout': string;
|
|
304
|
+
'cloud-callout': string;
|
|
305
|
+
'border-callout1': string;
|
|
306
|
+
'border-callout2': string;
|
|
307
|
+
'border-callout3': string;
|
|
308
|
+
'accent-callout1': string;
|
|
309
|
+
'accent-callout2': string;
|
|
310
|
+
'accent-callout3': string;
|
|
311
|
+
callout1: string;
|
|
312
|
+
callout2: string;
|
|
313
|
+
callout3: string;
|
|
314
|
+
'accent-border-callout1': string;
|
|
315
|
+
'accent-border-callout2': string;
|
|
316
|
+
'accent-border-callout3': string;
|
|
317
|
+
'left-circular-arrow': string;
|
|
318
|
+
'left-right-circular-arrow': string;
|
|
319
|
+
'swoosh-arrow': string;
|
|
320
|
+
'left-right-ribbon': string;
|
|
321
|
+
'pie-wedge': string;
|
|
322
|
+
funnel: string;
|
|
323
|
+
gear6: string;
|
|
324
|
+
gear9: string;
|
|
325
|
+
'corner-tabs': string;
|
|
326
|
+
'action-button-back-previous': string;
|
|
327
|
+
'action-button-forward-next': string;
|
|
328
|
+
'action-button-beginning': string;
|
|
329
|
+
'action-button-end': string;
|
|
330
|
+
'action-button-home': string;
|
|
331
|
+
'action-button-information': string;
|
|
332
|
+
'action-button-return': string;
|
|
333
|
+
'action-button-movie': string;
|
|
334
|
+
'action-button-document': string;
|
|
335
|
+
'action-button-sound': string;
|
|
336
|
+
'action-button-help': string;
|
|
337
|
+
'action-button-blank': string;
|
|
338
|
+
'chart-plus': string;
|
|
339
|
+
'chart-star': string;
|
|
340
|
+
'chart-x': string;
|
|
341
|
+
'flow-chart-offline-storage': string;
|
|
342
|
+
'line-inv': string;
|
|
343
|
+
'plaque-tabs': string;
|
|
344
|
+
'square-tabs': string;
|
|
345
|
+
'up-down-arrow-callout': string;
|
|
346
|
+
};
|
|
306
347
|
};
|
|
307
348
|
};
|
|
308
349
|
};
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IUniverSheetsShapeUIConfig } from './
|
|
1
|
+
import type { IUniverSheetsShapeUIConfig } from './config/config';
|
|
2
2
|
import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
3
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
4
|
export declare class UniverSheetsShapeUIPlugin extends Plugin {
|
|
@@ -13,6 +13,7 @@ export declare class UniverSheetsShapeUIPlugin extends Plugin {
|
|
|
13
13
|
static version: string;
|
|
14
14
|
constructor(_config: IUniverSheetsShapeUIConfig | undefined, _injector: Injector, _commandService: ICommandService, _configService: IConfigService, _renderManagerService: IRenderManagerService);
|
|
15
15
|
onRendered(): void;
|
|
16
|
+
onSteady(): void;
|
|
16
17
|
onReady(): void;
|
|
17
18
|
onStarting(): void;
|
|
18
19
|
private _initCommands;
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
1
|
import type { IShapeProps } from '@univerjs/engine-render';
|
|
17
2
|
import { Shape } from '@univerjs/engine-render';
|
|
18
3
|
export interface ISheetBasicShapeConnectionSiteObjectProps extends IShapeProps {
|