rita-workspace 0.4.6 → 0.4.7
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/dist/index.d.mts +11 -8
- package/dist/index.d.ts +11 -8
- package/dist/index.js +294 -356
- package/dist/index.mjs +294 -356
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -70,6 +70,16 @@ interface Translations {
|
|
|
70
70
|
save: string;
|
|
71
71
|
cancel: string;
|
|
72
72
|
confirm: string;
|
|
73
|
+
sectionDrawings: string;
|
|
74
|
+
sectionWorkspace: string;
|
|
75
|
+
createNewDrawing: string;
|
|
76
|
+
createNewDrawingDesc: string;
|
|
77
|
+
openFromFile: string;
|
|
78
|
+
openFromFileDesc: string;
|
|
79
|
+
saveAllBackup: string;
|
|
80
|
+
saveAllBackupDesc: string;
|
|
81
|
+
loadBackup: string;
|
|
82
|
+
loadBackupDesc: string;
|
|
73
83
|
noDrawingsYet: string;
|
|
74
84
|
clickNewToStart: string;
|
|
75
85
|
modified: string;
|
|
@@ -80,14 +90,7 @@ interface Translations {
|
|
|
80
90
|
importDrawing: string;
|
|
81
91
|
shortcutNewDrawing: string;
|
|
82
92
|
}
|
|
83
|
-
/**
|
|
84
|
-
* Get translations for a language code
|
|
85
|
-
* Falls back to English if language is not supported
|
|
86
|
-
*/
|
|
87
93
|
declare function getTranslations(langCode?: string): Translations;
|
|
88
|
-
/**
|
|
89
|
-
* Check if a language is supported
|
|
90
|
-
*/
|
|
91
94
|
declare function isLanguageSupported(langCode?: string): boolean;
|
|
92
95
|
|
|
93
96
|
interface WorkspaceContextValue {
|
|
@@ -216,7 +219,7 @@ declare const WorkspaceMenuItems: React.FC<WorkspaceMenuItemsProps>;
|
|
|
216
219
|
* Drawings Dialog
|
|
217
220
|
*
|
|
218
221
|
* A draggable modal dialog for managing all drawings in the workspace.
|
|
219
|
-
*
|
|
222
|
+
* Design by Johan.
|
|
220
223
|
*/
|
|
221
224
|
|
|
222
225
|
interface DrawingsDialogProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -70,6 +70,16 @@ interface Translations {
|
|
|
70
70
|
save: string;
|
|
71
71
|
cancel: string;
|
|
72
72
|
confirm: string;
|
|
73
|
+
sectionDrawings: string;
|
|
74
|
+
sectionWorkspace: string;
|
|
75
|
+
createNewDrawing: string;
|
|
76
|
+
createNewDrawingDesc: string;
|
|
77
|
+
openFromFile: string;
|
|
78
|
+
openFromFileDesc: string;
|
|
79
|
+
saveAllBackup: string;
|
|
80
|
+
saveAllBackupDesc: string;
|
|
81
|
+
loadBackup: string;
|
|
82
|
+
loadBackupDesc: string;
|
|
73
83
|
noDrawingsYet: string;
|
|
74
84
|
clickNewToStart: string;
|
|
75
85
|
modified: string;
|
|
@@ -80,14 +90,7 @@ interface Translations {
|
|
|
80
90
|
importDrawing: string;
|
|
81
91
|
shortcutNewDrawing: string;
|
|
82
92
|
}
|
|
83
|
-
/**
|
|
84
|
-
* Get translations for a language code
|
|
85
|
-
* Falls back to English if language is not supported
|
|
86
|
-
*/
|
|
87
93
|
declare function getTranslations(langCode?: string): Translations;
|
|
88
|
-
/**
|
|
89
|
-
* Check if a language is supported
|
|
90
|
-
*/
|
|
91
94
|
declare function isLanguageSupported(langCode?: string): boolean;
|
|
92
95
|
|
|
93
96
|
interface WorkspaceContextValue {
|
|
@@ -216,7 +219,7 @@ declare const WorkspaceMenuItems: React.FC<WorkspaceMenuItemsProps>;
|
|
|
216
219
|
* Drawings Dialog
|
|
217
220
|
*
|
|
218
221
|
* A draggable modal dialog for managing all drawings in the workspace.
|
|
219
|
-
*
|
|
222
|
+
* Design by Johan.
|
|
220
223
|
*/
|
|
221
224
|
|
|
222
225
|
interface DrawingsDialogProps {
|