@univerjs/preset-docs-drawing 0.25.0 → 1.0.0-alpha.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 (107) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +46 -1
  3. package/lib/cjs/locales/ar-SA.js +11 -1
  4. package/lib/cjs/locales/ca-ES.js +11 -1
  5. package/lib/cjs/locales/de-DE.js +11 -1
  6. package/lib/cjs/locales/en-US.js +11 -1
  7. package/lib/cjs/locales/es-ES.js +11 -1
  8. package/lib/cjs/locales/fa-IR.js +11 -1
  9. package/lib/cjs/locales/fr-FR.js +11 -1
  10. package/lib/cjs/locales/id-ID.js +11 -1
  11. package/lib/cjs/locales/it-IT.js +11 -1
  12. package/lib/cjs/locales/ja-JP.js +11 -1
  13. package/lib/cjs/locales/ko-KR.js +11 -1
  14. package/lib/cjs/locales/pl-PL.js +11 -1
  15. package/lib/cjs/locales/pt-BR.js +11 -1
  16. package/lib/cjs/locales/ru-RU.js +11 -1
  17. package/lib/cjs/locales/sk-SK.js +11 -1
  18. package/lib/cjs/locales/vi-VN.js +11 -1
  19. package/lib/cjs/locales/zh-CN.js +11 -1
  20. package/lib/cjs/locales/zh-HK.js +11 -1
  21. package/lib/cjs/locales/zh-TW.js +11 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/es/index.js +25 -22
  24. package/lib/es/locales/ar-SA.js +8 -10
  25. package/lib/es/locales/ca-ES.js +8 -10
  26. package/lib/es/locales/de-DE.js +8 -10
  27. package/lib/es/locales/en-US.js +8 -10
  28. package/lib/es/locales/es-ES.js +8 -10
  29. package/lib/es/locales/fa-IR.js +8 -10
  30. package/lib/es/locales/fr-FR.js +8 -10
  31. package/lib/es/locales/id-ID.js +8 -10
  32. package/lib/es/locales/it-IT.js +8 -10
  33. package/lib/es/locales/ja-JP.js +8 -10
  34. package/lib/es/locales/ko-KR.js +8 -10
  35. package/lib/es/locales/pl-PL.js +8 -10
  36. package/lib/es/locales/pt-BR.js +8 -10
  37. package/lib/es/locales/ru-RU.js +8 -10
  38. package/lib/es/locales/sk-SK.js +8 -10
  39. package/lib/es/locales/vi-VN.js +8 -10
  40. package/lib/es/locales/zh-CN.js +8 -10
  41. package/lib/es/locales/zh-HK.js +8 -10
  42. package/lib/es/locales/zh-TW.js +8 -10
  43. package/lib/index.css +356 -1
  44. package/lib/index.js +25 -22
  45. package/lib/locales/ar-SA.js +8 -10
  46. package/lib/locales/ca-ES.js +8 -10
  47. package/lib/locales/de-DE.js +8 -10
  48. package/lib/locales/en-US.js +8 -10
  49. package/lib/locales/es-ES.js +8 -10
  50. package/lib/locales/fa-IR.js +8 -10
  51. package/lib/locales/fr-FR.js +8 -10
  52. package/lib/locales/id-ID.js +8 -10
  53. package/lib/locales/it-IT.js +8 -10
  54. package/lib/locales/ja-JP.js +8 -10
  55. package/lib/locales/ko-KR.js +8 -10
  56. package/lib/locales/pl-PL.js +8 -10
  57. package/lib/locales/pt-BR.js +8 -10
  58. package/lib/locales/ru-RU.js +8 -10
  59. package/lib/locales/sk-SK.js +8 -10
  60. package/lib/locales/vi-VN.js +8 -10
  61. package/lib/locales/zh-CN.js +8 -10
  62. package/lib/locales/zh-HK.js +8 -10
  63. package/lib/locales/zh-TW.js +8 -10
  64. package/lib/types/index.d.ts +16 -1
  65. package/lib/types/locales/ar-SA.d.ts +144 -1
  66. package/lib/types/locales/ca-ES.d.ts +144 -1
  67. package/lib/types/locales/de-DE.d.ts +144 -1
  68. package/lib/types/locales/en-US.d.ts +144 -1
  69. package/lib/types/locales/es-ES.d.ts +144 -1
  70. package/lib/types/locales/fa-IR.d.ts +144 -1
  71. package/lib/types/locales/fr-FR.d.ts +144 -1
  72. package/lib/types/locales/id-ID.d.ts +144 -1
  73. package/lib/types/locales/it-IT.d.ts +144 -1
  74. package/lib/types/locales/ja-JP.d.ts +144 -1
  75. package/lib/types/locales/ko-KR.d.ts +144 -1
  76. package/lib/types/locales/pl-PL.d.ts +144 -1
  77. package/lib/types/locales/pt-BR.d.ts +144 -1
  78. package/lib/types/locales/ru-RU.d.ts +144 -1
  79. package/lib/types/locales/sk-SK.d.ts +144 -1
  80. package/lib/types/locales/vi-VN.d.ts +144 -1
  81. package/lib/types/locales/zh-CN.d.ts +144 -1
  82. package/lib/types/locales/zh-HK.d.ts +144 -1
  83. package/lib/types/locales/zh-TW.d.ts +144 -1
  84. package/lib/types/preset.d.ts +20 -0
  85. package/package.json +15 -17
  86. package/lib/types/types.d.ts +0 -11
  87. package/lib/types/umd.d.ts +0 -7
  88. package/lib/umd/index.js +0 -14
  89. package/lib/umd/locales/ar-SA.js +0 -8
  90. package/lib/umd/locales/ca-ES.js +0 -8
  91. package/lib/umd/locales/de-DE.js +0 -8
  92. package/lib/umd/locales/en-US.js +0 -8
  93. package/lib/umd/locales/es-ES.js +0 -8
  94. package/lib/umd/locales/fa-IR.js +0 -8
  95. package/lib/umd/locales/fr-FR.js +0 -8
  96. package/lib/umd/locales/id-ID.js +0 -8
  97. package/lib/umd/locales/it-IT.js +0 -8
  98. package/lib/umd/locales/ja-JP.js +0 -8
  99. package/lib/umd/locales/ko-KR.js +0 -8
  100. package/lib/umd/locales/pl-PL.js +0 -8
  101. package/lib/umd/locales/pt-BR.js +0 -8
  102. package/lib/umd/locales/ru-RU.js +0 -8
  103. package/lib/umd/locales/sk-SK.js +0 -8
  104. package/lib/umd/locales/vi-VN.js +0 -8
  105. package/lib/umd/locales/zh-CN.js +0 -8
  106. package/lib/umd/locales/zh-HK.js +0 -8
  107. package/lib/umd/locales/zh-TW.js +0 -8
@@ -1,4 +1,147 @@
1
1
  declare const _default: {
2
- [x: string]: any;
2
+ 'docs-drawing-ui': {
3
+ title: string;
4
+ upload: {
5
+ float: string;
6
+ };
7
+ shape: {
8
+ insert: {
9
+ title: string;
10
+ rectangle: string;
11
+ ellipse: string;
12
+ };
13
+ };
14
+ panel: {
15
+ title: string;
16
+ };
17
+ 'image-popup': {
18
+ replace: string;
19
+ delete: string;
20
+ edit: string;
21
+ crop: string;
22
+ reset: string;
23
+ };
24
+ 'image-text-wrap': {
25
+ title: string;
26
+ wrappingStyle: string;
27
+ square: string;
28
+ topAndBottom: string;
29
+ inline: string;
30
+ behindText: string;
31
+ inFrontText: string;
32
+ wrapText: string;
33
+ bothSide: string;
34
+ leftOnly: string;
35
+ rightOnly: string;
36
+ distanceFromText: string;
37
+ top: string;
38
+ left: string;
39
+ bottom: string;
40
+ right: string;
41
+ };
42
+ 'image-position': {
43
+ title: string;
44
+ horizontal: string;
45
+ vertical: string;
46
+ absolutePosition: string;
47
+ relativePosition: string;
48
+ toTheRightOf: string;
49
+ relativeTo: string;
50
+ bellow: string;
51
+ options: string;
52
+ moveObjectWithText: string;
53
+ column: string;
54
+ margin: string;
55
+ page: string;
56
+ line: string;
57
+ paragraph: string;
58
+ };
59
+ 'update-status': {
60
+ exceedMaxSize: string;
61
+ invalidImageType: string;
62
+ exceedMaxCount: string;
63
+ invalidImage: string;
64
+ };
65
+ shortcut: {
66
+ 'drawing-view': string;
67
+ 'drawing-move-down': string;
68
+ 'drawing-move-up': string;
69
+ 'drawing-move-left': string;
70
+ 'drawing-move-right': string;
71
+ 'drawing-delete': string;
72
+ };
73
+ };
74
+ } & {
75
+ 'drawing-ui': {
76
+ 'image-cropper': {
77
+ error: string;
78
+ };
79
+ 'image-panel': {
80
+ arrange: {
81
+ title: string;
82
+ forward: string;
83
+ backward: string;
84
+ front: string;
85
+ back: string;
86
+ };
87
+ transform: {
88
+ title: string;
89
+ rotate: string;
90
+ x: string;
91
+ y: string;
92
+ width: string;
93
+ height: string;
94
+ lock: string;
95
+ };
96
+ crop: {
97
+ title: string;
98
+ start: string;
99
+ mode: string;
100
+ };
101
+ group: {
102
+ title: string;
103
+ group: string;
104
+ unGroup: string;
105
+ };
106
+ align: {
107
+ title: string;
108
+ default: string;
109
+ left: string;
110
+ center: string;
111
+ right: string;
112
+ top: string;
113
+ middle: string;
114
+ bottom: string;
115
+ horizon: string;
116
+ vertical: string;
117
+ };
118
+ null: string;
119
+ };
120
+ 'image-popup': {
121
+ replace: string;
122
+ delete: string;
123
+ edit: string;
124
+ crop: string;
125
+ reset: string;
126
+ };
127
+ 'image-text-wrap': {
128
+ title: string;
129
+ wrappingStyle: string;
130
+ square: string;
131
+ topAndBottom: string;
132
+ inline: string;
133
+ behindText: string;
134
+ inFrontText: string;
135
+ wrapText: string;
136
+ bothSide: string;
137
+ leftOnly: string;
138
+ rightOnly: string;
139
+ distanceFromText: string;
140
+ top: string;
141
+ left: string;
142
+ bottom: string;
143
+ right: string;
144
+ };
145
+ };
3
146
  };
4
147
  export default _default;
@@ -1,4 +1,147 @@
1
1
  declare const _default: {
2
- [x: string]: any;
2
+ 'docs-drawing-ui': {
3
+ title: string;
4
+ upload: {
5
+ float: string;
6
+ };
7
+ shape: {
8
+ insert: {
9
+ title: string;
10
+ rectangle: string;
11
+ ellipse: string;
12
+ };
13
+ };
14
+ panel: {
15
+ title: string;
16
+ };
17
+ 'image-popup': {
18
+ replace: string;
19
+ delete: string;
20
+ edit: string;
21
+ crop: string;
22
+ reset: string;
23
+ };
24
+ 'image-text-wrap': {
25
+ title: string;
26
+ wrappingStyle: string;
27
+ square: string;
28
+ topAndBottom: string;
29
+ inline: string;
30
+ behindText: string;
31
+ inFrontText: string;
32
+ wrapText: string;
33
+ bothSide: string;
34
+ leftOnly: string;
35
+ rightOnly: string;
36
+ distanceFromText: string;
37
+ top: string;
38
+ left: string;
39
+ bottom: string;
40
+ right: string;
41
+ };
42
+ 'image-position': {
43
+ title: string;
44
+ horizontal: string;
45
+ vertical: string;
46
+ absolutePosition: string;
47
+ relativePosition: string;
48
+ toTheRightOf: string;
49
+ relativeTo: string;
50
+ bellow: string;
51
+ options: string;
52
+ moveObjectWithText: string;
53
+ column: string;
54
+ margin: string;
55
+ page: string;
56
+ line: string;
57
+ paragraph: string;
58
+ };
59
+ 'update-status': {
60
+ exceedMaxSize: string;
61
+ invalidImageType: string;
62
+ exceedMaxCount: string;
63
+ invalidImage: string;
64
+ };
65
+ shortcut: {
66
+ 'drawing-view': string;
67
+ 'drawing-move-down': string;
68
+ 'drawing-move-up': string;
69
+ 'drawing-move-left': string;
70
+ 'drawing-move-right': string;
71
+ 'drawing-delete': string;
72
+ };
73
+ };
74
+ } & {
75
+ 'drawing-ui': {
76
+ 'image-cropper': {
77
+ error: string;
78
+ };
79
+ 'image-panel': {
80
+ arrange: {
81
+ title: string;
82
+ forward: string;
83
+ backward: string;
84
+ front: string;
85
+ back: string;
86
+ };
87
+ transform: {
88
+ title: string;
89
+ rotate: string;
90
+ x: string;
91
+ y: string;
92
+ width: string;
93
+ height: string;
94
+ lock: string;
95
+ };
96
+ crop: {
97
+ title: string;
98
+ start: string;
99
+ mode: string;
100
+ };
101
+ group: {
102
+ title: string;
103
+ group: string;
104
+ unGroup: string;
105
+ };
106
+ align: {
107
+ title: string;
108
+ default: string;
109
+ left: string;
110
+ center: string;
111
+ right: string;
112
+ top: string;
113
+ middle: string;
114
+ bottom: string;
115
+ horizon: string;
116
+ vertical: string;
117
+ };
118
+ null: string;
119
+ };
120
+ 'image-popup': {
121
+ replace: string;
122
+ delete: string;
123
+ edit: string;
124
+ crop: string;
125
+ reset: string;
126
+ };
127
+ 'image-text-wrap': {
128
+ title: string;
129
+ wrappingStyle: string;
130
+ square: string;
131
+ topAndBottom: string;
132
+ inline: string;
133
+ behindText: string;
134
+ inFrontText: string;
135
+ wrapText: string;
136
+ bothSide: string;
137
+ leftOnly: string;
138
+ rightOnly: string;
139
+ distanceFromText: string;
140
+ top: string;
141
+ left: string;
142
+ bottom: string;
143
+ right: string;
144
+ };
145
+ };
3
146
  };
4
147
  export default _default;
@@ -1,4 +1,147 @@
1
1
  declare const _default: {
2
- [x: string]: any;
2
+ 'docs-drawing-ui': {
3
+ title: string;
4
+ upload: {
5
+ float: string;
6
+ };
7
+ shape: {
8
+ insert: {
9
+ title: string;
10
+ rectangle: string;
11
+ ellipse: string;
12
+ };
13
+ };
14
+ panel: {
15
+ title: string;
16
+ };
17
+ 'image-popup': {
18
+ replace: string;
19
+ delete: string;
20
+ edit: string;
21
+ crop: string;
22
+ reset: string;
23
+ };
24
+ 'image-text-wrap': {
25
+ title: string;
26
+ wrappingStyle: string;
27
+ square: string;
28
+ topAndBottom: string;
29
+ inline: string;
30
+ behindText: string;
31
+ inFrontText: string;
32
+ wrapText: string;
33
+ bothSide: string;
34
+ leftOnly: string;
35
+ rightOnly: string;
36
+ distanceFromText: string;
37
+ top: string;
38
+ left: string;
39
+ bottom: string;
40
+ right: string;
41
+ };
42
+ 'image-position': {
43
+ title: string;
44
+ horizontal: string;
45
+ vertical: string;
46
+ absolutePosition: string;
47
+ relativePosition: string;
48
+ toTheRightOf: string;
49
+ relativeTo: string;
50
+ bellow: string;
51
+ options: string;
52
+ moveObjectWithText: string;
53
+ column: string;
54
+ margin: string;
55
+ page: string;
56
+ line: string;
57
+ paragraph: string;
58
+ };
59
+ 'update-status': {
60
+ exceedMaxSize: string;
61
+ invalidImageType: string;
62
+ exceedMaxCount: string;
63
+ invalidImage: string;
64
+ };
65
+ shortcut: {
66
+ 'drawing-view': string;
67
+ 'drawing-move-down': string;
68
+ 'drawing-move-up': string;
69
+ 'drawing-move-left': string;
70
+ 'drawing-move-right': string;
71
+ 'drawing-delete': string;
72
+ };
73
+ };
74
+ } & {
75
+ 'drawing-ui': {
76
+ 'image-cropper': {
77
+ error: string;
78
+ };
79
+ 'image-panel': {
80
+ arrange: {
81
+ title: string;
82
+ forward: string;
83
+ backward: string;
84
+ front: string;
85
+ back: string;
86
+ };
87
+ transform: {
88
+ title: string;
89
+ rotate: string;
90
+ x: string;
91
+ y: string;
92
+ width: string;
93
+ height: string;
94
+ lock: string;
95
+ };
96
+ crop: {
97
+ title: string;
98
+ start: string;
99
+ mode: string;
100
+ };
101
+ group: {
102
+ title: string;
103
+ group: string;
104
+ unGroup: string;
105
+ };
106
+ align: {
107
+ title: string;
108
+ default: string;
109
+ left: string;
110
+ center: string;
111
+ right: string;
112
+ top: string;
113
+ middle: string;
114
+ bottom: string;
115
+ horizon: string;
116
+ vertical: string;
117
+ };
118
+ null: string;
119
+ };
120
+ 'image-popup': {
121
+ replace: string;
122
+ delete: string;
123
+ edit: string;
124
+ crop: string;
125
+ reset: string;
126
+ };
127
+ 'image-text-wrap': {
128
+ title: string;
129
+ wrappingStyle: string;
130
+ square: string;
131
+ topAndBottom: string;
132
+ inline: string;
133
+ behindText: string;
134
+ inFrontText: string;
135
+ wrapText: string;
136
+ bothSide: string;
137
+ leftOnly: string;
138
+ rightOnly: string;
139
+ distanceFromText: string;
140
+ top: string;
141
+ left: string;
142
+ bottom: string;
143
+ right: string;
144
+ };
145
+ };
3
146
  };
4
147
  export default _default;
@@ -1,4 +1,147 @@
1
1
  declare const _default: {
2
- [x: string]: any;
2
+ 'docs-drawing-ui': {
3
+ title: string;
4
+ upload: {
5
+ float: string;
6
+ };
7
+ shape: {
8
+ insert: {
9
+ title: string;
10
+ rectangle: string;
11
+ ellipse: string;
12
+ };
13
+ };
14
+ panel: {
15
+ title: string;
16
+ };
17
+ 'image-popup': {
18
+ replace: string;
19
+ delete: string;
20
+ edit: string;
21
+ crop: string;
22
+ reset: string;
23
+ };
24
+ 'image-text-wrap': {
25
+ title: string;
26
+ wrappingStyle: string;
27
+ square: string;
28
+ topAndBottom: string;
29
+ inline: string;
30
+ behindText: string;
31
+ inFrontText: string;
32
+ wrapText: string;
33
+ bothSide: string;
34
+ leftOnly: string;
35
+ rightOnly: string;
36
+ distanceFromText: string;
37
+ top: string;
38
+ left: string;
39
+ bottom: string;
40
+ right: string;
41
+ };
42
+ 'image-position': {
43
+ title: string;
44
+ horizontal: string;
45
+ vertical: string;
46
+ absolutePosition: string;
47
+ relativePosition: string;
48
+ toTheRightOf: string;
49
+ relativeTo: string;
50
+ bellow: string;
51
+ options: string;
52
+ moveObjectWithText: string;
53
+ column: string;
54
+ margin: string;
55
+ page: string;
56
+ line: string;
57
+ paragraph: string;
58
+ };
59
+ 'update-status': {
60
+ exceedMaxSize: string;
61
+ invalidImageType: string;
62
+ exceedMaxCount: string;
63
+ invalidImage: string;
64
+ };
65
+ shortcut: {
66
+ 'drawing-view': string;
67
+ 'drawing-move-down': string;
68
+ 'drawing-move-up': string;
69
+ 'drawing-move-left': string;
70
+ 'drawing-move-right': string;
71
+ 'drawing-delete': string;
72
+ };
73
+ };
74
+ } & {
75
+ 'drawing-ui': {
76
+ 'image-cropper': {
77
+ error: string;
78
+ };
79
+ 'image-panel': {
80
+ arrange: {
81
+ title: string;
82
+ forward: string;
83
+ backward: string;
84
+ front: string;
85
+ back: string;
86
+ };
87
+ transform: {
88
+ title: string;
89
+ rotate: string;
90
+ x: string;
91
+ y: string;
92
+ width: string;
93
+ height: string;
94
+ lock: string;
95
+ };
96
+ crop: {
97
+ title: string;
98
+ start: string;
99
+ mode: string;
100
+ };
101
+ group: {
102
+ title: string;
103
+ group: string;
104
+ unGroup: string;
105
+ };
106
+ align: {
107
+ title: string;
108
+ default: string;
109
+ left: string;
110
+ center: string;
111
+ right: string;
112
+ top: string;
113
+ middle: string;
114
+ bottom: string;
115
+ horizon: string;
116
+ vertical: string;
117
+ };
118
+ null: string;
119
+ };
120
+ 'image-popup': {
121
+ replace: string;
122
+ delete: string;
123
+ edit: string;
124
+ crop: string;
125
+ reset: string;
126
+ };
127
+ 'image-text-wrap': {
128
+ title: string;
129
+ wrappingStyle: string;
130
+ square: string;
131
+ topAndBottom: string;
132
+ inline: string;
133
+ behindText: string;
134
+ inFrontText: string;
135
+ wrapText: string;
136
+ bothSide: string;
137
+ leftOnly: string;
138
+ rightOnly: string;
139
+ distanceFromText: string;
140
+ top: string;
141
+ left: string;
142
+ bottom: string;
143
+ right: string;
144
+ };
145
+ };
3
146
  };
4
147
  export default _default;