@synopackageland/ui 0.5.6 → 0.5.8
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/README.md +117 -9
- package/dist/components/app/app-sidebar/AppSidebar.vue.d.ts +0 -3
- package/dist/components/composite/about-dialog/AboutDialog.vue.d.ts +0 -12
- package/dist/components/composite/callout/Callout.vue.d.ts +0 -1
- package/dist/components/composite/copy-cut-field/CopyCutField.vue.d.ts +0 -2
- package/dist/components/composite/data-grid/labels.d.ts +2 -0
- package/dist/components/composite/data-table/DataTable.vue.d.ts +0 -1
- package/dist/components/composite/form/rules.d.ts +3 -0
- package/dist/components/composite/message-box/MessageBox.vue.d.ts +0 -5
- package/dist/components/composite/message-box/controller.d.ts +2 -1
- package/dist/components/composite/overflow-toolbar/OverflowToolbar.vue.d.ts +0 -4
- package/dist/components/composite/repeat-rows/RepeatRow.vue.d.ts +0 -1
- package/dist/components/composite/search-field/SearchField.vue.d.ts +0 -2
- package/dist/components/composite/tree-view/TreeView.vue.d.ts +0 -1
- package/dist/components/composite/wizard/Wizard.vue.d.ts +0 -6
- package/dist/components/containers/panel/Panel.vue.d.ts +0 -2
- package/dist/components/feedback/info-tip/InfoTip.vue.d.ts +0 -1
- package/dist/components/feedback/notification/Notification.vue.d.ts +0 -1
- package/dist/components/feedback/notification/NotificationProvider.vue.d.ts +0 -2
- package/dist/components/primitives/breadcrumb/Breadcrumb.vue.d.ts +0 -1
- package/dist/components/primitives/color-picker/ColorPicker.vue.d.ts +0 -2
- package/dist/components/primitives/date-picker/DatePicker.vue.d.ts +0 -1
- package/dist/components/primitives/dialog/Dialog.vue.d.ts +0 -1
- package/dist/components/primitives/input-steppers/InputSteppers.vue.d.ts +0 -13
- package/dist/components/primitives/link/Link.vue.d.ts +0 -2
- package/dist/components/primitives/loading/LoadingIndicator.vue.d.ts +0 -1
- package/dist/components/primitives/pagination/labels.d.ts +1 -0
- package/dist/components/primitives/select/Select.vue.d.ts +0 -4
- package/dist/components/primitives/select/internal/ComboboxField.vue.d.ts +0 -6
- package/dist/components/primitives/sheet/Sheet.vue.d.ts +0 -1
- package/dist/components/primitives/slider/Slider.vue.d.ts +0 -1
- package/dist/components/primitives/spinner/Spinner.vue.d.ts +0 -1
- package/dist/components/primitives/split-button/SplitButton.vue.d.ts +0 -1
- package/dist/components/primitives/tag/Tag.vue.d.ts +0 -1
- package/dist/components/primitives/toast/ToastProvider.vue.d.ts +3 -1
- package/dist/components/primitives/typography/TypoHeader.vue.d.ts +0 -1
- package/dist/components/primitives/typography/typography.d.ts +1 -1
- package/dist/i18n/text.d.ts +140 -0
- package/dist/index.js +12821 -11612
- package/dist/reka-runtime.json +1 -1
- package/dist/themes/dsm7-embedded-reset.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { UiLocale } from './locale';
|
|
2
|
+
export declare const englishUiText: {
|
|
3
|
+
readonly "Opens in a new tab": "Opens in a new tab";
|
|
4
|
+
readonly Download: "Download";
|
|
5
|
+
readonly Close: "Close";
|
|
6
|
+
readonly Cancel: "Cancel";
|
|
7
|
+
readonly Confirm: "Confirm";
|
|
8
|
+
readonly OK: "OK";
|
|
9
|
+
readonly Delete: "Delete";
|
|
10
|
+
readonly Save: "Save";
|
|
11
|
+
readonly "Don't save": "Don't save";
|
|
12
|
+
readonly Remove: "Remove";
|
|
13
|
+
readonly "Remove {name}": "Remove {name}";
|
|
14
|
+
readonly Loading: "Loading";
|
|
15
|
+
readonly "Loading\u2026": "Loading…";
|
|
16
|
+
readonly Working: "Working";
|
|
17
|
+
readonly Search: "Search";
|
|
18
|
+
readonly "Search\u2026": "Search…";
|
|
19
|
+
readonly "Clear search": "Clear search";
|
|
20
|
+
readonly "Select\u2026": "Select…";
|
|
21
|
+
readonly "No results": "No results";
|
|
22
|
+
readonly "No data": "No data";
|
|
23
|
+
readonly Add: "Add";
|
|
24
|
+
readonly Clear: "Clear";
|
|
25
|
+
readonly "Open options": "Open options";
|
|
26
|
+
readonly Copy: "Copy";
|
|
27
|
+
readonly Cut: "Cut";
|
|
28
|
+
readonly "Toggle content": "Toggle content";
|
|
29
|
+
readonly "More options": "More options";
|
|
30
|
+
readonly More: "More";
|
|
31
|
+
readonly "Close notification": "Close notification";
|
|
32
|
+
readonly Notifications: "Notifications";
|
|
33
|
+
readonly "Press F6 to access notifications": "Press F6 to access notifications";
|
|
34
|
+
readonly "Application navigation": "Application navigation";
|
|
35
|
+
readonly Sections: "Sections";
|
|
36
|
+
readonly Slider: "Slider";
|
|
37
|
+
readonly "Increase value": "Increase value";
|
|
38
|
+
readonly "Decrease value": "Decrease value";
|
|
39
|
+
readonly "Preset values": "Preset values";
|
|
40
|
+
readonly "Show full path": "Show full path";
|
|
41
|
+
readonly "Link to this section": "Link to this section";
|
|
42
|
+
readonly "More information": "More information";
|
|
43
|
+
readonly Info: "Info";
|
|
44
|
+
readonly Warning: "Warning";
|
|
45
|
+
readonly Error: "Error";
|
|
46
|
+
readonly Reset: "Reset";
|
|
47
|
+
readonly Custom: "Custom";
|
|
48
|
+
readonly Color: "Color";
|
|
49
|
+
readonly "Common colors": "Common colors";
|
|
50
|
+
readonly Palette: "Palette";
|
|
51
|
+
readonly "Custom colors": "Custom colors";
|
|
52
|
+
readonly "Select date": "Select date";
|
|
53
|
+
readonly "Previous month": "Previous month";
|
|
54
|
+
readonly "Next month": "Next month";
|
|
55
|
+
readonly "Add time": "Add time";
|
|
56
|
+
readonly Hour: "Hour";
|
|
57
|
+
readonly Minute: "Minute";
|
|
58
|
+
readonly Meridiem: "Meridiem";
|
|
59
|
+
readonly "Clear date": "Clear date";
|
|
60
|
+
readonly AM: "AM";
|
|
61
|
+
readonly PM: "PM";
|
|
62
|
+
readonly "Expand {name}": "Expand {name}";
|
|
63
|
+
readonly "Collapse {name}": "Collapse {name}";
|
|
64
|
+
readonly "Select all times": "Select all times";
|
|
65
|
+
readonly "Select hour {hour}": "Select hour {hour}";
|
|
66
|
+
readonly "Select {name}": "Select {name}";
|
|
67
|
+
readonly "Edit {name}": "Edit {name}";
|
|
68
|
+
readonly "Setup wizard": "Setup wizard";
|
|
69
|
+
readonly Apply: "Apply";
|
|
70
|
+
readonly Start: "Start";
|
|
71
|
+
readonly Next: "Next";
|
|
72
|
+
readonly Previous: "Previous";
|
|
73
|
+
readonly "Step {step} of {total}": "Step {step} of {total}";
|
|
74
|
+
readonly "Password:": "Password:";
|
|
75
|
+
readonly "Enter password": "Enter password";
|
|
76
|
+
readonly "Unsaved changes": "Unsaved changes";
|
|
77
|
+
readonly "Save your changes before closing?": "Save your changes before closing?";
|
|
78
|
+
readonly "The value is not valid.": "The value is not valid.";
|
|
79
|
+
readonly "About this application": "About this application";
|
|
80
|
+
readonly BETA: "BETA";
|
|
81
|
+
readonly "Version {version}": "Version {version}";
|
|
82
|
+
readonly "Checking for updates\u2026": "Checking for updates…";
|
|
83
|
+
readonly "Version {version} is available.": "Version {version} is available.";
|
|
84
|
+
readonly "Beta version {version} is available.": "Beta version {version} is available.";
|
|
85
|
+
readonly "Could not check for updates.": "Could not check for updates.";
|
|
86
|
+
readonly Retry: "Retry";
|
|
87
|
+
readonly "Release notes": "Release notes";
|
|
88
|
+
readonly "Terms of Service": "Terms of Service";
|
|
89
|
+
readonly "Privacy Policy": "Privacy Policy";
|
|
90
|
+
readonly "{title} legal": "{title} legal";
|
|
91
|
+
readonly "First page": "First page";
|
|
92
|
+
readonly "Previous page": "Previous page";
|
|
93
|
+
readonly "Next page": "Next page";
|
|
94
|
+
readonly "Last page": "Last page";
|
|
95
|
+
readonly Refresh: "Refresh";
|
|
96
|
+
readonly Pagination: "Pagination";
|
|
97
|
+
readonly "Pagination, {total} items total": "Pagination, {total} items total";
|
|
98
|
+
readonly "Page {page}": "Page {page}";
|
|
99
|
+
readonly "Go to page {page}": "Go to page {page}";
|
|
100
|
+
readonly "Items per page": "Items per page";
|
|
101
|
+
readonly "{total} items": "{total} items";
|
|
102
|
+
readonly "{start}-{end} items": "{start}-{end} items";
|
|
103
|
+
readonly "{filteredCount} items": "{filteredCount} items";
|
|
104
|
+
readonly "{selectedCount} / {total} items selected": "{selectedCount} / {total} items selected";
|
|
105
|
+
readonly "{count} items": "{count} items";
|
|
106
|
+
readonly "Page {page} / {pageCount}": "Page {page} / {pageCount}";
|
|
107
|
+
readonly "Select visible rows": "Select visible rows";
|
|
108
|
+
readonly "Select row {key}": "Select row {key}";
|
|
109
|
+
readonly "Resize column {label}": "Resize column {label}";
|
|
110
|
+
readonly "Expand row {key}": "Expand row {key}";
|
|
111
|
+
readonly "Collapse row {key}": "Collapse row {key}";
|
|
112
|
+
readonly "Reorder row {key}": "Reorder row {key}";
|
|
113
|
+
readonly "Sort by {name}": "Sort by {name}";
|
|
114
|
+
readonly "Value is required": "Value is required";
|
|
115
|
+
readonly "Value does not match the expected format": "Value does not match the expected format";
|
|
116
|
+
readonly "Value is not one of the allowed options": "Value is not one of the allowed options";
|
|
117
|
+
readonly "Value must be exactly {len} characters": "Value must be exactly {len} characters";
|
|
118
|
+
readonly "Value must be at least {min}": "Value must be at least {min}";
|
|
119
|
+
readonly "Value must be at most {max}": "Value must be at most {max}";
|
|
120
|
+
readonly "Value must be a string": "Value must be a string";
|
|
121
|
+
readonly "Value must be a number": "Value must be a number";
|
|
122
|
+
readonly "Value must be an integer": "Value must be an integer";
|
|
123
|
+
readonly "Value must be a boolean": "Value must be a boolean";
|
|
124
|
+
readonly "Value must be an array": "Value must be an array";
|
|
125
|
+
readonly "Value must be a valid email address": "Value must be a valid email address";
|
|
126
|
+
readonly "Value must be a valid URL": "Value must be a valid URL";
|
|
127
|
+
readonly "Value must be a valid date": "Value must be a valid date";
|
|
128
|
+
readonly "{count} item": "{count} item";
|
|
129
|
+
readonly "Pagination, {total} item total": "Pagination, {total} item total";
|
|
130
|
+
readonly Notification: "Notification";
|
|
131
|
+
readonly "Notifications ({hotkey})": "Notifications ({hotkey})";
|
|
132
|
+
};
|
|
133
|
+
export type UiTextKey = keyof typeof englishUiText;
|
|
134
|
+
export type UiTranslator = (key: UiTextKey, values?: Record<string, string | number>) => string;
|
|
135
|
+
export declare const uiText: Record<UiLocale, Record<UiTextKey, string>>;
|
|
136
|
+
export declare function translateUiText(locale: UiLocale, key: UiTextKey, values?: Record<string, string | number>): string;
|
|
137
|
+
export declare function useUiText(): UiTranslator;
|
|
138
|
+
/** Preserve explicit strings, including empty ones, while resolving defaults
|
|
139
|
+
* lazily so provider locale changes are reflected during the next render. */
|
|
140
|
+
export declare function useLocalizedDefaults<T extends object, K extends keyof T>(raw: T, defaults: Record<K, UiTextKey>): T & Record<K, string>;
|