@univerjs/preset-docs-drawing 1.3.0 → 1.4.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 (82) hide show
  1. package/lib/cjs/index.js +1 -2
  2. package/lib/cjs/locales/ar-SA.js +2 -3
  3. package/lib/cjs/locales/ca-ES.js +2 -3
  4. package/lib/cjs/locales/de-DE.js +2 -3
  5. package/lib/cjs/locales/en-US.js +2 -3
  6. package/lib/cjs/locales/es-ES.js +2 -3
  7. package/lib/cjs/locales/fa-IR.js +2 -3
  8. package/lib/cjs/locales/fr-FR.js +2 -3
  9. package/lib/cjs/locales/id-ID.js +2 -3
  10. package/lib/cjs/locales/it-IT.js +2 -3
  11. package/lib/cjs/locales/ja-JP.js +2 -3
  12. package/lib/cjs/locales/ko-KR.js +2 -3
  13. package/lib/cjs/locales/pl-PL.js +2 -3
  14. package/lib/cjs/locales/pt-BR.js +2 -3
  15. package/lib/cjs/locales/ru-RU.js +2 -3
  16. package/lib/cjs/locales/sk-SK.js +2 -3
  17. package/lib/cjs/locales/vi-VN.js +2 -3
  18. package/lib/cjs/locales/zh-CN.js +2 -3
  19. package/lib/cjs/locales/zh-HK.js +2 -3
  20. package/lib/cjs/locales/zh-TW.js +2 -3
  21. package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
  22. package/lib/es/index.js +1 -2
  23. package/lib/es/locales/ar-SA.js +1 -2
  24. package/lib/es/locales/ca-ES.js +1 -2
  25. package/lib/es/locales/de-DE.js +1 -2
  26. package/lib/es/locales/en-US.js +1 -2
  27. package/lib/es/locales/es-ES.js +1 -2
  28. package/lib/es/locales/fa-IR.js +1 -2
  29. package/lib/es/locales/fr-FR.js +1 -2
  30. package/lib/es/locales/id-ID.js +1 -2
  31. package/lib/es/locales/it-IT.js +1 -2
  32. package/lib/es/locales/ja-JP.js +1 -2
  33. package/lib/es/locales/ko-KR.js +1 -2
  34. package/lib/es/locales/pl-PL.js +1 -2
  35. package/lib/es/locales/pt-BR.js +1 -2
  36. package/lib/es/locales/ru-RU.js +1 -2
  37. package/lib/es/locales/sk-SK.js +1 -2
  38. package/lib/es/locales/vi-VN.js +1 -2
  39. package/lib/es/locales/zh-CN.js +1 -2
  40. package/lib/es/locales/zh-HK.js +1 -2
  41. package/lib/es/locales/zh-TW.js +1 -2
  42. package/lib/index.css +301 -0
  43. package/lib/index.js +1 -2
  44. package/lib/locales/ar-SA.js +1 -2
  45. package/lib/locales/ca-ES.js +1 -2
  46. package/lib/locales/de-DE.js +1 -2
  47. package/lib/locales/en-US.js +1 -2
  48. package/lib/locales/es-ES.js +1 -2
  49. package/lib/locales/fa-IR.js +1 -2
  50. package/lib/locales/fr-FR.js +1 -2
  51. package/lib/locales/id-ID.js +1 -2
  52. package/lib/locales/it-IT.js +1 -2
  53. package/lib/locales/ja-JP.js +1 -2
  54. package/lib/locales/ko-KR.js +1 -2
  55. package/lib/locales/pl-PL.js +1 -2
  56. package/lib/locales/pt-BR.js +1 -2
  57. package/lib/locales/ru-RU.js +1 -2
  58. package/lib/locales/sk-SK.js +1 -2
  59. package/lib/locales/vi-VN.js +1 -2
  60. package/lib/locales/zh-CN.js +1 -2
  61. package/lib/locales/zh-HK.js +1 -2
  62. package/lib/locales/zh-TW.js +1 -2
  63. package/lib/types/locales/ar-SA.d.ts +37 -0
  64. package/lib/types/locales/ca-ES.d.ts +37 -0
  65. package/lib/types/locales/de-DE.d.ts +37 -0
  66. package/lib/types/locales/en-US.d.ts +37 -0
  67. package/lib/types/locales/es-ES.d.ts +37 -0
  68. package/lib/types/locales/fa-IR.d.ts +37 -0
  69. package/lib/types/locales/fr-FR.d.ts +37 -0
  70. package/lib/types/locales/id-ID.d.ts +37 -0
  71. package/lib/types/locales/it-IT.d.ts +37 -0
  72. package/lib/types/locales/ja-JP.d.ts +37 -0
  73. package/lib/types/locales/ko-KR.d.ts +37 -0
  74. package/lib/types/locales/pl-PL.d.ts +37 -0
  75. package/lib/types/locales/pt-BR.d.ts +37 -0
  76. package/lib/types/locales/ru-RU.d.ts +37 -0
  77. package/lib/types/locales/sk-SK.d.ts +37 -0
  78. package/lib/types/locales/vi-VN.d.ts +37 -0
  79. package/lib/types/locales/zh-CN.d.ts +37 -0
  80. package/lib/types/locales/zh-HK.d.ts +37 -0
  81. package/lib/types/locales/zh-TW.d.ts +37 -0
  82. package/package.json +11 -11
@@ -70,6 +70,43 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ ole: {
74
+ progressReading: string;
75
+ progressUploading: string;
76
+ progressCreating: string;
77
+ progressSaving: string;
78
+ externalAttachment: string;
79
+ externalHint: string;
80
+ missingHint: string;
81
+ unavailableSummary: string;
82
+ rename: string;
83
+ saveName: string;
84
+ cancel: string;
85
+ invalidName: string;
86
+ renameFailed: string;
87
+ actions: string;
88
+ linkSaveFailed: string;
89
+ conversionFailed: string;
90
+ converted: string;
91
+ open: string;
92
+ converting: string;
93
+ openSlide: string;
94
+ openDoc: string;
95
+ openSheet: string;
96
+ convertSlide: string;
97
+ convertDoc: string;
98
+ convertSheet: string;
99
+ nativePreviewHint: string;
100
+ attachment: string;
101
+ external: string;
102
+ missing: string;
103
+ opaque: string;
104
+ download: string;
105
+ preview: string;
106
+ remove: string;
107
+ failed: string;
108
+ unsupported: string;
109
+ };
73
110
  mobile: {
74
111
  close: string;
75
112
  more: string;
@@ -70,6 +70,43 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ ole: {
74
+ progressReading: string;
75
+ progressUploading: string;
76
+ progressCreating: string;
77
+ progressSaving: string;
78
+ externalAttachment: string;
79
+ externalHint: string;
80
+ missingHint: string;
81
+ unavailableSummary: string;
82
+ rename: string;
83
+ saveName: string;
84
+ cancel: string;
85
+ invalidName: string;
86
+ renameFailed: string;
87
+ actions: string;
88
+ linkSaveFailed: string;
89
+ conversionFailed: string;
90
+ converted: string;
91
+ open: string;
92
+ converting: string;
93
+ openSlide: string;
94
+ openDoc: string;
95
+ openSheet: string;
96
+ convertSlide: string;
97
+ convertDoc: string;
98
+ convertSheet: string;
99
+ nativePreviewHint: string;
100
+ attachment: string;
101
+ external: string;
102
+ missing: string;
103
+ opaque: string;
104
+ download: string;
105
+ preview: string;
106
+ remove: string;
107
+ failed: string;
108
+ unsupported: string;
109
+ };
73
110
  mobile: {
74
111
  close: string;
75
112
  more: string;
@@ -70,6 +70,43 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ ole: {
74
+ progressReading: string;
75
+ progressUploading: string;
76
+ progressCreating: string;
77
+ progressSaving: string;
78
+ externalAttachment: string;
79
+ externalHint: string;
80
+ missingHint: string;
81
+ unavailableSummary: string;
82
+ rename: string;
83
+ saveName: string;
84
+ cancel: string;
85
+ invalidName: string;
86
+ renameFailed: string;
87
+ actions: string;
88
+ linkSaveFailed: string;
89
+ conversionFailed: string;
90
+ converted: string;
91
+ open: string;
92
+ converting: string;
93
+ openSlide: string;
94
+ openDoc: string;
95
+ openSheet: string;
96
+ convertSlide: string;
97
+ convertDoc: string;
98
+ convertSheet: string;
99
+ nativePreviewHint: string;
100
+ attachment: string;
101
+ external: string;
102
+ missing: string;
103
+ opaque: string;
104
+ download: string;
105
+ preview: string;
106
+ remove: string;
107
+ failed: string;
108
+ unsupported: string;
109
+ };
73
110
  mobile: {
74
111
  close: string;
75
112
  more: string;
@@ -70,6 +70,43 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ ole: {
74
+ progressReading: string;
75
+ progressUploading: string;
76
+ progressCreating: string;
77
+ progressSaving: string;
78
+ externalAttachment: string;
79
+ externalHint: string;
80
+ missingHint: string;
81
+ unavailableSummary: string;
82
+ rename: string;
83
+ saveName: string;
84
+ cancel: string;
85
+ invalidName: string;
86
+ renameFailed: string;
87
+ actions: string;
88
+ linkSaveFailed: string;
89
+ conversionFailed: string;
90
+ converted: string;
91
+ open: string;
92
+ converting: string;
93
+ openSlide: string;
94
+ openDoc: string;
95
+ openSheet: string;
96
+ convertSlide: string;
97
+ convertDoc: string;
98
+ convertSheet: string;
99
+ nativePreviewHint: string;
100
+ attachment: string;
101
+ external: string;
102
+ missing: string;
103
+ opaque: string;
104
+ download: string;
105
+ preview: string;
106
+ remove: string;
107
+ failed: string;
108
+ unsupported: string;
109
+ };
73
110
  mobile: {
74
111
  close: string;
75
112
  more: string;
@@ -70,6 +70,43 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ ole: {
74
+ progressReading: string;
75
+ progressUploading: string;
76
+ progressCreating: string;
77
+ progressSaving: string;
78
+ externalAttachment: string;
79
+ externalHint: string;
80
+ missingHint: string;
81
+ unavailableSummary: string;
82
+ rename: string;
83
+ saveName: string;
84
+ cancel: string;
85
+ invalidName: string;
86
+ renameFailed: string;
87
+ actions: string;
88
+ linkSaveFailed: string;
89
+ conversionFailed: string;
90
+ converted: string;
91
+ open: string;
92
+ converting: string;
93
+ openSlide: string;
94
+ openDoc: string;
95
+ openSheet: string;
96
+ convertSlide: string;
97
+ convertDoc: string;
98
+ convertSheet: string;
99
+ nativePreviewHint: string;
100
+ attachment: string;
101
+ external: string;
102
+ missing: string;
103
+ opaque: string;
104
+ download: string;
105
+ preview: string;
106
+ remove: string;
107
+ failed: string;
108
+ unsupported: string;
109
+ };
73
110
  mobile: {
74
111
  close: string;
75
112
  more: string;
@@ -70,6 +70,43 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ ole: {
74
+ progressReading: string;
75
+ progressUploading: string;
76
+ progressCreating: string;
77
+ progressSaving: string;
78
+ externalAttachment: string;
79
+ externalHint: string;
80
+ missingHint: string;
81
+ unavailableSummary: string;
82
+ rename: string;
83
+ saveName: string;
84
+ cancel: string;
85
+ invalidName: string;
86
+ renameFailed: string;
87
+ actions: string;
88
+ linkSaveFailed: string;
89
+ conversionFailed: string;
90
+ converted: string;
91
+ open: string;
92
+ converting: string;
93
+ openSlide: string;
94
+ openDoc: string;
95
+ openSheet: string;
96
+ convertSlide: string;
97
+ convertDoc: string;
98
+ convertSheet: string;
99
+ nativePreviewHint: string;
100
+ attachment: string;
101
+ external: string;
102
+ missing: string;
103
+ opaque: string;
104
+ download: string;
105
+ preview: string;
106
+ remove: string;
107
+ failed: string;
108
+ unsupported: string;
109
+ };
73
110
  mobile: {
74
111
  close: string;
75
112
  more: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-drawing",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "private": false,
5
5
  "description": "Preset for drawing capabilities in Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,25 +56,25 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/core": "1.3.0",
60
- "@univerjs/docs-drawing": "1.3.0",
61
- "@univerjs/docs-drawing-ui": "1.3.0",
62
- "@univerjs/drawing": "1.3.0",
63
- "@univerjs/drawing-ui": "1.3.0"
59
+ "@univerjs/core": "1.4.0",
60
+ "@univerjs/docs-drawing": "1.4.0",
61
+ "@univerjs/docs-drawing-ui": "1.4.0",
62
+ "@univerjs/drawing": "1.4.0",
63
+ "@univerjs/drawing-ui": "1.4.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@univerjs-infra/shared": "1.3.0",
67
- "@univerjs/presets": "1.3.0",
66
+ "@univerjs-infra/shared": "1.4.0",
67
+ "@univerjs/presets": "1.4.0",
68
68
  "react": "18.3.1",
69
69
  "react-dom": "18.3.1",
70
70
  "rxjs": "7.8.2",
71
- "typescript": "^6.0.3"
71
+ "tsrs": "0.20.1-ts7.1.0-beta"
72
72
  },
73
73
  "scripts": {
74
74
  "build:bundle": "univer-cli preset build --cleanup",
75
- "build:types": "tsc -p tsconfig.node.json",
75
+ "build:types": "tsrs -p tsconfig.node.json",
76
76
  "build": "pnpm run build:bundle && pnpm run build:types",
77
- "typecheck": "tsc --noEmit"
77
+ "typecheck": "tsrs --noEmit"
78
78
  },
79
79
  "module": "./lib/es/index.js"
80
80
  }