@terraware/web-components 4.3.3 → 5.0.1-rc.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 (75) hide show
  1. package/components/VirtualWalkthrough/AnnotationEditPane.d.ts +1 -21
  2. package/components/VirtualWalkthrough/AnnotationEditPane.d.ts.map +1 -1
  3. package/components/VirtualWalkthrough/AnnotationEditPane.js +18 -17
  4. package/components/VirtualWalkthrough/BoundaryWall.d.ts +0 -1
  5. package/components/VirtualWalkthrough/BoundaryWall.d.ts.map +1 -1
  6. package/components/VirtualWalkthrough/CameraInfo.d.ts +1 -7
  7. package/components/VirtualWalkthrough/CameraInfo.d.ts.map +1 -1
  8. package/components/VirtualWalkthrough/CameraInfo.js +5 -4
  9. package/components/VirtualWalkthrough/ControlsInfoPane.d.ts +1 -25
  10. package/components/VirtualWalkthrough/ControlsInfoPane.d.ts.map +1 -1
  11. package/components/VirtualWalkthrough/ControlsInfoPane.js +23 -22
  12. package/components/VirtualWalkthrough/SplatControls.d.ts +1 -20
  13. package/components/VirtualWalkthrough/SplatControls.d.ts.map +1 -1
  14. package/components/VirtualWalkthrough/SplatControls.js +15 -16
  15. package/components/VirtualWalkthrough/SplatModel.d.ts +6 -1
  16. package/components/VirtualWalkthrough/SplatModel.d.ts.map +1 -1
  17. package/components/VirtualWalkthrough/SplatModel.js +2 -0
  18. package/components/VirtualWalkthrough/TfAnnotationManager.d.ts +2 -9
  19. package/components/VirtualWalkthrough/TfAnnotationManager.d.ts.map +1 -1
  20. package/components/VirtualWalkthrough/TfAnnotationManager.js +11 -32
  21. package/components/VirtualWalkthrough/VirtualWalkthroughViewer.d.ts +15 -3
  22. package/components/VirtualWalkthrough/VirtualWalkthroughViewer.d.ts.map +1 -1
  23. package/components/VirtualWalkthrough/VirtualWalkthroughViewer.js +51 -29
  24. package/components/VirtualWalkthrough/VrAnnotationPanel.d.ts +1 -2
  25. package/components/VirtualWalkthrough/VrAnnotationPanel.d.ts.map +1 -1
  26. package/components/VirtualWalkthrough/VrAnnotationPanel.js +2 -4
  27. package/components/VirtualWalkthrough/XrStartPose.d.ts +52 -0
  28. package/components/VirtualWalkthrough/XrStartPose.d.ts.map +1 -0
  29. package/components/VirtualWalkthrough/XrStartPose.js +128 -0
  30. package/components/VirtualWalkthrough/boundary-wall.d.ts +0 -2
  31. package/components/VirtualWalkthrough/boundary-wall.d.ts.map +1 -1
  32. package/components/VirtualWalkthrough/boundary-wall.js +0 -2
  33. package/components/VirtualWalkthrough/vr-annotation-panel.d.ts +0 -1
  34. package/components/VirtualWalkthrough/vr-annotation-panel.d.ts.map +1 -1
  35. package/components/VirtualWalkthrough/vr-annotation-panel.js +6 -9
  36. package/components/VirtualWalkthrough/walkthrough-camera.d.ts +0 -1
  37. package/components/VirtualWalkthrough/walkthrough-camera.d.ts.map +1 -1
  38. package/components/VirtualWalkthrough/walkthrough-camera.js +3 -5
  39. package/components/VirtualWalkthrough/xr-start-pose.d.ts +57 -0
  40. package/components/VirtualWalkthrough/xr-start-pose.d.ts.map +1 -0
  41. package/components/VirtualWalkthrough/xr-start-pose.js +80 -0
  42. package/index.d.ts +5 -1
  43. package/index.d.ts.map +1 -1
  44. package/index.js +2 -0
  45. package/license-report.html +1 -1
  46. package/package.json +2 -1
  47. package/strings/csv/en.csv +50 -0
  48. package/strings/csv/es.csv +50 -0
  49. package/strings/csv/fr.csv +50 -0
  50. package/strings/csv/instructions-es.txt +14 -0
  51. package/strings/csv/instructions-fr.txt +14 -0
  52. package/strings/csv/instructions.txt +13 -0
  53. package/strings/export.d.ts +36 -0
  54. package/strings/export.d.ts.map +1 -0
  55. package/strings/export.js +116 -0
  56. package/strings/index.d.ts +22 -0
  57. package/strings/index.d.ts.map +1 -0
  58. package/strings/index.js +62 -0
  59. package/strings/locales.d.ts +38 -0
  60. package/strings/locales.d.ts.map +1 -0
  61. package/strings/locales.js +42 -0
  62. package/strings/strings-en.d.ts +52 -0
  63. package/strings/strings-en.d.ts.map +1 -0
  64. package/strings/strings-en.js +54 -0
  65. package/strings/strings-es.d.ts +52 -0
  66. package/strings/strings-es.d.ts.map +1 -0
  67. package/strings/strings-es.js +54 -0
  68. package/strings/strings-fr.d.ts +52 -0
  69. package/strings/strings-fr.d.ts.map +1 -0
  70. package/strings/strings-fr.js +54 -0
  71. package/strings/strings-gx.d.ts +52 -0
  72. package/strings/strings-gx.d.ts.map +1 -0
  73. package/strings/strings-gx.js +54 -0
  74. package/virtualWalkthrough.d.ts +2 -4
  75. package/virtualWalkthrough.d.ts.map +1 -1
@@ -0,0 +1,116 @@
1
+ import { parse } from 'csv-parse/sync';
2
+ import { readdir, readFile, writeFile } from 'node:fs/promises';
3
+ import path from 'node:path';
4
+ import { resolveConfig, format } from 'prettier';
5
+
6
+ /**
7
+ * Renders the CSV string tables as TypeScript source.
8
+ *
9
+ * This runs at build time, not at runtime. Nothing in the component runtime imports it, so its Node
10
+ * and CSV dependencies never reach a browser bundle. It's published rather than kept in scripts/ so
11
+ * that applications sharing these string tables can drive the same conversion.
12
+ */
13
+ const GENERATED_HEADER = '/* Generated from the CSV files in csv/ by `yarn generate-strings`. Do not edit. */';
14
+
15
+ /**
16
+ * Loads a CSV strings file into an object, taking keys and values from the first two columns.
17
+ */
18
+ const csvToStrings = csvData => {
19
+ const rows = parse(csvData, {
20
+ // Skip header row
21
+ from: 2,
22
+ // Only rows for strings that have comments have 3 fields.
23
+ relax_column_count_less: true,
24
+ // Skip empty "row" that is really just the terminating linefeed
25
+ skip_empty_lines: true
26
+ });
27
+ return rows.reduce((result, row) => {
28
+ result[row[0]] = row[1];
29
+ return result;
30
+ }, {});
31
+ };
32
+
33
+ /**
34
+ * Renders a strings object as a TypeScript module that exports a constant called "strings",
35
+ * formatted the way the repository's Prettier configuration wants it so that generating a table and
36
+ * formatting the tree don't fight over the result.
37
+ */
38
+ const stringsToTypeScript = async (stringsMap, targetPath) => {
39
+ const source = `${GENERATED_HEADER}\nexport const strings = ${JSON.stringify(stringsMap, null, 2)};\n`;
40
+ const prettierConfig = await resolveConfig(targetPath);
41
+ return format(source, {
42
+ ...prettierConfig,
43
+ filepath: targetPath
44
+ });
45
+ };
46
+
47
+ /**
48
+ * Transforms the English strings table into gibberish, which makes untranslated text obvious
49
+ * without waiting on a translation.
50
+ *
51
+ * 1. Split the English string into whitespace-delimited words.
52
+ * 2. Reverse the order of the words.
53
+ * 3. Render each word as a base64 encoding of its UTF-8 representation, except for words that look
54
+ * like format string placeholders.
55
+ */
56
+ const generateGibberish = english => Object.fromEntries(Object.entries(english).map(([key, value]) => [key, value.split(' ').reverse().map(word => word.startsWith('{') ? word : Buffer.from(word, 'utf-8').toString('base64').replace(/=/g, '')).join(' ')]));
57
+ const exportStrings = async (englishStrings, localizedStrings, locale, targetDir, defaultToEnglish) => {
58
+ const stringsMap = {};
59
+ for (const key of Object.keys(englishStrings)) {
60
+ if (key in localizedStrings) {
61
+ stringsMap[key] = localizedStrings[key];
62
+ } else {
63
+ console.warn(`Locale ${locale} has no translation for ${key}`);
64
+ if (defaultToEnglish) {
65
+ stringsMap[key] = englishStrings[key];
66
+ }
67
+ }
68
+ }
69
+ const targetPath = path.resolve(targetDir, `strings-${locale}.ts`);
70
+ await writeFile(targetPath, await stringsToTypeScript(stringsMap, targetPath), {
71
+ encoding: 'utf-8'
72
+ });
73
+ };
74
+
75
+ /**
76
+ * Converts a CSV strings file to a TypeScript source file that exports a constant called "strings".
77
+ * This will be an object that has the same keys as the English strings file; the English strings
78
+ * will be used for any keys that aren't translated yet.
79
+ *
80
+ * The filename is assumed to be the locale code with a ".csv" suffix. Converting the English file
81
+ * also writes the gibberish table, which is derived from English rather than translated.
82
+ */
83
+ const convertCsvFile = async (csvPath, targetDir, defaultToEnglish = true) => {
84
+ if (!csvPath.endsWith('.csv')) {
85
+ throw new Error('Cannot convert a non-CSV file');
86
+ }
87
+ const locale = path.basename(csvPath, '.csv');
88
+ const stringsMap = csvToStrings(await readFile(csvPath, {
89
+ encoding: 'utf-8'
90
+ }));
91
+ let englishStringsMap;
92
+ if (locale === 'en') {
93
+ englishStringsMap = stringsMap;
94
+ } else {
95
+ const englishPath = path.resolve(path.dirname(csvPath), 'en.csv');
96
+ englishStringsMap = csvToStrings(await readFile(englishPath, {
97
+ encoding: 'utf-8'
98
+ }));
99
+ }
100
+ await exportStrings(englishStringsMap, stringsMap, locale, targetDir, defaultToEnglish);
101
+ if (locale === 'en') {
102
+ await exportStrings(englishStringsMap, generateGibberish(englishStringsMap), 'gx', targetDir, defaultToEnglish);
103
+ }
104
+ };
105
+
106
+ /**
107
+ * Converts the CSV files for all locales to TypeScript source files. The list of locales is
108
+ * determined by the presence of CSV files.
109
+ */
110
+ const convertAllLocales = async (csvDir, stringsDir, defaultToEnglish = true) => {
111
+ const csvFiles = (await readdir(csvDir)).filter(filename => filename.endsWith('.csv'));
112
+ await Promise.all(csvFiles.map(filename => convertCsvFile(path.join(csvDir, filename), stringsDir, defaultToEnglish)));
113
+ return csvFiles;
114
+ };
115
+
116
+ export { convertAllLocales, convertCsvFile, csvToStrings, generateGibberish, stringsToTypeScript };
@@ -0,0 +1,22 @@
1
+ import { strings as en } from './strings-en';
2
+ /**
3
+ * The set of strings every locale provides. The English table is the source of truth for the list
4
+ * of keys.
5
+ */
6
+ export type ComponentStrings = typeof en;
7
+ /**
8
+ * Sets the locale these components render in. Consumers own the locale -- a component library has
9
+ * no reliable way to know whether the browser's language or a user's profile setting should win --
10
+ * so nothing here changes until an application calls this. Accepts a bare language tag or one with
11
+ * a region ('es' or 'es-MX').
12
+ */
13
+ export declare const setLocale: (locale: string) => void;
14
+ /** The resolved locale, which is also the locale to hand to Intl and other formatters. */
15
+ export declare const getLocale: () => string;
16
+ /**
17
+ * The current string table. For components, prefer `useStrings`, which re-renders on a locale
18
+ * change; this is for the imperative code that can't hold a hook, such as PlayCanvas scripts.
19
+ */
20
+ export declare const getStrings: () => ComponentStrings;
21
+ export declare const useStrings: () => ComponentStrings;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/strings/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,MAAM,cAAc,CAAC;AAK7C;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,EAAE,CAAC;AAgBzC;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,KAAG,IAS1C,CAAC;AAEF,0FAA0F;AAC1F,eAAO,MAAM,SAAS,QAAO,MAAuB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,UAAU,QAAO,gBAAkC,CAAC;AAUjE,eAAO,MAAM,UAAU,QAAO,gBAA2E,CAAC"}
@@ -0,0 +1,62 @@
1
+ import { useSyncExternalStore } from 'react';
2
+ import { findLocaleDetails, supportedLocales } from './locales.js';
3
+ import { strings } from './strings-en.js';
4
+ import { strings as strings$3 } from './strings-es.js';
5
+ import { strings as strings$2 } from './strings-fr.js';
6
+ import { strings as strings$1 } from './strings-gx.js';
7
+
8
+ /**
9
+ * The set of strings every locale provides. The English table is the source of truth for the list
10
+ * of keys.
11
+ */
12
+
13
+ const tables = {
14
+ en: strings,
15
+ es: strings$3,
16
+ fr: strings$2,
17
+ gx: strings$1
18
+ };
19
+
20
+ /**
21
+ * Locales we have a bundled string table for. A locale can be supported -- listed in a locale
22
+ * selector -- before its table lands, and resolving against the tables we actually have keeps
23
+ * `getLocale` and `getStrings` describing the same language.
24
+ */
25
+ const localesWithTables = () => supportedLocales.filter(locale => locale.id in tables);
26
+ let currentLocale = 'en';
27
+ let currentStrings = strings;
28
+ const listeners = new Set();
29
+
30
+ /**
31
+ * Sets the locale these components render in. Consumers own the locale -- a component library has
32
+ * no reliable way to know whether the browser's language or a user's profile setting should win --
33
+ * so nothing here changes until an application calls this. Accepts a bare language tag or one with
34
+ * a region ('es' or 'es-MX').
35
+ */
36
+ const setLocale = locale => {
37
+ const resolved = findLocaleDetails(localesWithTables(), locale).id;
38
+ if (resolved === currentLocale) {
39
+ return;
40
+ }
41
+ currentLocale = resolved;
42
+ currentStrings = tables[resolved] ?? strings;
43
+ listeners.forEach(notify => notify());
44
+ };
45
+
46
+ /** The resolved locale, which is also the locale to hand to Intl and other formatters. */
47
+ const getLocale = () => currentLocale;
48
+
49
+ /**
50
+ * The current string table. For components, prefer `useStrings`, which re-renders on a locale
51
+ * change; this is for the imperative code that can't hold a hook, such as PlayCanvas scripts.
52
+ */
53
+ const getStrings = () => currentStrings;
54
+ const subscribe = notify => {
55
+ listeners.add(notify);
56
+ return () => {
57
+ listeners.delete(notify);
58
+ };
59
+ };
60
+ const useStrings = () => useSyncExternalStore(subscribe, getStrings, getStrings);
61
+
62
+ export { getLocale, getStrings, setLocale, useStrings };
@@ -0,0 +1,38 @@
1
+ export interface LocaleDetails {
2
+ /**
3
+ * Locale identifier. This must start with a language tag (2 or 3 letters) and may optionally
4
+ * have a hyphen and a location code. For example, 'en' or 'en-US'.
5
+ */
6
+ id: string;
7
+ /**
8
+ * Name of the locale as it appears in a locale selector. This will typically be the name of the
9
+ * locale in whatever language the locale uses. That is, 'Español' and not 'Spanish'.
10
+ */
11
+ name: string;
12
+ /**
13
+ * Whether this locale is in development and not ready for production.
14
+ */
15
+ inDevelopment?: boolean;
16
+ }
17
+ /** Supported locales in the order they should appear in a locale selector. */
18
+ export declare const supportedLocales: LocaleDetails[];
19
+ /**
20
+ * Returns the locales that should be offered to users. Locales still in development are left out
21
+ * unless they're asked for, which is how a consumer exposes them outside of production.
22
+ */
23
+ export declare const getSupportedLocales: (includeInDevelopment?: boolean) => LocaleDetails[];
24
+ /**
25
+ * Returns the locale from a list of locales that matches the user's selected language.
26
+ *
27
+ * The user's locale can include both a language and a country code, but entries in a list of
28
+ * languages usually don't have country codes. So we need to find the entry that is the longest
29
+ * prefix of the user's locale.
30
+ *
31
+ * If the locale is es-MX and the list of locales only has es, we want the es item to be selected.
32
+ * But if the locale is zh-CN and the list has both zh-CN and zh-TW, we want zh-CN to be selected.
33
+ *
34
+ * If none of the locales in the list matches, returns the first locale from the list. The list
35
+ * must not be empty.
36
+ */
37
+ export declare const findLocaleDetails: (locales: LocaleDetails[], locale: string) => LocaleDetails;
38
+ //# sourceMappingURL=locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/strings/locales.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,8EAA8E;AAC9E,eAAO,MAAM,gBAAgB,EAAE,aAAa,EAK3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,8BAA4B,KAAG,aAAa,EACsB,CAAC;AAEvG;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,aAAa,EAAE,EAAE,QAAQ,MAAM,KAAG,aAQ1E,CAAC"}
@@ -0,0 +1,42 @@
1
+ /** Supported locales in the order they should appear in a locale selector. */
2
+ const supportedLocales = [{
3
+ id: 'en',
4
+ name: 'English'
5
+ }, {
6
+ id: 'es',
7
+ name: 'Español'
8
+ }, {
9
+ id: 'fr',
10
+ name: 'Français'
11
+ }, {
12
+ id: 'gx',
13
+ name: 'Gibberish',
14
+ inDevelopment: true
15
+ }];
16
+
17
+ /**
18
+ * Returns the locales that should be offered to users. Locales still in development are left out
19
+ * unless they're asked for, which is how a consumer exposes them outside of production.
20
+ */
21
+ const getSupportedLocales = (includeInDevelopment = false) => includeInDevelopment ? supportedLocales : supportedLocales.filter(locale => !locale.inDevelopment);
22
+
23
+ /**
24
+ * Returns the locale from a list of locales that matches the user's selected language.
25
+ *
26
+ * The user's locale can include both a language and a country code, but entries in a list of
27
+ * languages usually don't have country codes. So we need to find the entry that is the longest
28
+ * prefix of the user's locale.
29
+ *
30
+ * If the locale is es-MX and the list of locales only has es, we want the es item to be selected.
31
+ * But if the locale is zh-CN and the list has both zh-CN and zh-TW, we want zh-CN to be selected.
32
+ *
33
+ * If none of the locales in the list matches, returns the first locale from the list. The list
34
+ * must not be empty.
35
+ */
36
+ const findLocaleDetails = (locales, locale) => locales.reduce((bestMatch, candidate) =>
37
+ // The best match so far is only worth keeping if it's a prefix of the requested locale too.
38
+ // reduce() seeds with the first locale without checking it, so a leading 'en-US' would
39
+ // otherwise be treated as a match for 'en' and never replaced.
40
+ locale.startsWith(candidate.id) && (!locale.startsWith(bestMatch.id) || candidate.id.length > bestMatch.id.length) ? candidate : bestMatch);
41
+
42
+ export { findLocaleDetails, getSupportedLocales, supportedLocales };
@@ -0,0 +1,52 @@
1
+ export declare const strings: {
2
+ ADD_ANNOTATION: string;
3
+ ANNOTATION_DESCRIPTION_TOOLTIP: string;
4
+ ANNOTATION_LABEL_TOOLTIP: string;
5
+ ANNOTATION_TITLE_TOOLTIP: string;
6
+ ANNOTATIONS: string;
7
+ AR: string;
8
+ ARROW_KEYS: string;
9
+ AUTO_ROTATE: string;
10
+ BOUNDED_FLY: string;
11
+ CAMERA_FOCUS_POINT: string;
12
+ CAMERA_INFO: string;
13
+ CAMERA_POSITION: string;
14
+ CANCEL: string;
15
+ CHOOSE_FILE: string;
16
+ CONTROLS: string;
17
+ CTRL: string;
18
+ DELETE_ANNOTATION: string;
19
+ DESCRIPTION: string;
20
+ DESELECT_ANNOTATION: string;
21
+ EDIT: string;
22
+ EDIT_ANNOTATION: string;
23
+ EXISTING: string;
24
+ FILE_SELECTED: string;
25
+ FLY: string;
26
+ FLY_FASTER: string;
27
+ FLY_SLOWER: string;
28
+ FREE_FLY: string;
29
+ IMAGES: string;
30
+ LABEL: string;
31
+ LEFT_MOUSE: string;
32
+ LOOK: string;
33
+ MIDDLE_MOUSE: string;
34
+ MOUSE_WHEEL: string;
35
+ NEW: string;
36
+ ORBIT: string;
37
+ PAN: string;
38
+ PINCH: string;
39
+ REPLACE_FILE: string;
40
+ RESET_CAMERA: string;
41
+ RIGHT_MOUSE: string;
42
+ SAVE: string;
43
+ SHIFT: string;
44
+ SWIPE: string;
45
+ TITLE: string;
46
+ TOUCH_DRAG: string;
47
+ UPLOAD_FILES: string;
48
+ UPLOAD_FILES_DESCRIPTION: string;
49
+ VR: string;
50
+ ZOOM: string;
51
+ };
52
+ //# sourceMappingURL=strings-en.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings-en.d.ts","sourceRoot":"","sources":["../../src/strings/strings-en.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDnB,CAAC"}
@@ -0,0 +1,54 @@
1
+ /* Generated from the CSV files in csv/ by `yarn generate-strings`. Do not edit. */
2
+ const strings = {
3
+ ADD_ANNOTATION: 'Add Annotation',
4
+ ANNOTATION_DESCRIPTION_TOOLTIP: 'Additional details or context about this annotation',
5
+ ANNOTATION_LABEL_TOOLTIP: 'Short identifier displayed on the annotation hotspot',
6
+ ANNOTATION_TITLE_TOOLTIP: 'Main heading for the annotation',
7
+ ANNOTATIONS: 'Annotations',
8
+ AR: 'AR',
9
+ ARROW_KEYS: 'Arrow Keys',
10
+ AUTO_ROTATE: 'Auto Rotate',
11
+ BOUNDED_FLY: 'Bounded-fly',
12
+ CAMERA_FOCUS_POINT: 'Focus Point',
13
+ CAMERA_INFO: 'Camera Info',
14
+ CAMERA_POSITION: 'Position',
15
+ CANCEL: 'Cancel',
16
+ CHOOSE_FILE: 'Choose File...',
17
+ CONTROLS: 'Controls',
18
+ CTRL: 'Ctrl',
19
+ DELETE_ANNOTATION: 'Delete Annotation',
20
+ DESCRIPTION: 'Description',
21
+ DESELECT_ANNOTATION: 'Deselect Annotation',
22
+ EDIT: 'Edit',
23
+ EDIT_ANNOTATION: 'Edit Annotation',
24
+ EXISTING: 'Existing',
25
+ FILE_SELECTED: 'File Selected',
26
+ FLY: 'Fly',
27
+ FLY_FASTER: 'Fly faster',
28
+ FLY_SLOWER: 'Fly slower',
29
+ FREE_FLY: 'Free-fly',
30
+ IMAGES: 'Images',
31
+ LABEL: 'Label',
32
+ LEFT_MOUSE: 'Left Mouse',
33
+ LOOK: 'Look',
34
+ MIDDLE_MOUSE: 'Middle Mouse',
35
+ MOUSE_WHEEL: 'Mouse Wheel',
36
+ NEW: 'New',
37
+ ORBIT: 'Orbit',
38
+ PAN: 'Pan',
39
+ PINCH: 'Pinch',
40
+ REPLACE_FILE: 'Replace File...',
41
+ RESET_CAMERA: 'Reset Camera',
42
+ RIGHT_MOUSE: 'Right Mouse',
43
+ SAVE: 'Save',
44
+ SHIFT: 'Shift',
45
+ SWIPE: 'Swipe',
46
+ TITLE: 'Title',
47
+ TOUCH_DRAG: 'Touch + Drag',
48
+ UPLOAD_FILES: 'Upload Files',
49
+ UPLOAD_FILES_DESCRIPTION: 'Browse or drag and drop files.',
50
+ VR: 'VR',
51
+ ZOOM: 'Zoom'
52
+ };
53
+
54
+ export { strings };
@@ -0,0 +1,52 @@
1
+ export declare const strings: {
2
+ ADD_ANNOTATION: string;
3
+ ANNOTATION_DESCRIPTION_TOOLTIP: string;
4
+ ANNOTATION_LABEL_TOOLTIP: string;
5
+ ANNOTATION_TITLE_TOOLTIP: string;
6
+ ANNOTATIONS: string;
7
+ AR: string;
8
+ ARROW_KEYS: string;
9
+ AUTO_ROTATE: string;
10
+ BOUNDED_FLY: string;
11
+ CAMERA_FOCUS_POINT: string;
12
+ CAMERA_INFO: string;
13
+ CAMERA_POSITION: string;
14
+ CANCEL: string;
15
+ CHOOSE_FILE: string;
16
+ CONTROLS: string;
17
+ CTRL: string;
18
+ DELETE_ANNOTATION: string;
19
+ DESCRIPTION: string;
20
+ DESELECT_ANNOTATION: string;
21
+ EDIT: string;
22
+ EDIT_ANNOTATION: string;
23
+ EXISTING: string;
24
+ FILE_SELECTED: string;
25
+ FLY: string;
26
+ FLY_FASTER: string;
27
+ FLY_SLOWER: string;
28
+ FREE_FLY: string;
29
+ IMAGES: string;
30
+ LABEL: string;
31
+ LEFT_MOUSE: string;
32
+ LOOK: string;
33
+ MIDDLE_MOUSE: string;
34
+ MOUSE_WHEEL: string;
35
+ NEW: string;
36
+ ORBIT: string;
37
+ PAN: string;
38
+ PINCH: string;
39
+ REPLACE_FILE: string;
40
+ RESET_CAMERA: string;
41
+ RIGHT_MOUSE: string;
42
+ SAVE: string;
43
+ SHIFT: string;
44
+ SWIPE: string;
45
+ TITLE: string;
46
+ TOUCH_DRAG: string;
47
+ UPLOAD_FILES: string;
48
+ UPLOAD_FILES_DESCRIPTION: string;
49
+ VR: string;
50
+ ZOOM: string;
51
+ };
52
+ //# sourceMappingURL=strings-es.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings-es.d.ts","sourceRoot":"","sources":["../../src/strings/strings-es.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDnB,CAAC"}
@@ -0,0 +1,54 @@
1
+ /* Generated from the CSV files in csv/ by `yarn generate-strings`. Do not edit. */
2
+ const strings = {
3
+ ADD_ANNOTATION: 'Agregar anotación',
4
+ ANNOTATION_DESCRIPTION_TOOLTIP: 'Detalles o contexto adicional sobre esta anotación',
5
+ ANNOTATION_LABEL_TOOLTIP: 'Identificador breve que se muestra en el punto destacado de la anotación',
6
+ ANNOTATION_TITLE_TOOLTIP: 'Título principal de la anotación',
7
+ ANNOTATIONS: 'Anotaciones',
8
+ AR: 'RA',
9
+ ARROW_KEYS: 'Flechas del teclado',
10
+ AUTO_ROTATE: 'Rotación automática',
11
+ BOUNDED_FLY: 'Vuelo delimitado',
12
+ CAMERA_FOCUS_POINT: 'Punto de enfoque',
13
+ CAMERA_INFO: 'Información de la cámara',
14
+ CAMERA_POSITION: 'Posición',
15
+ CANCEL: 'Cancelar',
16
+ CHOOSE_FILE: 'Seleccione archivo...',
17
+ CONTROLS: 'Controles',
18
+ CTRL: 'Ctrl',
19
+ DELETE_ANNOTATION: 'Eliminar anotación',
20
+ DESCRIPTION: 'Descripción',
21
+ DESELECT_ANNOTATION: 'Deseleccionar anotación',
22
+ EDIT: 'Editar',
23
+ EDIT_ANNOTATION: 'Editar anotación',
24
+ EXISTING: 'Existente',
25
+ FILE_SELECTED: 'Archivo seleccionado',
26
+ FLY: 'Volar',
27
+ FLY_FASTER: 'Volar más rápido',
28
+ FLY_SLOWER: 'Volar más lento',
29
+ FREE_FLY: 'Vuelo libre',
30
+ IMAGES: 'Imágenes',
31
+ LABEL: 'Etiqueta',
32
+ LEFT_MOUSE: 'Botón izquierdo del ratón',
33
+ LOOK: 'Mirar',
34
+ MIDDLE_MOUSE: 'Botón central del ratón',
35
+ MOUSE_WHEEL: 'Rueda del ratón',
36
+ NEW: 'Nuevo',
37
+ ORBIT: 'Orbitar',
38
+ PAN: 'Desplazar',
39
+ PINCH: 'Pellizcar',
40
+ REPLACE_FILE: 'Reemplazar archivo...',
41
+ RESET_CAMERA: 'Restablecer cámara',
42
+ RIGHT_MOUSE: 'Botón derecho del ratón',
43
+ SAVE: 'Guardar',
44
+ SHIFT: 'Shift',
45
+ SWIPE: 'Deslizar',
46
+ TITLE: 'Título',
47
+ TOUCH_DRAG: 'Tocar y arrastrar',
48
+ UPLOAD_FILES: 'Subir archivos',
49
+ UPLOAD_FILES_DESCRIPTION: 'Buscar o arrastrar y soltar archivos.',
50
+ VR: 'RV',
51
+ ZOOM: 'Acercar/alejar'
52
+ };
53
+
54
+ export { strings };
@@ -0,0 +1,52 @@
1
+ export declare const strings: {
2
+ ADD_ANNOTATION: string;
3
+ ANNOTATION_DESCRIPTION_TOOLTIP: string;
4
+ ANNOTATION_LABEL_TOOLTIP: string;
5
+ ANNOTATION_TITLE_TOOLTIP: string;
6
+ ANNOTATIONS: string;
7
+ AR: string;
8
+ ARROW_KEYS: string;
9
+ AUTO_ROTATE: string;
10
+ BOUNDED_FLY: string;
11
+ CAMERA_FOCUS_POINT: string;
12
+ CAMERA_INFO: string;
13
+ CAMERA_POSITION: string;
14
+ CANCEL: string;
15
+ CHOOSE_FILE: string;
16
+ CONTROLS: string;
17
+ CTRL: string;
18
+ DELETE_ANNOTATION: string;
19
+ DESCRIPTION: string;
20
+ DESELECT_ANNOTATION: string;
21
+ EDIT: string;
22
+ EDIT_ANNOTATION: string;
23
+ EXISTING: string;
24
+ FILE_SELECTED: string;
25
+ FLY: string;
26
+ FLY_FASTER: string;
27
+ FLY_SLOWER: string;
28
+ FREE_FLY: string;
29
+ IMAGES: string;
30
+ LABEL: string;
31
+ LEFT_MOUSE: string;
32
+ LOOK: string;
33
+ MIDDLE_MOUSE: string;
34
+ MOUSE_WHEEL: string;
35
+ NEW: string;
36
+ ORBIT: string;
37
+ PAN: string;
38
+ PINCH: string;
39
+ REPLACE_FILE: string;
40
+ RESET_CAMERA: string;
41
+ RIGHT_MOUSE: string;
42
+ SAVE: string;
43
+ SHIFT: string;
44
+ SWIPE: string;
45
+ TITLE: string;
46
+ TOUCH_DRAG: string;
47
+ UPLOAD_FILES: string;
48
+ UPLOAD_FILES_DESCRIPTION: string;
49
+ VR: string;
50
+ ZOOM: string;
51
+ };
52
+ //# sourceMappingURL=strings-fr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings-fr.d.ts","sourceRoot":"","sources":["../../src/strings/strings-fr.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDnB,CAAC"}
@@ -0,0 +1,54 @@
1
+ /* Generated from the CSV files in csv/ by `yarn generate-strings`. Do not edit. */
2
+ const strings = {
3
+ ADD_ANNOTATION: 'Ajouter une annotation',
4
+ ANNOTATION_DESCRIPTION_TOOLTIP: 'Détails ou contexte supplémentaires concernant cette annotation',
5
+ ANNOTATION_LABEL_TOOLTIP: 'Identifiant court affiché sur le point d’annotation',
6
+ ANNOTATION_TITLE_TOOLTIP: 'Titre principal de l’annotation',
7
+ ANNOTATIONS: 'Annotations',
8
+ AR: 'RA',
9
+ ARROW_KEYS: 'Touches fléchées',
10
+ AUTO_ROTATE: 'Rotation automatique',
11
+ BOUNDED_FLY: 'Vol limité',
12
+ CAMERA_FOCUS_POINT: 'Point de mise au point',
13
+ CAMERA_INFO: 'Informations sur la caméra',
14
+ CAMERA_POSITION: 'Position',
15
+ CANCEL: 'Annuler',
16
+ CHOOSE_FILE: 'Choisissez le fichier...',
17
+ CONTROLS: 'Commandes',
18
+ CTRL: 'Ctrl',
19
+ DELETE_ANNOTATION: 'Supprimer l’annotation',
20
+ DESCRIPTION: 'Description',
21
+ DESELECT_ANNOTATION: 'Désélectionner l’annotation',
22
+ EDIT: 'Modifier',
23
+ EDIT_ANNOTATION: 'Modifier l’annotation',
24
+ EXISTING: 'Existant',
25
+ FILE_SELECTED: 'Fichier sélectionné',
26
+ FLY: 'Voler',
27
+ FLY_FASTER: 'Voler plus vite',
28
+ FLY_SLOWER: 'Voler plus lentement',
29
+ FREE_FLY: 'Vol libre',
30
+ IMAGES: 'Images',
31
+ LABEL: 'Étiquette',
32
+ LEFT_MOUSE: 'Bouton gauche de la souris',
33
+ LOOK: 'Regarder',
34
+ MIDDLE_MOUSE: 'Bouton central de la souris',
35
+ MOUSE_WHEEL: 'Molette de la souris',
36
+ NEW: 'Nouveau',
37
+ ORBIT: 'Orbiter',
38
+ PAN: 'Déplacer',
39
+ PINCH: 'Pincer',
40
+ REPLACE_FILE: 'Remplacer le fichier...',
41
+ RESET_CAMERA: 'Réinitialiser la caméra',
42
+ RIGHT_MOUSE: 'Bouton droit de la souris',
43
+ SAVE: 'Sauvegarder',
44
+ SHIFT: 'Maj',
45
+ SWIPE: 'Glisser',
46
+ TITLE: 'Titre',
47
+ TOUCH_DRAG: 'Toucher + Glisser',
48
+ UPLOAD_FILES: 'Téléverser des fichiers',
49
+ UPLOAD_FILES_DESCRIPTION: 'Parcourir ou glisser-déposer des fichiers.',
50
+ VR: 'RV',
51
+ ZOOM: 'Zoom'
52
+ };
53
+
54
+ export { strings };
@@ -0,0 +1,52 @@
1
+ export declare const strings: {
2
+ ADD_ANNOTATION: string;
3
+ ANNOTATION_DESCRIPTION_TOOLTIP: string;
4
+ ANNOTATION_LABEL_TOOLTIP: string;
5
+ ANNOTATION_TITLE_TOOLTIP: string;
6
+ ANNOTATIONS: string;
7
+ AR: string;
8
+ ARROW_KEYS: string;
9
+ AUTO_ROTATE: string;
10
+ BOUNDED_FLY: string;
11
+ CAMERA_FOCUS_POINT: string;
12
+ CAMERA_INFO: string;
13
+ CAMERA_POSITION: string;
14
+ CANCEL: string;
15
+ CHOOSE_FILE: string;
16
+ CONTROLS: string;
17
+ CTRL: string;
18
+ DELETE_ANNOTATION: string;
19
+ DESCRIPTION: string;
20
+ DESELECT_ANNOTATION: string;
21
+ EDIT: string;
22
+ EDIT_ANNOTATION: string;
23
+ EXISTING: string;
24
+ FILE_SELECTED: string;
25
+ FLY: string;
26
+ FLY_FASTER: string;
27
+ FLY_SLOWER: string;
28
+ FREE_FLY: string;
29
+ IMAGES: string;
30
+ LABEL: string;
31
+ LEFT_MOUSE: string;
32
+ LOOK: string;
33
+ MIDDLE_MOUSE: string;
34
+ MOUSE_WHEEL: string;
35
+ NEW: string;
36
+ ORBIT: string;
37
+ PAN: string;
38
+ PINCH: string;
39
+ REPLACE_FILE: string;
40
+ RESET_CAMERA: string;
41
+ RIGHT_MOUSE: string;
42
+ SAVE: string;
43
+ SHIFT: string;
44
+ SWIPE: string;
45
+ TITLE: string;
46
+ TOUCH_DRAG: string;
47
+ UPLOAD_FILES: string;
48
+ UPLOAD_FILES_DESCRIPTION: string;
49
+ VR: string;
50
+ ZOOM: string;
51
+ };
52
+ //# sourceMappingURL=strings-gx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings-gx.d.ts","sourceRoot":"","sources":["../../src/strings/strings-gx.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDnB,CAAC"}