@sincpro/web-ui 2.11.0 → 2.13.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 (207) hide show
  1. package/README.md +77 -20
  2. package/dist/components/activity/Messages.d.ts +3 -23
  3. package/dist/components/activity/Messages.js +3 -17
  4. package/dist/components/activity/index.d.ts +2 -1
  5. package/dist/components/activity/index.js +2 -1
  6. package/dist/components/activity/messageKind.d.ts +23 -0
  7. package/dist/components/activity/messageKind.js +17 -0
  8. package/dist/components/assist/assist.d.ts +1 -1
  9. package/dist/components/assist/assist.js +1 -1
  10. package/dist/components/frame/model.js +1 -1
  11. package/dist/components/guide/index.d.ts +2 -1
  12. package/dist/components/guide/index.js +2 -1
  13. package/dist/components/guide/selector.d.ts +25 -0
  14. package/dist/components/guide/selector.js +14 -0
  15. package/dist/components/guide/target.d.ts +3 -25
  16. package/dist/components/guide/target.js +2 -14
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/index.js +1 -0
  19. package/dist/components/listing/AxisLevels.d.ts +2 -5
  20. package/dist/components/listing/AxisLevels.js +5 -22
  21. package/dist/components/listing/BoardColumns.js +10 -6
  22. package/dist/components/listing/ColumnsMenu.d.ts +3 -7
  23. package/dist/components/listing/ColumnsMenu.js +4 -8
  24. package/dist/components/listing/Listing.js +3 -1
  25. package/dist/components/listing/ListingBar.d.ts +16 -94
  26. package/dist/components/listing/ListingBar.js +24 -2
  27. package/dist/components/listing/RecordCard.d.ts +41 -3
  28. package/dist/components/listing/RecordCard.js +63 -22
  29. package/dist/components/listing/Row.js +5 -2
  30. package/dist/components/listing/collapsed.d.ts +2 -0
  31. package/dist/components/listing/collapsed.js +8 -0
  32. package/dist/components/listing/columnSpecs.d.ts +34 -0
  33. package/dist/components/listing/columnSpecs.js +54 -0
  34. package/dist/components/listing/columns.d.ts +3 -21
  35. package/dist/components/listing/columns.js +2 -39
  36. package/dist/components/listing/index.d.ts +11 -7
  37. package/dist/components/listing/index.js +15 -8
  38. package/dist/components/listing/levels.d.ts +9 -0
  39. package/dist/components/listing/levels.js +27 -0
  40. package/dist/components/listing/pageSizes.d.ts +9 -0
  41. package/dist/components/listing/pageSizes.js +11 -0
  42. package/dist/components/listing/pages.d.ts +2 -9
  43. package/dist/components/listing/pages.js +5 -9
  44. package/dist/components/listing/set.d.ts +1 -1
  45. package/dist/components/listing/tree.d.ts +2 -1
  46. package/dist/components/listing/tree.js +4 -5
  47. package/dist/components/preview/FilePreview.d.ts +3 -3
  48. package/dist/components/preview/FilePreview.js +3 -15
  49. package/dist/components/preview/index.d.ts +2 -1
  50. package/dist/components/preview/index.js +2 -1
  51. package/dist/components/preview/previewKind.d.ts +3 -0
  52. package/dist/components/preview/previewKind.js +17 -0
  53. package/dist/components/receipt/Receipt.d.ts +51 -0
  54. package/dist/components/receipt/Receipt.js +23 -0
  55. package/dist/components/receipt/index.d.ts +1 -0
  56. package/dist/components/receipt/index.js +3 -0
  57. package/dist/components/search/CriteriaChips.js +5 -3
  58. package/dist/components/search/FilterBuilder.d.ts +5 -139
  59. package/dist/components/search/FilterBuilder.js +5 -579
  60. package/dist/components/search/JsonEditor.d.ts +2 -8
  61. package/dist/components/search/JsonEditor.js +5 -15
  62. package/dist/components/search/RuleValue.d.ts +2 -2
  63. package/dist/components/search/RuleValue.js +5 -4
  64. package/dist/components/search/datePeriods.js +1 -1
  65. package/dist/components/search/filterTree.d.ts +183 -0
  66. package/dist/components/search/filterTree.js +570 -0
  67. package/dist/components/search/formatJson.d.ts +8 -0
  68. package/dist/components/search/formatJson.js +17 -0
  69. package/dist/components/search/index.d.ts +5 -3
  70. package/dist/components/search/index.js +7 -3
  71. package/dist/components/search/query.js +1 -1
  72. package/dist/components/shell/KioskFrame.d.ts +35 -0
  73. package/dist/components/shell/KioskFrame.js +39 -0
  74. package/dist/components/shell/SearchEntry.js +1 -1
  75. package/dist/components/shell/index.d.ts +1 -0
  76. package/dist/components/shell/index.js +1 -0
  77. package/dist/foundations/calendar.js +1 -1
  78. package/dist/foundations/catalog.d.ts +7 -8
  79. package/dist/foundations/catalog.js +10 -35
  80. package/dist/foundations/chart.js +1 -1
  81. package/dist/foundations/clock.d.ts +3 -0
  82. package/dist/foundations/clock.js +41 -0
  83. package/dist/foundations/controlName.d.ts +12 -0
  84. package/dist/foundations/controlName.js +14 -0
  85. package/dist/foundations/copy.d.ts +3 -1130
  86. package/dist/foundations/copy.es.d.ts +1 -1
  87. package/dist/foundations/copy.es.js +26 -0
  88. package/dist/foundations/copy.js +13 -747
  89. package/dist/foundations/copyStore.d.ts +21 -0
  90. package/dist/foundations/copyStore.js +47 -0
  91. package/dist/foundations/density.d.ts +4 -8
  92. package/dist/foundations/density.js +2 -9
  93. package/dist/foundations/form.d.ts +2 -12
  94. package/dist/foundations/form.js +4 -14
  95. package/dist/foundations/idle.d.ts +1 -0
  96. package/dist/foundations/idle.js +34 -0
  97. package/dist/foundations/index.d.ts +21 -11
  98. package/dist/foundations/index.js +28 -11
  99. package/dist/foundations/keys.d.ts +8 -0
  100. package/dist/foundations/keys.js +6 -0
  101. package/dist/foundations/pickBy.d.ts +16 -0
  102. package/dist/foundations/pickBy.js +17 -0
  103. package/dist/foundations/pivotSheet.js +0 -0
  104. package/dist/foundations/pointer.d.ts +25 -0
  105. package/dist/foundations/pointer.js +28 -0
  106. package/dist/foundations/shortcut.d.ts +3 -9
  107. package/dist/foundations/shortcut.js +2 -7
  108. package/dist/foundations/sticky.d.ts +2 -6
  109. package/dist/foundations/sticky.js +5 -8
  110. package/dist/foundations/stickyStyle.d.ts +12 -0
  111. package/dist/foundations/stickyStyle.js +13 -0
  112. package/dist/foundations/surface.d.ts +2 -2
  113. package/dist/foundations/surface.js +4 -2
  114. package/dist/foundations/theme.d.ts +3 -13
  115. package/dist/foundations/theme.js +2 -15
  116. package/dist/foundations/themeChoice.d.ts +19 -0
  117. package/dist/foundations/themeChoice.js +22 -0
  118. package/dist/foundations/types.d.ts +3 -0
  119. package/dist/foundations/uiCopy.d.ts +1173 -0
  120. package/dist/foundations/uiCopy.js +775 -0
  121. package/dist/foundations/xlsx.d.ts +4 -10
  122. package/dist/foundations/xlsx.js +0 -0
  123. package/dist/foundations/xlsxDownload.d.ts +8 -0
  124. package/dist/foundations/xlsxDownload.js +28 -0
  125. package/dist/primitives/button/Button.d.ts +3 -15
  126. package/dist/primitives/button/Button.js +2 -65
  127. package/dist/primitives/button/classes.d.ts +21 -0
  128. package/dist/primitives/button/classes.js +65 -0
  129. package/dist/primitives/button/index.d.ts +2 -1
  130. package/dist/primitives/button/index.js +3 -1
  131. package/dist/primitives/choice/RadioGroup.d.ts +8 -1
  132. package/dist/primitives/choice/RadioGroup.js +9 -1
  133. package/dist/primitives/choice/options.d.ts +3 -0
  134. package/dist/primitives/field/Field.d.ts +2 -6
  135. package/dist/primitives/field/Field.js +4 -10
  136. package/dist/primitives/field/Keypad.d.ts +43 -0
  137. package/dist/primitives/field/Keypad.js +62 -0
  138. package/dist/primitives/field/Stepper.d.ts +28 -0
  139. package/dist/primitives/field/Stepper.js +52 -0
  140. package/dist/primitives/field/classes.d.ts +6 -0
  141. package/dist/primitives/field/classes.js +13 -0
  142. package/dist/primitives/field/clipboard.js +1 -1
  143. package/dist/primitives/field/index.d.ts +5 -1
  144. package/dist/primitives/field/index.js +9 -1
  145. package/dist/primitives/field/keypadKeys.d.ts +24 -0
  146. package/dist/primitives/field/keypadKeys.js +80 -0
  147. package/dist/primitives/hint/Hint.js +1 -1
  148. package/dist/primitives/menu/Menu.d.ts +2 -19
  149. package/dist/primitives/menu/Menu.js +4 -30
  150. package/dist/primitives/menu/classes.d.ts +18 -0
  151. package/dist/primitives/menu/classes.js +33 -0
  152. package/dist/primitives/menu/index.d.ts +2 -1
  153. package/dist/primitives/menu/index.js +3 -1
  154. package/dist/primitives/notice/Flag.js +1 -1
  155. package/dist/primitives/notice/Outcome.d.ts +28 -0
  156. package/dist/primitives/notice/Outcome.js +28 -0
  157. package/dist/primitives/notice/index.d.ts +1 -0
  158. package/dist/primitives/notice/index.js +2 -0
  159. package/dist/primitives/table/CellCopy.js +1 -1
  160. package/dist/primitives/table/EditableTable.d.ts +3 -37
  161. package/dist/primitives/table/EditableTable.js +2 -47
  162. package/dist/primitives/table/ReportTable.js +1 -1
  163. package/dist/primitives/table/RowActions.js +1 -1
  164. package/dist/primitives/table/Table.d.ts +2 -4
  165. package/dist/primitives/table/Table.js +13 -16
  166. package/dist/primitives/table/cellTone.d.ts +5 -0
  167. package/dist/primitives/table/cellTone.js +13 -0
  168. package/dist/primitives/table/editRules.d.ts +43 -0
  169. package/dist/primitives/table/editRules.js +53 -0
  170. package/dist/primitives/table/index.d.ts +4 -2
  171. package/dist/primitives/table/index.js +4 -2
  172. package/dist/primitives/tag/Count.d.ts +2 -3
  173. package/dist/primitives/tag/Count.js +4 -5
  174. package/dist/primitives/tag/Tags.d.ts +22 -1
  175. package/dist/primitives/tag/Tags.js +57 -14
  176. package/dist/primitives/tag/countText.d.ts +3 -0
  177. package/dist/primitives/tag/countText.js +7 -0
  178. package/dist/primitives/tag/index.d.ts +3 -2
  179. package/dist/primitives/tag/index.js +2 -1
  180. package/dist/primitives/value/DateValue.d.ts +2 -5
  181. package/dist/primitives/value/DateValue.js +6 -44
  182. package/dist/primitives/value/Elapsed.d.ts +16 -0
  183. package/dist/primitives/value/Elapsed.js +37 -0
  184. package/dist/primitives/value/Meter.d.ts +3 -8
  185. package/dist/primitives/value/Meter.js +2 -9
  186. package/dist/primitives/value/RichText.d.ts +2 -4
  187. package/dist/primitives/value/RichText.js +5 -20
  188. package/dist/primitives/value/Value.d.ts +10 -7
  189. package/dist/primitives/value/Value.js +7 -24
  190. package/dist/primitives/value/elapsedTime.d.ts +26 -0
  191. package/dist/primitives/value/elapsedTime.js +32 -0
  192. package/dist/primitives/value/format.d.ts +16 -0
  193. package/dist/primitives/value/format.js +81 -0
  194. package/dist/primitives/value/index.d.ts +9 -4
  195. package/dist/primitives/value/index.js +13 -4
  196. package/dist/primitives/value/meterLevel.d.ts +10 -0
  197. package/dist/primitives/value/meterLevel.js +12 -0
  198. package/dist/primitives/value/richTextPlain.d.ts +4 -0
  199. package/dist/primitives/value/richTextPlain.js +23 -0
  200. package/dist/tokens.css +87 -1
  201. package/dist/views/list/List.d.ts +11 -0
  202. package/dist/views/list/List.js +14 -3
  203. package/dist/views/list/ListView.d.ts +1 -1
  204. package/dist/views/list/ListView.js +26 -6
  205. package/dist/views/list/types.d.ts +7 -0
  206. package/dist/views/record/Record.js +1 -1
  207. package/package.json +1 -1
@@ -0,0 +1,775 @@
1
+ import { copyStore, fillCopy, } from "./copyStore.js";
2
+ export const ENGLISH_COPY = {
3
+ locale: "en-US",
4
+ present: {
5
+ rows: "Rows",
6
+ table: "Table",
7
+ board: "Board",
8
+ tiles: "Tiles",
9
+ sheet: "Sheet",
10
+ report: "Report",
11
+ pivot: "Pivot",
12
+ calendar: "Calendar",
13
+ gantt: "Gantt",
14
+ timeline: "Planning",
15
+ chart: "Chart",
16
+ group: "How to view",
17
+ },
18
+ frame: {
19
+ columns: "columns",
20
+ show: "show",
21
+ series: "series",
22
+ column: "column",
23
+ empty: "No cells to show.",
24
+ noSeries: "This column has no values to chart.",
25
+ required: "always shown",
26
+ optional: "optional",
27
+ },
28
+ selection: {
29
+ chosen: "chosen",
30
+ clear: "Clear selection",
31
+ all: "Select all",
32
+ row: "Select row",
33
+ named: "Select {name}",
34
+ more: "More actions",
35
+ moreOf: "More actions for {name}",
36
+ allMatching: "Select all {count} that match",
37
+ },
38
+ pager: {
39
+ size: "Rows per page",
40
+ sizeHint: "{size} per page — click to change",
41
+ prev: "Previous page",
42
+ next: "Next page",
43
+ },
44
+ dock: {
45
+ label: "Actions",
46
+ more: "More actions",
47
+ },
48
+ record: {
49
+ prev: "Previous record",
50
+ next: "Next record",
51
+ location: "Location",
52
+ status: "Status",
53
+ faces: "Record faces",
54
+ unsaved: "unsaved",
55
+ unsavedOne: "1 change unsaved",
56
+ unsavedMany: "{count} changes unsaved",
57
+ save: "Save",
58
+ saving: "Saving…",
59
+ saved: "Saved",
60
+ discard: "Discard",
61
+ failed: "failed",
62
+ notices: "Notices about this record",
63
+ noticeOne: "{count} notice",
64
+ noticeMany: "{count} notices",
65
+ blocking: "What is wrong with this record",
66
+ created: "Created",
67
+ updated: "Last changed",
68
+ },
69
+ shell: {
70
+ modules: "All modules",
71
+ menus: "Module menus",
72
+ close: "Close",
73
+ notices: "Notices",
74
+ closeNotice: "Dismiss notice",
75
+ preview: "Preview",
76
+ previewTag: "preview",
77
+ closePreview: "Close preview",
78
+ account: "My account",
79
+ openAsPanel: "Open as panel",
80
+ openNavigation: "Open the navigation",
81
+ navigation: "Navigation",
82
+ search: "Search…",
83
+ },
84
+ guide: {
85
+ label: "Guided tour",
86
+ progress: "{current} of {total}",
87
+ step: "{progress}: {title}",
88
+ next: "Next",
89
+ back: "Back",
90
+ skip: "Skip the tour",
91
+ finish: "Done",
92
+ },
93
+ field: {
94
+ drop: "Drop a file here, or choose one.",
95
+ dropMany: "Drop files here, or choose them.",
96
+ chooseFile: "Choose file",
97
+ chooseFiles: "Choose files",
98
+ tooManyFiles: "Only the first {max} of {count} were taken: up to {max} at a time.",
99
+ cancel: "Cancel",
100
+ uploadProgress: "upload progress",
101
+ fileUnreadable: "We could not read the file",
102
+ tryAnother: "Try another one",
103
+ required: "required",
104
+ optional: "optional",
105
+ sections: "Sections of the form",
106
+ help: "Help",
107
+ unset: "not set",
108
+ none: "None",
109
+ changed: "changed",
110
+ showSecret: "Show password",
111
+ hideSecret: "Hide password",
112
+ capsLock: "Caps Lock is on",
113
+ secretSet: "password set",
114
+ newTab: "opens in a new tab",
115
+ hours: "h",
116
+ unit: "Unit",
117
+ palette: "Palette",
118
+ },
119
+ choice: {
120
+ noResults: "No results",
121
+ search: "Search",
122
+ },
123
+ search: {
124
+ tools: "Filter, group and favorites",
125
+ suggestions: "Suggestions",
126
+ toolsSetOne: "{label}, {count} applied",
127
+ toolsSetMany: "{label}, {count} applied",
128
+ editChip: "Click to edit",
129
+ editNamed: "Edit {label}",
130
+ removeChip: "Remove {label}: {value}",
131
+ removeFilter: "Remove filter {label}",
132
+ removeGroup: "Stop grouping by {label}",
133
+ and: "and",
134
+ or: "or",
135
+ groupedBy: "grouped by",
136
+ narrowedBy: "showing",
137
+ moreFacets: "+{count}",
138
+ fewerFacets: "show less",
139
+ removeGrouping: "Stop grouping",
140
+ clearAll: "Clear every filter and grouping",
141
+ switchJoin: "All of them, or any of them",
142
+ joins: { all: "all", any: "any", none: "none" },
143
+ notWord: "not",
144
+ landsHere: "the next one lands here",
145
+ closeGroup: "Close this group",
146
+ typeValue: "value…",
147
+ dropField: "Ask about another field",
148
+ dropOp: "Compare another way",
149
+ openBuilder: "Open all of this in the builder",
150
+ openBuilderHere: "Open this condition in the builder",
151
+ askField: "ask about",
152
+ askAttribute: "pick an attribute",
153
+ literal: "Search",
154
+ literalChip: "Search “{text}”",
155
+ askOp: "compared how",
156
+ askJoin: "these rules match",
157
+ unreadable: "We cannot read this filter as a tree — here it is as it stands. It can still be edited as JSON below.",
158
+ askValue: "to what",
159
+ condition: "{field} {op} {value}",
160
+ andMore: "and {count} more",
161
+ valuesChip: "{field}: {values}",
162
+ unfoldHint: "matching “{text}”",
163
+ unfold: "show the ones that match",
164
+ fold: "hide them",
165
+ searchingRecords: "Searching…",
166
+ noRecords: "Nothing matches",
167
+ recordsFailed: "The search could not be done",
168
+ moreRecords: "Search more…",
169
+ advanced: "Advanced search…",
170
+ keysHint: "↑↓ move · Enter set · → open · Esc undo",
171
+ placeholder: "search…",
172
+ filters: "Filters",
173
+ groupBy: "Group by",
174
+ favorites: "Favorites",
175
+ },
176
+ failed: {
177
+ operation: "We could not complete the operation",
178
+ list: "We could not read the list",
179
+ loading: "Loading…",
180
+ retry: "Try again",
181
+ },
182
+ table: {
183
+ add: "Add",
184
+ row: "row",
185
+ rows: "rows",
186
+ yes: "yes",
187
+ no: "no",
188
+ mean: "mean {value}",
189
+ min: "min {value}",
190
+ max: "max {value}",
191
+ distinct: "{value} distinct",
192
+ pileMore: "Show {count} more",
193
+ pileMoreOf: "Show {count} more of {left}",
194
+ pileShown: "Showing {shown} of {count}",
195
+ },
196
+ menu: {
197
+ empty: "Nothing matches.",
198
+ },
199
+ list: {
200
+ empty: "There is nothing here yet.",
201
+ emptyFiltered: "Nothing matches what is on.",
202
+ countOne: "1 record",
203
+ count: "{count} records",
204
+ peek: "Quick look",
205
+ open: "Open",
206
+ refreshing: "Updating the list…",
207
+ },
208
+ activity: {
209
+ bySystem: "the system",
210
+ more: "show the whole error",
211
+ less: "show less",
212
+ internal: "internal",
213
+ internalNote: "Internal note: it stays in here",
214
+ writeNote: "Log a note",
215
+ notePlaceholder: "A note that stays in here…",
216
+ recipients: "Who receives it",
217
+ noRecipients: "nobody to send it to yet",
218
+ messagePlaceholder: "Write a message…",
219
+ emptyMessages: "Nobody has written here yet.",
220
+ emptyEvents: "Nothing has been logged yet.",
221
+ title: "Activity",
222
+ open: "Open the {label}",
223
+ fold: "Fold the {label}",
224
+ alerts: "Notices",
225
+ conversation: "Conversation",
226
+ history: "History",
227
+ viewTimeline: "Timeline",
228
+ moreAlerts: "Show {count} more",
229
+ fewerAlerts: "Show fewer",
230
+ filters: "Show",
231
+ filterAll: "All",
232
+ filterConversation: "Messages",
233
+ filterNotes: "Notes",
234
+ filterEvents: "Events",
235
+ today: "Today",
236
+ yesterday: "Yesterday",
237
+ emptyFilter: "Nothing of this kind yet.",
238
+ empty: "empty",
239
+ before: "before:",
240
+ after: "now:",
241
+ allChanges: "See the {count} changes",
242
+ goTo: "Go to {owner}",
243
+ send: "Send",
244
+ sending: "Sending…",
245
+ cancel: "Cancel",
246
+ },
247
+ copyable: {
248
+ label: "Copy",
249
+ done: "Copied",
250
+ failed: "Could not copy",
251
+ field: "Copy «{label}»",
252
+ empty: "Nothing to copy",
253
+ report: "Copy the error",
254
+ },
255
+ richText: {
256
+ toolbar: "Text formatting",
257
+ bold: "Bold",
258
+ italic: "Italic",
259
+ underline: "Underline",
260
+ strike: "Strikethrough",
261
+ heading: "Heading",
262
+ subheading: "Subheading",
263
+ bulletList: "Bulleted list",
264
+ orderedList: "Numbered list",
265
+ quote: "Quote",
266
+ link: "Link",
267
+ linkUrl: "Link address",
268
+ applyLink: "Apply",
269
+ removeLink: "Remove link",
270
+ badLink: "Write a website (example.com), an email or a phone number.",
271
+ table: "Insert table",
272
+ undo: "Undo",
273
+ redo: "Redo",
274
+ clear: "Clear formatting",
275
+ mentions: "People",
276
+ noMatches: "Nobody matches",
277
+ },
278
+ sorting: {
279
+ label: "Sort",
280
+ by: "sort by",
281
+ asc: "ascending",
282
+ desc: "descending",
283
+ clear: "no order",
284
+ addHint: "Shift+click to add as a tie-breaker",
285
+ place: "sort {place}, {direction}",
286
+ add: "Add a criterion",
287
+ none: "No order: the rows go as they came.",
288
+ flip: "Flip the order by {field}",
289
+ remove: "Remove the order by {field}",
290
+ move: "Move the order by {field}",
291
+ more: "{label} +{count}",
292
+ then: "then by",
293
+ },
294
+ dates: {
295
+ last: "last {count} {unit}",
296
+ prior: "previous {unit}",
297
+ day: "day",
298
+ days: "days",
299
+ week: "week",
300
+ weeks: "weeks",
301
+ month: "month",
302
+ months: "months",
303
+ quarter: "quarter",
304
+ quarters: "quarters",
305
+ year: "year",
306
+ years: "years",
307
+ },
308
+ ops: {
309
+ "=": "is",
310
+ "!=": "is not",
311
+ like: "contains",
312
+ in: "is one of",
313
+ "not in": "is none of",
314
+ ">": "greater than",
315
+ ">=": "at least",
316
+ "<": "less than",
317
+ "<=": "at most",
318
+ "is null": "is empty",
319
+ "is not null": "is not empty",
320
+ contains: "includes",
321
+ "not contains": "does not include",
322
+ between: "is between",
323
+ },
324
+ calendar: {
325
+ week: "Week {n}",
326
+ weekShort: "W{n}",
327
+ weekOfYear: "Week {n}, {year}",
328
+ quarter: "Q{n}",
329
+ quarterOfYear: "Q{n} {year}",
330
+ today: "Today",
331
+ },
332
+ grouping: {
333
+ label: "Group by",
334
+ none: "Not grouped.",
335
+ add: "add a level",
336
+ remove: "remove this level",
337
+ up: "one level out",
338
+ down: "one level in",
339
+ clear: "stop grouping",
340
+ grain: "how finely",
341
+ },
342
+ editable: {
343
+ add: "Add a line",
344
+ addRow: "Add a row",
345
+ empty: "No lines yet.",
346
+ remove: "Remove the line",
347
+ reorder: "Move the row",
348
+ reorderHint: "Drag it, or Alt + ↑ / ↓",
349
+ },
350
+ picker: {
351
+ placeholder: "pick one…",
352
+ empty: "Nothing matches.",
353
+ search: "filter…",
354
+ loading: "loading…",
355
+ more: "{count} more",
356
+ refine: "— narrow the filter",
357
+ open: "Open",
358
+ browseAll: "Search more…",
359
+ create: "Create «{name}»",
360
+ createAndEdit: "Create and edit…",
361
+ matched: "matches",
362
+ loadingMore: "loading more…",
363
+ openIn: {
364
+ modal: "Open in a modal",
365
+ peek: "Quick look",
366
+ page: "Open as the page",
367
+ side: "Open beside",
368
+ window: "Open in a window",
369
+ },
370
+ openMore: "Open in…",
371
+ clear: "Clear",
372
+ },
373
+ cell: {
374
+ missing: "missing",
375
+ empty: "(empty)",
376
+ emptyBin: "(empty)",
377
+ },
378
+ time: {
379
+ justNow: "just now",
380
+ invalid: "invalid date",
381
+ noDate: "no date",
382
+ },
383
+ dialog: {
384
+ expand: "Expand to a panel",
385
+ cancel: "Cancel",
386
+ back: "Back",
387
+ next: "Next",
388
+ finish: "Finish",
389
+ busy: "Working…",
390
+ },
391
+ stepFlow: {
392
+ steps: "Steps",
393
+ position: "Step {index} of {total}",
394
+ announce: "{position}: {title}",
395
+ done: "done",
396
+ pending: "to do",
397
+ cancel: "Cancel",
398
+ back: "Back",
399
+ next: "Next",
400
+ finish: "Finish",
401
+ working: "Working…",
402
+ },
403
+ report: {
404
+ open: "Open {name}",
405
+ close: "Close {name}",
406
+ concept: "Item",
407
+ total: "Total",
408
+ },
409
+ builder: {
410
+ filter: "Filter",
411
+ order: "Order",
412
+ groupBy: "Group by",
413
+ totals: "Totals per pile",
414
+ filterPiles: "Filter the piles",
415
+ pileOrder: "Pile order",
416
+ pilePage: "Pile page",
417
+ fields: "Fields",
418
+ noOrder: "No order of its own: the model's.",
419
+ noGrouping: "Not grouped: the whole list.",
420
+ noTotals: "No totals: just how many rows there are.",
421
+ noPileOrder: "No order of its own: by each level's field, ascending.",
422
+ allFields: "All of the model's.",
423
+ someFields: "{shown} of {total} — the identity always travels.",
424
+ addOrder: "order by…",
425
+ addGroup: "group by…",
426
+ addPileOrder: "Order the piles by another field",
427
+ ascending: "ascending",
428
+ descending: "descending",
429
+ flip: "tap to flip",
430
+ changeGrain: "tap to change the cut",
431
+ dropOrder: "remove this sort",
432
+ dropTotal: "remove this total",
433
+ totalFunction: "how «{name}» is computed",
434
+ totalField: "field of «{name}»",
435
+ pileOrderField: "order the piles by",
436
+ pileOrderDirection: "order direction",
437
+ dropRule: "remove this rule",
438
+ dropGroup: "remove this group",
439
+ addRule: "add a rule after this one",
440
+ addNested: "add a nested group after this one",
441
+ pilesNote: "Over what they folded — the totals above, and «count» — not over the rows: that is the filter above.",
442
+ pilePageNote: "Only the first level: once a page is asked for, the deeper levels answer only for the piles that survived.",
443
+ limitPiles: "Limit how many piles come back",
444
+ ruleField: "Field",
445
+ ruleOperator: "Comparison",
446
+ noValue: "no value",
447
+ ruleValue: "Value",
448
+ chooseValue: "Choose…",
449
+ from: "from…",
450
+ to: "to…",
451
+ value: "value…",
452
+ json: "The criteria, as JSON",
453
+ jsonFilter: "The filter, as JSON",
454
+ invalidJson: "this is not valid JSON",
455
+ editor: "Code editor",
456
+ format: "Format",
457
+ notCriteria: "a criteria is an object with selection, order, grouping or specification",
458
+ notFilter: "this is not a filter: it needs a condition or an all/any/negate",
459
+ apply: "Apply",
460
+ add: "Add",
461
+ cancel: "Cancel",
462
+ totalAs: "as «{name}»",
463
+ addTotal: "Add a total",
464
+ dropOrderBy: "remove the order by {field}",
465
+ dropLevel: "remove the level {field}",
466
+ },
467
+ pivot: {
468
+ total: "Total",
469
+ rows: "rows",
470
+ open: "Open {row} × {column}",
471
+ measures: "Measures",
472
+ rowsAxis: "Rows",
473
+ columnsAxis: "Columns",
474
+ addLevel: "Add to {axis}",
475
+ removeLevel: "Remove {level}",
476
+ swap: "Swap rows and columns",
477
+ download: "Download",
478
+ fromSearch: "from the search's grouping",
479
+ },
480
+ chart: {
481
+ count: "count",
482
+ rest: "others ({count})",
483
+ empty: "Nothing to chart.",
484
+ pieNegative: "A pie cannot show negative values — try bars.",
485
+ hidden: "{count} more not drawn: this measure does not add up, so they cannot be gathered into «others». The pivot shows them all.",
486
+ kind: "Chart type",
487
+ bar: "Bars",
488
+ line: "Lines",
489
+ area: "Area",
490
+ pie: "Pie",
491
+ measure: "Measure",
492
+ categoriesAxis: "Axis",
493
+ seriesAxis: "Series",
494
+ stacked: "Stack",
495
+ cumulative: "Cumulative",
496
+ ascending: "Smallest first",
497
+ descending: "Largest first",
498
+ hideSeries: "Hide {name}",
499
+ showSeries: "Show {name}",
500
+ open: "Open {name}",
501
+ sumOf: "sum of {name}",
502
+ averageOf: "average of {name}",
503
+ change: "change",
504
+ compareWith: "Compare with {name}",
505
+ moreMeasures: "{name} +{count}",
506
+ against: "vs {name}",
507
+ },
508
+ person: {
509
+ unassigned: "unassigned",
510
+ email: "Write an email",
511
+ call: "Call",
512
+ whatsapp: "WhatsApp",
513
+ },
514
+ lines: {
515
+ add: "Add a line",
516
+ search: "Search the lines…",
517
+ edit: "Edit line",
518
+ remove: "Remove line",
519
+ empty: "No lines yet.",
520
+ done: "Done",
521
+ addSection: "Add a section",
522
+ addNote: "Add a note",
523
+ section: "Section",
524
+ note: "Note",
525
+ },
526
+ lineItems: {
527
+ one: "{count} line",
528
+ many: "{count} lines",
529
+ shown: "{shown} of {count} lines",
530
+ newLine: "New line",
531
+ noMatch: "No line matches «{query}».",
532
+ removed: "Removed «{name}».",
533
+ undo: "Undo",
534
+ table: "Lines",
535
+ },
536
+ priority: {
537
+ label: "Priority",
538
+ level: "{value} of {max}",
539
+ none: "no priority",
540
+ },
541
+ board: {
542
+ tileFailed: "«{title}» could not be read",
543
+ failed: "The board's numbers could not be read",
544
+ noData: "No data",
545
+ emptyLane: "Nothing in this stage.",
546
+ moveHint: "Drag it, or Alt + ← / → to move it to another stage",
547
+ moved: "{name} moved to {column}",
548
+ quickCreate: "Quick create in {column}",
549
+ quickPlaceholder: "Name… (Enter creates)",
550
+ fold: "Fold {column}",
551
+ unfold: "Unfold {column}",
552
+ addColumn: "Add a stage",
553
+ addColumnPlaceholder: "Stage name… (Enter adds)",
554
+ },
555
+ elapsed: {
556
+ label: "Waiting",
557
+ waiting: "Waiting for {time}",
558
+ },
559
+ stepper: {
560
+ label: "Quantity",
561
+ decrease: "One less",
562
+ increase: "One more",
563
+ remove: "Remove",
564
+ },
565
+ outcome: {
566
+ figure: "Number",
567
+ },
568
+ kiosk: {
569
+ reach: "Bring it down within reach",
570
+ reachOff: "Back to full height",
571
+ start: "Touch to start",
572
+ },
573
+ keypad: {
574
+ label: "Number pad",
575
+ backspace: "Delete the last digit",
576
+ clear: "Clear",
577
+ decimal: "Decimal point",
578
+ sign: "Change the sign",
579
+ },
580
+ timeline: {
581
+ prev: "Previous",
582
+ next: "Next",
583
+ today: "Today",
584
+ goTo: "Go to a date",
585
+ zoom: "Zoom",
586
+ zoomIn: "Zoom in",
587
+ zoomOut: "Zoom out",
588
+ fullscreen: "Full screen",
589
+ exitFullscreen: "Exit full screen",
590
+ scale: "Scale",
591
+ scales: { day: "Day", week: "Week", month: "Month", year: "Year" },
592
+ moveHint: "Drag it to move it, its right edge to stretch it; Alt + arrows from the keyboard",
593
+ moved: "{name}: {range}",
594
+ create: "Create in {row} · {at}",
595
+ },
596
+ kanbanState: {
597
+ label: "State",
598
+ normal: "In progress",
599
+ done: "Ready for the next stage",
600
+ blocked: "Blocked",
601
+ },
602
+ activityState: {
603
+ none: "No activities",
604
+ overdue: "Overdue",
605
+ today: "Due today",
606
+ planned: "Planned",
607
+ },
608
+ relation: {
609
+ open: "Open",
610
+ none: "Not set",
611
+ },
612
+ relationCard: {
613
+ summary: "Summary of {name}",
614
+ },
615
+ totals: {
616
+ less: "less",
617
+ details: "Details: {label}",
618
+ open: "Open",
619
+ unlink: "Unlink",
620
+ credits: "Outstanding credits",
621
+ apply: "Apply",
622
+ applyCredit: "Apply {label}",
623
+ },
624
+ inlineEdit: {
625
+ addTag: "Add…",
626
+ createTag: "Create «{name}»",
627
+ editCell: "Edit {column}",
628
+ },
629
+ attachments: {
630
+ label: "Attachments",
631
+ empty: "No files attached yet.",
632
+ emptyAdd: "No files attached yet. Drop them here, or choose them.",
633
+ add: "Drop more files here, or choose them.",
634
+ download: "Download",
635
+ remove: "Remove the file",
636
+ removed: "Removed «{name}».",
637
+ undo: "Undo",
638
+ uploading: "Uploading {name}",
639
+ cancelUpload: "Cancel the upload",
640
+ failed: "The file could not be uploaded.",
641
+ retry: "Try again",
642
+ files: "Files",
643
+ downloadAll: "Download all",
644
+ downloadFailed: "«{name}» could not be downloaded.",
645
+ },
646
+ fieldPath: {
647
+ choose: "Choose a field",
648
+ search: "Search a field",
649
+ back: "Back",
650
+ loading: "Loading the fields…",
651
+ failed: "The fields could not be loaded.",
652
+ failedHint: "Try again in a moment, or copy the error for whoever maintains the model.",
653
+ empty: "No field matches.",
654
+ self: "«{label}» itself",
655
+ opens: "shows its fields",
656
+ addColumn: "Add a column",
657
+ addLevel: "Group by another field",
658
+ match: { label: "How many of «{relation}»", any: "some", none: "none", all: "all" },
659
+ say: {
660
+ any: "some of {relation} with {inner}",
661
+ none: "none of {relation} with {inner}",
662
+ all: "all of {relation} with {inner}",
663
+ one: "{relation} > {inner}",
664
+ },
665
+ },
666
+ preview: {
667
+ label: "Preview",
668
+ download: "Download",
669
+ unsupported: "There is no preview for this kind of file. You can still download it.",
670
+ loading: "Loading the preview…",
671
+ failed: "The file could not be shown.",
672
+ page: "Page {page} of {total}",
673
+ previousPage: "Previous page",
674
+ nextPage: "Next page",
675
+ fit: "Fit",
676
+ actualSize: "Actual size",
677
+ kind: { image: "Image", pdf: "PDF", text: "Text", markdown: "Document", other: "File" },
678
+ },
679
+ chat: {
680
+ thread: "Conversation",
681
+ empty: "No messages yet. Write the first one.",
682
+ loadOlder: "Load earlier messages",
683
+ loadingOlder: "Loading earlier messages…",
684
+ jumpLatest: "Jump to the latest",
685
+ today: "Today",
686
+ yesterday: "Yesterday",
687
+ composer: "Message",
688
+ placeholder: "Write a message… Enter sends, Shift+Enter starts a new line",
689
+ send: "Send",
690
+ unread: "{count} unread",
691
+ conversations: "Conversations",
692
+ newMessages: "New messages",
693
+ sending: "Sending…",
694
+ },
695
+ canvas: {
696
+ label: "Canvas",
697
+ zoomIn: "Zoom in",
698
+ zoomOut: "Zoom out",
699
+ fit: "Fit to screen",
700
+ readOnly: "Read only",
701
+ },
702
+ theme: {
703
+ label: "Theme",
704
+ system: "System",
705
+ light: "Light",
706
+ dark: "Dark",
707
+ },
708
+ tree: {
709
+ empty: "Nothing here yet.",
710
+ },
711
+ assist: {
712
+ assistant: "Assistant",
713
+ suggests: "suggests",
714
+ suggestion: "Assistant's suggestion",
715
+ source: "Source",
716
+ accept: "Accept",
717
+ dismiss: "Dismiss the suggestion",
718
+ accepted: "Applied the assistant's suggestion.",
719
+ acceptedIn: "Applied the assistant's suggestion to «{field}».",
720
+ undo: "Undo",
721
+ working: "The assistant is working…",
722
+ cancel: "Cancel",
723
+ madeBy: "Set by the assistant",
724
+ acceptedBy: "Accepted by {name}",
725
+ review: "Proposed changes",
726
+ applyOne: "Apply 1 change",
727
+ applyMany: "Apply {count} changes",
728
+ discard: "Discard",
729
+ all: "All the changes",
730
+ chosen: "{count} of {total} chosen",
731
+ noneChosen: "Choose at least one change.",
732
+ appliedOne: "Applied 1 change from the assistant.",
733
+ appliedMany: "Applied {count} changes from the assistant.",
734
+ added: "new",
735
+ removed: "removed",
736
+ changed: "changes",
737
+ from: "from",
738
+ to: "to",
739
+ empty: "empty",
740
+ },
741
+ media: {
742
+ dropImage: "Drop an image here, paste it, or choose one.",
743
+ chooseImage: "Choose image",
744
+ changeImage: "Change image",
745
+ removeImage: "Remove image",
746
+ notImage: "That file is not an image. Choose a PNG, JPG or WebP.",
747
+ crop: "Image crop",
748
+ cropHelp: "Drag the image, or move it with the arrow keys; + and − zoom in and out.",
749
+ zoomIn: "Zoom in",
750
+ zoomOut: "Zoom out",
751
+ applyCrop: "Apply crop",
752
+ cancel: "Cancel",
753
+ signaturePad: "Signature pad",
754
+ signatureHelp: "Sign with the mouse or a finger over the line.",
755
+ clear: "Clear",
756
+ typeName: "Type my name instead",
757
+ drawInstead: "Draw the signature",
758
+ typedName: "Name for the signature",
759
+ signature: "Signature",
760
+ },
761
+ };
762
+ /* The store is `copyStore`, the same one an application's catalog is built on. Not public:
763
+ `copy.tsx` builds the `Provider` over it, so a branch and a function read the same words. */
764
+ export const uiCopyStore = copyStore(ENGLISH_COPY);
765
+ /** The installed words: for formatters and sentences that are not a component. */
766
+ export const currentCopy = uiCopyStore.current;
767
+ /** BCP-47 the formatters read when they are not a component. */
768
+ export function currentCopyLocale() {
769
+ return uiCopyStore.current().locale;
770
+ }
771
+ /** English with `over` on top, without installing it. */
772
+ export const mergeCopy = uiCopyStore.merge;
773
+ /** Sets the session's words: once, before the first draw — and the one global there is. */
774
+ export const installCopy = uiCopyStore.install;
775
+ export { fillCopy };