@univerjs-pro/sheets-shape-ui 0.24.0 → 0.25.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.
- 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.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 +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 +234 -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/view-model/sheet-basic-shape-connection-site-object.d.ts +0 -15
- package/lib/types/views/shape-text-editor/Editor.d.ts +1 -4
- 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 +16 -16
|
@@ -1,5 +1,36 @@
|
|
|
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
|
+
resetColor: string;
|
|
25
|
+
};
|
|
26
|
+
imagePanel: {
|
|
27
|
+
crop: {
|
|
28
|
+
shape: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
permission: {
|
|
32
|
+
editErr: string;
|
|
33
|
+
};
|
|
3
34
|
title: string;
|
|
4
35
|
insertShape: string;
|
|
5
36
|
openPanel: string;
|
|
@@ -101,208 +132,208 @@ declare const locale: {
|
|
|
101
132
|
handDrawn: string;
|
|
102
133
|
};
|
|
103
134
|
};
|
|
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
|
-
|
|
135
|
+
shape: {
|
|
136
|
+
group: {
|
|
137
|
+
line: string;
|
|
138
|
+
rectangle: string;
|
|
139
|
+
basicShape: string;
|
|
140
|
+
blockArrow: string;
|
|
141
|
+
equationShape: string;
|
|
142
|
+
flowchart: string;
|
|
143
|
+
starAndBanner: string;
|
|
144
|
+
callout: string;
|
|
145
|
+
other: string;
|
|
146
|
+
};
|
|
147
|
+
type: {
|
|
148
|
+
line: string;
|
|
149
|
+
'straight-connector1': string;
|
|
150
|
+
'straight-connector2': string;
|
|
151
|
+
'bent-connector3': string;
|
|
152
|
+
'bent-connector3-arrow1': string;
|
|
153
|
+
'bent-connector3-arrow2': string;
|
|
154
|
+
'curved-connector3': string;
|
|
155
|
+
'curved-connector3-arrow1': string;
|
|
156
|
+
'curved-connector3-arrow2': string;
|
|
157
|
+
rect: string;
|
|
158
|
+
'round-rect': string;
|
|
159
|
+
'snip1-rect': string;
|
|
160
|
+
'snip2-same-rect': string;
|
|
161
|
+
'snip2-diag-rect': string;
|
|
162
|
+
'snip-round-rect': string;
|
|
163
|
+
'round1-rect': string;
|
|
164
|
+
'round2-same-rect': string;
|
|
165
|
+
'round2-diag-rect': string;
|
|
166
|
+
'rect-textbox-horizontal': string;
|
|
167
|
+
'rect-textbox-vertical': string;
|
|
168
|
+
ellipse: string;
|
|
169
|
+
triangle: string;
|
|
170
|
+
'rt-triangle': string;
|
|
171
|
+
parallelogram: string;
|
|
172
|
+
trapezoid: string;
|
|
173
|
+
'non-isosceles-trapezoid': string;
|
|
174
|
+
diamond: string;
|
|
175
|
+
pentagon: string;
|
|
176
|
+
hexagon: string;
|
|
177
|
+
heptagon: string;
|
|
178
|
+
octagon: string;
|
|
179
|
+
decagon: string;
|
|
180
|
+
dodecagon: string;
|
|
181
|
+
pie: string;
|
|
182
|
+
chord: string;
|
|
183
|
+
teardrop: string;
|
|
184
|
+
frame: string;
|
|
185
|
+
'half-frame': string;
|
|
186
|
+
corner: string;
|
|
187
|
+
'diag-stripe': string;
|
|
188
|
+
plus: string;
|
|
189
|
+
plaque: string;
|
|
190
|
+
can: string;
|
|
191
|
+
cube: string;
|
|
192
|
+
bevel: string;
|
|
193
|
+
donut: string;
|
|
194
|
+
'no-smoking': string;
|
|
195
|
+
'block-arc': string;
|
|
196
|
+
'folder-corner': string;
|
|
197
|
+
'smiley-face': string;
|
|
198
|
+
heart: string;
|
|
199
|
+
'lightning-bolt': string;
|
|
200
|
+
sun: string;
|
|
201
|
+
moon: string;
|
|
202
|
+
cloud: string;
|
|
203
|
+
arc: string;
|
|
204
|
+
'bracket-pair': string;
|
|
205
|
+
'brace-pair': string;
|
|
206
|
+
'left-bracket': string;
|
|
207
|
+
'right-bracket': string;
|
|
208
|
+
'left-brace': string;
|
|
209
|
+
'right-brace': string;
|
|
210
|
+
'right-arrow': string;
|
|
211
|
+
'left-arrow': string;
|
|
212
|
+
'up-arrow': string;
|
|
213
|
+
'down-arrow': string;
|
|
214
|
+
'left-right-arrow': string;
|
|
215
|
+
'up-down-arrow': string;
|
|
216
|
+
'quad-arrow': string;
|
|
217
|
+
'left-right-up-arrow': string;
|
|
218
|
+
'bent-arrow': string;
|
|
219
|
+
'uturn-arrow': string;
|
|
220
|
+
'left-up-arrow': string;
|
|
221
|
+
'bent-up-arrow': string;
|
|
222
|
+
'curved-right-arrow': string;
|
|
223
|
+
'curved-left-arrow': string;
|
|
224
|
+
'curved-up-arrow': string;
|
|
225
|
+
'curved-down-arrow': string;
|
|
226
|
+
'striped-right-arrow': string;
|
|
227
|
+
'notched-right-arrow': string;
|
|
228
|
+
'home-plate': string;
|
|
229
|
+
chevron: string;
|
|
230
|
+
'right-arrow-callout': string;
|
|
231
|
+
'down-arrow-callout': string;
|
|
232
|
+
'left-arrow-callout': string;
|
|
233
|
+
'up-arrow-callout': string;
|
|
234
|
+
'left-right-arrow-callout': string;
|
|
235
|
+
'quad-arrow-callout': string;
|
|
236
|
+
'circular-arrow': string;
|
|
237
|
+
'math-plus': string;
|
|
238
|
+
'math-minus': string;
|
|
239
|
+
'math-multiply': string;
|
|
240
|
+
'math-divide': string;
|
|
241
|
+
'math-equal': string;
|
|
242
|
+
'math-not-equal': string;
|
|
243
|
+
'flow-chart-process': string;
|
|
244
|
+
'flow-chart-alternate-process': string;
|
|
245
|
+
'flow-chart-decision': string;
|
|
246
|
+
'flow-chart-input-output': string;
|
|
247
|
+
'flow-chart-predefined-process': string;
|
|
248
|
+
'flow-chart-internal-storage': string;
|
|
249
|
+
'flow-chart-document': string;
|
|
250
|
+
'flow-chart-multidocument': string;
|
|
251
|
+
'flow-chart-terminator': string;
|
|
252
|
+
'flow-chart-preparation': string;
|
|
253
|
+
'flow-chart-manual-input': string;
|
|
254
|
+
'flow-chart-manual-operation': string;
|
|
255
|
+
'flow-chart-connector': string;
|
|
256
|
+
'flow-chart-offpage-connector': string;
|
|
257
|
+
'flow-chart-punched-card': string;
|
|
258
|
+
'flow-chart-punched-tape': string;
|
|
259
|
+
'flow-chart-summing-junction': string;
|
|
260
|
+
'flow-chart-or': string;
|
|
261
|
+
'flow-chart-collate': string;
|
|
262
|
+
'flow-chart-sort': string;
|
|
263
|
+
'flow-chart-extract': string;
|
|
264
|
+
'flow-chart-merge': string;
|
|
265
|
+
'flow-chart-online-storage': string;
|
|
266
|
+
'flow-chart-delay': string;
|
|
267
|
+
'flow-chart-magnetic-tape': string;
|
|
268
|
+
'flow-chart-magnetic-disk': string;
|
|
269
|
+
'flow-chart-magnetic-drum': string;
|
|
270
|
+
'flow-chart-display': string;
|
|
271
|
+
'irregular-seal1': string;
|
|
272
|
+
'irregular-seal2': string;
|
|
273
|
+
star4: string;
|
|
274
|
+
star5: string;
|
|
275
|
+
star6: string;
|
|
276
|
+
star7: string;
|
|
277
|
+
star8: string;
|
|
278
|
+
star10: string;
|
|
279
|
+
star12: string;
|
|
280
|
+
star16: string;
|
|
281
|
+
star24: string;
|
|
282
|
+
star32: string;
|
|
283
|
+
ribbon2: string;
|
|
284
|
+
ribbon: string;
|
|
285
|
+
'ellipse-ribbon2': string;
|
|
286
|
+
'ellipse-ribbon': string;
|
|
287
|
+
'vertical-scroll': string;
|
|
288
|
+
'horizontal-scroll': string;
|
|
289
|
+
wave: string;
|
|
290
|
+
'double-wave': string;
|
|
291
|
+
'wedge-rect-callout': string;
|
|
292
|
+
'wedge-round-rect-callout': string;
|
|
293
|
+
'wedge-ellipse-callout': string;
|
|
294
|
+
'cloud-callout': string;
|
|
295
|
+
'border-callout1': string;
|
|
296
|
+
'border-callout2': string;
|
|
297
|
+
'border-callout3': string;
|
|
298
|
+
'accent-callout1': string;
|
|
299
|
+
'accent-callout2': string;
|
|
300
|
+
'accent-callout3': string;
|
|
301
|
+
callout1: string;
|
|
302
|
+
callout2: string;
|
|
303
|
+
callout3: string;
|
|
304
|
+
'accent-border-callout1': string;
|
|
305
|
+
'accent-border-callout2': string;
|
|
306
|
+
'accent-border-callout3': string;
|
|
307
|
+
'left-circular-arrow': string;
|
|
308
|
+
'left-right-circular-arrow': string;
|
|
309
|
+
'swoosh-arrow': string;
|
|
310
|
+
'left-right-ribbon': string;
|
|
311
|
+
'pie-wedge': string;
|
|
312
|
+
funnel: string;
|
|
313
|
+
gear6: string;
|
|
314
|
+
gear9: string;
|
|
315
|
+
'corner-tabs': string;
|
|
316
|
+
'action-button-back-previous': string;
|
|
317
|
+
'action-button-forward-next': string;
|
|
318
|
+
'action-button-beginning': string;
|
|
319
|
+
'action-button-end': string;
|
|
320
|
+
'action-button-home': string;
|
|
321
|
+
'action-button-information': string;
|
|
322
|
+
'action-button-return': string;
|
|
323
|
+
'action-button-movie': string;
|
|
324
|
+
'action-button-document': string;
|
|
325
|
+
'action-button-sound': string;
|
|
326
|
+
'action-button-help': string;
|
|
327
|
+
'action-button-blank': string;
|
|
328
|
+
'chart-plus': string;
|
|
329
|
+
'chart-star': string;
|
|
330
|
+
'chart-x': string;
|
|
331
|
+
'flow-chart-offline-storage': string;
|
|
332
|
+
'line-inv': string;
|
|
333
|
+
'plaque-tabs': string;
|
|
334
|
+
'square-tabs': string;
|
|
335
|
+
'up-down-arrow-callout': string;
|
|
336
|
+
};
|
|
306
337
|
};
|
|
307
338
|
};
|
|
308
339
|
};
|
|
@@ -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 {
|
|
@@ -8,7 +8,4 @@ export interface IShapeEditorProps {
|
|
|
8
8
|
* Shape editor component - second layer DOM.
|
|
9
9
|
* Handles document editing, content height tracking, and vertical alignment.
|
|
10
10
|
*/
|
|
11
|
-
export declare const ShapeEditor:
|
|
12
|
-
(props: IShapeEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
11
|
+
export declare const ShapeEditor: (props: IShapeEditorProps) => import("react/jsx-runtime").JSX.Element;
|