@jini-ai/admin 0.7.3-next.4 → 0.7.4
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/CHANGELOG.md +7 -0
- package/dist/core/i18n-common-base.d.ts +443 -1
- package/dist/core/i18n-common.js +1 -36
- package/dist/core/i18n-types.d.ts +8 -0
- package/dist/core/i18n-types.js +2 -0
- package/dist/core/manifest/rules.js +1 -2
- package/dist/pages/PageEditorChrome.js +1 -1
- package/dist/pages/hooks/page-editor-actions.hooks.d.ts +2 -2
- package/dist/pages/hooks/page-editor-load.hooks.d.ts +1 -1
- package/dist/pages/hooks/page-editor-preview.hooks.d.ts +3 -3
- package/dist/pages/hooks/page-editor-recovery.hooks.d.ts +2 -2
- package/dist/pages/hooks/page-editor-recovery.hooks.js +1 -1
- package/dist/pages/hooks/page-editor-workspace.hooks.d.ts +4 -4
- package/dist/pages/lib/page-preview-youtube.js +1 -3
- package/dist/pages/lib/prettify-html.js +1 -1
- package/dist/pages/page-editor-i18n.d.ts +191 -1
- package/dist/pages/page-editor-i18n.js +2 -2
- package/dist/pages/page-route-rules.d.ts +3 -2
- package/dist/pages/page-route-rules.js +3 -2
- package/dist/react/kit-chat-component-types.d.ts +13 -1
- package/dist/react/kit-chat-types.d.ts +2 -0
- package/dist/screens/auth/auth-i18n.js +1 -1
- package/dist/screens/consent/consent-i18n.js +1 -1
- package/dist/screens/content-analysis/content-analysis-i18n-rows-rtl-asia.d.ts +2 -1
- package/dist/screens/content-analysis/content-analysis-i18n.d.ts +3 -1
- package/dist/screens/content-analysis/content-analysis-i18n.js +3 -7
- package/dist/screens/email/email-tabs-i18n.d.ts +2 -1
- package/dist/screens/email/email-tabs-i18n.js +1 -9
- package/dist/screens/media/MediaEditPanel.js +2 -1
- package/dist/screens/media/MediaGenerationFacts.d.ts +8 -0
- package/dist/screens/media/MediaGenerationFacts.js +10 -0
- package/dist/screens/media/hooks/use-media.hooks.js +4 -1
- package/dist/screens/media/media-i18n/media-addons-i18n.js +21 -21
- package/dist/screens/media/rules.d.ts +7 -0
- package/dist/screens/media/rules.js +12 -1
- package/dist/screens/menus/hooks/use-menu-editor.hooks.js +1 -1
- package/dist/screens/plugins/PluginLists.d.ts +3 -3
- package/dist/screens/plugins/PluginLists.js +10 -8
- package/dist/screens/plugins/rules.js +4 -10
- package/dist/screens/routines/Routines.hooks.js +3 -2
- package/dist/screens/sites/AllSitesTab.js +1 -2
- package/dist/screens/sites/use-local-sites.hooks.js +4 -3
- package/dist/screens/skills/SkillInstallConfirmation.d.ts +1 -1
- package/dist/screens/skills/SkillInstallConfirmation.js +9 -4
- package/dist/screens/skills/skill-failure.js +4 -1
- package/dist/screens/skills/skill-upload.d.ts +10 -0
- package/dist/screens/skills/skill-upload.js +27 -9
- package/dist/screens/skills/skills-page-dictionary.js +1 -8
- package/dist/screens/storage/hooks/use-storage.hooks.js +2 -1
- package/dist/screens/storage/storage-screen-bindings.js +1 -1
- package/dist/screens/taxonomy/TaxonomyTermList.js +2 -13
- package/dist/screens/taxonomy/TermPicker.js +8 -24
- package/dist/screens/taxonomy/hooks/use-merge-term-section.hooks.js +0 -2
- package/dist/screens/taxonomy/hooks/use-term-detail-panel.hooks.js +0 -2
- package/dist/screens/webmcp/webmcp-i18n.js +1 -1
- package/dist/security/controllers/root-key-reveal.js +3 -2
- package/dist/security/controllers/shared-keys.controller.js +3 -2
- package/dist/security/credential-forms.rules.js +4 -1
- package/dist/security/host/AccessTokensGroups.js +1 -1
- package/dist/security/host/hooks/access-token-actions.d.ts +1 -1
- package/dist/security/host/hooks/access-token-actions.js +10 -7
- package/dist/security/host/hooks/access-token-add-actions.js +1 -1
- package/dist/security/host/hooks/access-token-groups.hooks.js +6 -4
- package/dist/security/host/hooks/access-token-refresh.hooks.d.ts +1 -1
- package/dist/security/host/hooks/access-token-refresh.hooks.js +4 -3
- package/dist/security/host/hooks/access-token-replace-actions.js +1 -1
- package/dist/security/host/hooks/access-token-stores.hooks.d.ts +19 -24
- package/dist/security/host/hooks/access-token-stores.hooks.js +7 -0
- package/dist/security/host/hooks/use-access-tokens.hooks.d.ts +2 -0
- package/dist/shell/components/AssistantDock/DockCleanupHeader.d.ts +3 -1
- package/dist/shell/components/AssistantDock/DockCleanupHeader.js +2 -1
- package/dist/shell/components/AssistantDock/DockHeader.d.ts +1 -1
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-es-id-de.js +12 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-hi-ur-bn.js +12 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-hu-fr-uk.js +12 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-ja-ko-pl.js +12 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-ru-fa-ar.js +12 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-tr-th-it.js +12 -0
- package/dist/shell/components/AssistantDock/assistant-dock-i18n/chat-pane-zh-cn-zh-tw-pt-br.js +12 -0
- package/dist/shell/components/AssistantDock/hooks/execution-config.hooks.js +3 -1
- package/dist/shell/hooks/assistant-chats-port.hooks.d.ts +2 -0
- package/dist/shell/hooks/use-conversation-deep-link.js +3 -1
- package/dist/shell/hooks/use-desktop-view-release.hooks.js +2 -2
- package/dist/shell/lib/addons-routes.js +3 -3
- package/dist/shell/lib/browser-stream.js +8 -8
- package/dist/shell/lib/descriptor-i18n.js +2 -2
- package/dist/sites/transfer/use-export-password.hooks.js +1 -2
- package/dist/widgets/react/components/WidgetInstanceNotices.d.ts +1 -1
- package/dist/widgets/react/components/WidgetInstanceNotices.js +0 -2
- package/dist/widgets/react/hooks/use-widget-instance-editor.hooks.js +1 -1
- package/package.json +9 -9
- package/src/screens/email/email.css +1 -1
- package/src/themes/default/admin.css +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.4
|
|
4
|
+
|
|
5
|
+
### Changes
|
|
6
|
+
|
|
7
|
+
- Publish compiled admin entry points, fix conversation pin controls, and keep email template previews in sync with the selected template.
|
|
8
|
+
- Keep matching terms visible in pinned lists and harden plugin and routine error lookups.
|
|
9
|
+
|
|
3
10
|
## 0.7.2
|
|
4
11
|
|
|
5
12
|
## 0.7.1
|
|
@@ -4,5 +4,447 @@
|
|
|
4
4
|
* size gate's 500-line limit; the dictionary's rationale and its assembly order stay in
|
|
5
5
|
* `./i18n-common.ts`, which is the one public entry (`@jini-ai/admin/core/i18n-common`).
|
|
6
6
|
*/
|
|
7
|
-
export declare const BASE_COMMON_I18N:
|
|
7
|
+
export declare const BASE_COMMON_I18N: {
|
|
8
|
+
es: {
|
|
9
|
+
Save: string;
|
|
10
|
+
"Saving\u2026": string;
|
|
11
|
+
"Saved.": string;
|
|
12
|
+
Cancel: string;
|
|
13
|
+
Delete: string;
|
|
14
|
+
"Delete permanently": string;
|
|
15
|
+
Edit: string;
|
|
16
|
+
Enable: string;
|
|
17
|
+
Disable: string;
|
|
18
|
+
Status: string;
|
|
19
|
+
Title: string;
|
|
20
|
+
Name: string;
|
|
21
|
+
Label: string;
|
|
22
|
+
Kind: string;
|
|
23
|
+
Timestamp: string;
|
|
24
|
+
Updated: string;
|
|
25
|
+
Trash: string;
|
|
26
|
+
More: string;
|
|
27
|
+
"Creating\u2026": string;
|
|
28
|
+
};
|
|
29
|
+
de: {
|
|
30
|
+
Save: string;
|
|
31
|
+
"Saving\u2026": string;
|
|
32
|
+
"Saved.": string;
|
|
33
|
+
Cancel: string;
|
|
34
|
+
Delete: string;
|
|
35
|
+
"Delete permanently": string;
|
|
36
|
+
Edit: string;
|
|
37
|
+
Enable: string;
|
|
38
|
+
Disable: string;
|
|
39
|
+
Status: string;
|
|
40
|
+
Title: string;
|
|
41
|
+
Name: string;
|
|
42
|
+
Label: string;
|
|
43
|
+
Kind: string;
|
|
44
|
+
Timestamp: string;
|
|
45
|
+
Updated: string;
|
|
46
|
+
Trash: string;
|
|
47
|
+
More: string;
|
|
48
|
+
"Creating\u2026": string;
|
|
49
|
+
};
|
|
50
|
+
it: {
|
|
51
|
+
Save: string;
|
|
52
|
+
"Saving\u2026": string;
|
|
53
|
+
"Saved.": string;
|
|
54
|
+
Cancel: string;
|
|
55
|
+
Delete: string;
|
|
56
|
+
"Delete permanently": string;
|
|
57
|
+
Edit: string;
|
|
58
|
+
Enable: string;
|
|
59
|
+
Disable: string;
|
|
60
|
+
Status: string;
|
|
61
|
+
Title: string;
|
|
62
|
+
Name: string;
|
|
63
|
+
Label: string;
|
|
64
|
+
Kind: string;
|
|
65
|
+
Timestamp: string;
|
|
66
|
+
Updated: string;
|
|
67
|
+
Trash: string;
|
|
68
|
+
More: string;
|
|
69
|
+
"Creating\u2026": string;
|
|
70
|
+
};
|
|
71
|
+
"zh-CN": {
|
|
72
|
+
Save: string;
|
|
73
|
+
"Saving\u2026": string;
|
|
74
|
+
"Saved.": string;
|
|
75
|
+
Cancel: string;
|
|
76
|
+
Delete: string;
|
|
77
|
+
"Delete permanently": string;
|
|
78
|
+
Edit: string;
|
|
79
|
+
Enable: string;
|
|
80
|
+
Disable: string;
|
|
81
|
+
Status: string;
|
|
82
|
+
Title: string;
|
|
83
|
+
Name: string;
|
|
84
|
+
Label: string;
|
|
85
|
+
Kind: string;
|
|
86
|
+
Timestamp: string;
|
|
87
|
+
Updated: string;
|
|
88
|
+
Trash: string;
|
|
89
|
+
More: string;
|
|
90
|
+
"Creating\u2026": string;
|
|
91
|
+
};
|
|
92
|
+
"zh-TW": {
|
|
93
|
+
Save: string;
|
|
94
|
+
"Saving\u2026": string;
|
|
95
|
+
"Saved.": string;
|
|
96
|
+
Cancel: string;
|
|
97
|
+
Delete: string;
|
|
98
|
+
"Delete permanently": string;
|
|
99
|
+
Edit: string;
|
|
100
|
+
Enable: string;
|
|
101
|
+
Disable: string;
|
|
102
|
+
Status: string;
|
|
103
|
+
Title: string;
|
|
104
|
+
Name: string;
|
|
105
|
+
Label: string;
|
|
106
|
+
Kind: string;
|
|
107
|
+
Timestamp: string;
|
|
108
|
+
Updated: string;
|
|
109
|
+
Trash: string;
|
|
110
|
+
More: string;
|
|
111
|
+
"Creating\u2026": string;
|
|
112
|
+
};
|
|
113
|
+
ar: {
|
|
114
|
+
Save: string;
|
|
115
|
+
"Saving\u2026": string;
|
|
116
|
+
"Saved.": string;
|
|
117
|
+
Cancel: string;
|
|
118
|
+
Delete: string;
|
|
119
|
+
"Delete permanently": string;
|
|
120
|
+
Edit: string;
|
|
121
|
+
Enable: string;
|
|
122
|
+
Disable: string;
|
|
123
|
+
Status: string;
|
|
124
|
+
Title: string;
|
|
125
|
+
Name: string;
|
|
126
|
+
Label: string;
|
|
127
|
+
Kind: string;
|
|
128
|
+
Timestamp: string;
|
|
129
|
+
Updated: string;
|
|
130
|
+
Trash: string;
|
|
131
|
+
More: string;
|
|
132
|
+
"Creating\u2026": string;
|
|
133
|
+
};
|
|
134
|
+
fa: {
|
|
135
|
+
Save: string;
|
|
136
|
+
"Saving\u2026": string;
|
|
137
|
+
"Saved.": string;
|
|
138
|
+
Cancel: string;
|
|
139
|
+
Delete: string;
|
|
140
|
+
"Delete permanently": string;
|
|
141
|
+
Edit: string;
|
|
142
|
+
Enable: string;
|
|
143
|
+
Disable: string;
|
|
144
|
+
Status: string;
|
|
145
|
+
Title: string;
|
|
146
|
+
Name: string;
|
|
147
|
+
Label: string;
|
|
148
|
+
Kind: string;
|
|
149
|
+
Timestamp: string;
|
|
150
|
+
Updated: string;
|
|
151
|
+
Trash: string;
|
|
152
|
+
More: string;
|
|
153
|
+
"Creating\u2026": string;
|
|
154
|
+
};
|
|
155
|
+
ru: {
|
|
156
|
+
Save: string;
|
|
157
|
+
"Saving\u2026": string;
|
|
158
|
+
"Saved.": string;
|
|
159
|
+
Cancel: string;
|
|
160
|
+
Delete: string;
|
|
161
|
+
"Delete permanently": string;
|
|
162
|
+
Edit: string;
|
|
163
|
+
Enable: string;
|
|
164
|
+
Disable: string;
|
|
165
|
+
Status: string;
|
|
166
|
+
Title: string;
|
|
167
|
+
Name: string;
|
|
168
|
+
Label: string;
|
|
169
|
+
Kind: string;
|
|
170
|
+
Timestamp: string;
|
|
171
|
+
Updated: string;
|
|
172
|
+
Trash: string;
|
|
173
|
+
More: string;
|
|
174
|
+
"Creating\u2026": string;
|
|
175
|
+
};
|
|
176
|
+
ja: {
|
|
177
|
+
Save: string;
|
|
178
|
+
"Saving\u2026": string;
|
|
179
|
+
"Saved.": string;
|
|
180
|
+
Cancel: string;
|
|
181
|
+
Delete: string;
|
|
182
|
+
"Delete permanently": string;
|
|
183
|
+
Edit: string;
|
|
184
|
+
Enable: string;
|
|
185
|
+
Disable: string;
|
|
186
|
+
Status: string;
|
|
187
|
+
Title: string;
|
|
188
|
+
Name: string;
|
|
189
|
+
Label: string;
|
|
190
|
+
Kind: string;
|
|
191
|
+
Timestamp: string;
|
|
192
|
+
Updated: string;
|
|
193
|
+
Trash: string;
|
|
194
|
+
More: string;
|
|
195
|
+
"Creating\u2026": string;
|
|
196
|
+
};
|
|
197
|
+
id: {
|
|
198
|
+
Save: string;
|
|
199
|
+
"Saving\u2026": string;
|
|
200
|
+
"Saved.": string;
|
|
201
|
+
Cancel: string;
|
|
202
|
+
Delete: string;
|
|
203
|
+
"Delete permanently": string;
|
|
204
|
+
Edit: string;
|
|
205
|
+
Enable: string;
|
|
206
|
+
Disable: string;
|
|
207
|
+
Status: string;
|
|
208
|
+
Title: string;
|
|
209
|
+
Name: string;
|
|
210
|
+
Label: string;
|
|
211
|
+
Kind: string;
|
|
212
|
+
Timestamp: string;
|
|
213
|
+
Updated: string;
|
|
214
|
+
Trash: string;
|
|
215
|
+
More: string;
|
|
216
|
+
"Creating\u2026": string;
|
|
217
|
+
};
|
|
218
|
+
"pt-BR": {
|
|
219
|
+
Save: string;
|
|
220
|
+
"Saving\u2026": string;
|
|
221
|
+
"Saved.": string;
|
|
222
|
+
Cancel: string;
|
|
223
|
+
Delete: string;
|
|
224
|
+
"Delete permanently": string;
|
|
225
|
+
Edit: string;
|
|
226
|
+
Enable: string;
|
|
227
|
+
Disable: string;
|
|
228
|
+
Status: string;
|
|
229
|
+
Title: string;
|
|
230
|
+
Name: string;
|
|
231
|
+
Label: string;
|
|
232
|
+
Kind: string;
|
|
233
|
+
Timestamp: string;
|
|
234
|
+
Updated: string;
|
|
235
|
+
Trash: string;
|
|
236
|
+
More: string;
|
|
237
|
+
"Creating\u2026": string;
|
|
238
|
+
};
|
|
239
|
+
ko: {
|
|
240
|
+
Save: string;
|
|
241
|
+
"Saving\u2026": string;
|
|
242
|
+
"Saved.": string;
|
|
243
|
+
Cancel: string;
|
|
244
|
+
Delete: string;
|
|
245
|
+
"Delete permanently": string;
|
|
246
|
+
Edit: string;
|
|
247
|
+
Enable: string;
|
|
248
|
+
Disable: string;
|
|
249
|
+
Status: string;
|
|
250
|
+
Title: string;
|
|
251
|
+
Name: string;
|
|
252
|
+
Label: string;
|
|
253
|
+
Kind: string;
|
|
254
|
+
Timestamp: string;
|
|
255
|
+
Updated: string;
|
|
256
|
+
Trash: string;
|
|
257
|
+
More: string;
|
|
258
|
+
"Creating\u2026": string;
|
|
259
|
+
};
|
|
260
|
+
pl: {
|
|
261
|
+
Save: string;
|
|
262
|
+
"Saving\u2026": string;
|
|
263
|
+
"Saved.": string;
|
|
264
|
+
Cancel: string;
|
|
265
|
+
Delete: string;
|
|
266
|
+
"Delete permanently": string;
|
|
267
|
+
Edit: string;
|
|
268
|
+
Enable: string;
|
|
269
|
+
Disable: string;
|
|
270
|
+
Status: string;
|
|
271
|
+
Title: string;
|
|
272
|
+
Name: string;
|
|
273
|
+
Label: string;
|
|
274
|
+
Kind: string;
|
|
275
|
+
Timestamp: string;
|
|
276
|
+
Updated: string;
|
|
277
|
+
Trash: string;
|
|
278
|
+
More: string;
|
|
279
|
+
"Creating\u2026": string;
|
|
280
|
+
};
|
|
281
|
+
hu: {
|
|
282
|
+
Save: string;
|
|
283
|
+
"Saving\u2026": string;
|
|
284
|
+
"Saved.": string;
|
|
285
|
+
Cancel: string;
|
|
286
|
+
Delete: string;
|
|
287
|
+
"Delete permanently": string;
|
|
288
|
+
Edit: string;
|
|
289
|
+
Enable: string;
|
|
290
|
+
Disable: string;
|
|
291
|
+
Status: string;
|
|
292
|
+
Title: string;
|
|
293
|
+
Name: string;
|
|
294
|
+
Label: string;
|
|
295
|
+
Kind: string;
|
|
296
|
+
Timestamp: string;
|
|
297
|
+
Updated: string;
|
|
298
|
+
Trash: string;
|
|
299
|
+
More: string;
|
|
300
|
+
"Creating\u2026": string;
|
|
301
|
+
};
|
|
302
|
+
fr: {
|
|
303
|
+
Save: string;
|
|
304
|
+
"Saving\u2026": string;
|
|
305
|
+
"Saved.": string;
|
|
306
|
+
Cancel: string;
|
|
307
|
+
Delete: string;
|
|
308
|
+
"Delete permanently": string;
|
|
309
|
+
Edit: string;
|
|
310
|
+
Enable: string;
|
|
311
|
+
Disable: string;
|
|
312
|
+
Status: string;
|
|
313
|
+
Title: string;
|
|
314
|
+
Name: string;
|
|
315
|
+
Label: string;
|
|
316
|
+
Kind: string;
|
|
317
|
+
Timestamp: string;
|
|
318
|
+
Updated: string;
|
|
319
|
+
Trash: string;
|
|
320
|
+
More: string;
|
|
321
|
+
"Creating\u2026": string;
|
|
322
|
+
};
|
|
323
|
+
uk: {
|
|
324
|
+
Save: string;
|
|
325
|
+
"Saving\u2026": string;
|
|
326
|
+
"Saved.": string;
|
|
327
|
+
Cancel: string;
|
|
328
|
+
Delete: string;
|
|
329
|
+
"Delete permanently": string;
|
|
330
|
+
Edit: string;
|
|
331
|
+
Enable: string;
|
|
332
|
+
Disable: string;
|
|
333
|
+
Status: string;
|
|
334
|
+
Title: string;
|
|
335
|
+
Name: string;
|
|
336
|
+
Label: string;
|
|
337
|
+
Kind: string;
|
|
338
|
+
Timestamp: string;
|
|
339
|
+
Updated: string;
|
|
340
|
+
Trash: string;
|
|
341
|
+
More: string;
|
|
342
|
+
"Creating\u2026": string;
|
|
343
|
+
};
|
|
344
|
+
tr: {
|
|
345
|
+
Save: string;
|
|
346
|
+
"Saving\u2026": string;
|
|
347
|
+
"Saved.": string;
|
|
348
|
+
Cancel: string;
|
|
349
|
+
Delete: string;
|
|
350
|
+
"Delete permanently": string;
|
|
351
|
+
Edit: string;
|
|
352
|
+
Enable: string;
|
|
353
|
+
Disable: string;
|
|
354
|
+
Status: string;
|
|
355
|
+
Title: string;
|
|
356
|
+
Name: string;
|
|
357
|
+
Label: string;
|
|
358
|
+
Kind: string;
|
|
359
|
+
Timestamp: string;
|
|
360
|
+
Updated: string;
|
|
361
|
+
Trash: string;
|
|
362
|
+
More: string;
|
|
363
|
+
"Creating\u2026": string;
|
|
364
|
+
};
|
|
365
|
+
th: {
|
|
366
|
+
Save: string;
|
|
367
|
+
"Saving\u2026": string;
|
|
368
|
+
"Saved.": string;
|
|
369
|
+
Cancel: string;
|
|
370
|
+
Delete: string;
|
|
371
|
+
"Delete permanently": string;
|
|
372
|
+
Edit: string;
|
|
373
|
+
Enable: string;
|
|
374
|
+
Disable: string;
|
|
375
|
+
Status: string;
|
|
376
|
+
Title: string;
|
|
377
|
+
Name: string;
|
|
378
|
+
Label: string;
|
|
379
|
+
Kind: string;
|
|
380
|
+
Timestamp: string;
|
|
381
|
+
Updated: string;
|
|
382
|
+
Trash: string;
|
|
383
|
+
More: string;
|
|
384
|
+
"Creating\u2026": string;
|
|
385
|
+
};
|
|
386
|
+
hi: {
|
|
387
|
+
Save: string;
|
|
388
|
+
"Saving\u2026": string;
|
|
389
|
+
"Saved.": string;
|
|
390
|
+
Cancel: string;
|
|
391
|
+
Delete: string;
|
|
392
|
+
"Delete permanently": string;
|
|
393
|
+
Edit: string;
|
|
394
|
+
Enable: string;
|
|
395
|
+
Disable: string;
|
|
396
|
+
Status: string;
|
|
397
|
+
Title: string;
|
|
398
|
+
Name: string;
|
|
399
|
+
Label: string;
|
|
400
|
+
Kind: string;
|
|
401
|
+
Timestamp: string;
|
|
402
|
+
Updated: string;
|
|
403
|
+
Trash: string;
|
|
404
|
+
More: string;
|
|
405
|
+
"Creating\u2026": string;
|
|
406
|
+
};
|
|
407
|
+
ur: {
|
|
408
|
+
Save: string;
|
|
409
|
+
"Saving\u2026": string;
|
|
410
|
+
"Saved.": string;
|
|
411
|
+
Cancel: string;
|
|
412
|
+
Delete: string;
|
|
413
|
+
"Delete permanently": string;
|
|
414
|
+
Edit: string;
|
|
415
|
+
Enable: string;
|
|
416
|
+
Disable: string;
|
|
417
|
+
Status: string;
|
|
418
|
+
Title: string;
|
|
419
|
+
Name: string;
|
|
420
|
+
Label: string;
|
|
421
|
+
Kind: string;
|
|
422
|
+
Timestamp: string;
|
|
423
|
+
Updated: string;
|
|
424
|
+
Trash: string;
|
|
425
|
+
More: string;
|
|
426
|
+
"Creating\u2026": string;
|
|
427
|
+
};
|
|
428
|
+
bn: {
|
|
429
|
+
Save: string;
|
|
430
|
+
"Saving\u2026": string;
|
|
431
|
+
"Saved.": string;
|
|
432
|
+
Cancel: string;
|
|
433
|
+
Delete: string;
|
|
434
|
+
"Delete permanently": string;
|
|
435
|
+
Edit: string;
|
|
436
|
+
Enable: string;
|
|
437
|
+
Disable: string;
|
|
438
|
+
Status: string;
|
|
439
|
+
Title: string;
|
|
440
|
+
Name: string;
|
|
441
|
+
Label: string;
|
|
442
|
+
Kind: string;
|
|
443
|
+
Timestamp: string;
|
|
444
|
+
Updated: string;
|
|
445
|
+
Trash: string;
|
|
446
|
+
More: string;
|
|
447
|
+
"Creating\u2026": string;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
8
450
|
//# sourceMappingURL=i18n-common-base.d.ts.map
|
package/dist/core/i18n-common.js
CHANGED
|
@@ -1,33 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Cross-feature UI-chrome words shared by every `*-i18n.ts` dictionary in the host's admin —
|
|
3
|
-
* verbs/nouns that recur verbatim across many features (Save, Cancel, Delete, Edit, Enable,
|
|
4
|
-
* Disable, Status, Title, Name, Label, Kind, Timestamp, Updated, Trash, More, and the two save-flow
|
|
5
|
-
* participles). Seeded from real duplication found across the existing per-feature dictionaries
|
|
6
|
-
* (a `grep`-and-diff pass, not guessed) — every value here already matched byte-for-byte across
|
|
7
|
-
* 3+ feature files before this file existed.
|
|
8
|
-
*
|
|
9
|
-
* Deliberately excludes nav/taxonomy nouns like "Content", "People", "Operations", "Marketing",
|
|
10
|
-
* "Studio", "Pages" even though some also repeat across files — those are the admin sidebar's own
|
|
11
|
-
* category vocabulary (canonical source: `admin-nav-i18n.ts`), not generic chrome, and a feature
|
|
12
|
-
* page's use of e.g. "Pages" as a breadcrumb label is coincidental overlap, not the same concept.
|
|
13
|
-
*
|
|
14
|
-
* A feature dictionary looks up its own keys first; only falls back here on a miss (see
|
|
15
|
-
* `createDictionaryTranslator` in `dictionary-translator.ts`). Adding a new language is one block
|
|
16
|
-
* here plus one block per feature file that actually has feature-specific copy — this file is
|
|
17
|
-
* where an entry only has to be translated ONCE instead of once per feature. Moved feature
|
|
18
|
-
* dictionaries pass `ADMIN_COMMON_I18N` as that translator's `commonDictionary`.
|
|
19
|
-
*
|
|
20
|
-
* Only the product-neutral entries live here. A host whose own common words name its product keeps
|
|
21
|
-
* those in its own dictionary and composes it over this one per locale (`{ ...ADMIN_COMMON_I18N[locale],
|
|
22
|
-
* ...hostEntries }`), so a product string never ships inside a reusable package.
|
|
23
|
-
*
|
|
24
|
-
* This does NOT cover the Settings dialog's own content (tab names, form labels inside it) — that
|
|
25
|
-
* ships as a SEPARATE dictionary in the `@jini-ai/ui` package
|
|
26
|
-
* (`packages/ui/src/features/i18n/dictionaries/`), on purpose: that package is reusable across
|
|
27
|
-
* hosts, so a host-specific dictionary has no business living inside it. Same shape/fallback
|
|
28
|
-
* convention as this file, but a genuinely separate dictionary that must be extended on its own —
|
|
29
|
-
* adding a language here does not add it there. Check both before assuming a locale is fully done.
|
|
30
|
-
*/
|
|
31
1
|
import { BASE_COMMON_I18N } from "./i18n-common-base.js";
|
|
32
2
|
const COMMON_EXTRA_KEYS = [
|
|
33
3
|
"Publish Content", "Sends your posts, pages and media to the live site. Deploy ships code; publish ships content.", "Anything edited on the live site is skipped unless you tick Overwrite on live.", "Publish to", "Choose a site…", "Publishing to", "Publish every item that can be published", "Item", "What happens", "to publish", "unchanged", "skipped", "Broken image reference", "⚠ Image unavailable", "Replace", "Remove", "Loading widget…", "Broken widget reference", "⚠ Widget unavailable", "Change", "Insert widget",
|
|
@@ -83,10 +53,7 @@ const COMMON_EXTRA_VALUES = {
|
|
|
83
53
|
bn: ["বিষয়বস্তু প্রকাশ করুন", "আপনার পোস্ট, পৃষ্ঠা এবং মিডিয়া লাইভ সাইটে পাঠায়। ডিপ্লয় কোড পাঠায়; প্রকাশনা বিষয়বস্তু পাঠায়।", "লাইভ সাইটে সম্পাদিত যেকোনো কিছু এড়িয়ে যাওয়া হয়, যদি না আপনি লাইভ সাইটে ওভাররাইট করুন টিক দেন।", "এতে প্রকাশ করুন", "একটি সাইট বেছে নিন…", "এতে প্রকাশ করা হচ্ছে", "প্রকাশ করা যায় এমন প্রতিটি আইটেম প্রকাশ করুন", "আইটেম", "কী ঘটে", "প্রকাশ করতে", "অপরিবর্তিত", "এড়িয়ে গেছে", "ভাঙা চিত্র রেফারেন্স", "⚠ চিত্র উপলভ্য নয়", "প্রতিস্থাপন", "সরান", "উইজেট লোড হচ্ছে…", "ভাঙা উইজেট রেফারেন্স", "⚠ উইজেট উপলভ্য নয়", "পরিবর্তন করুন", "উইজেট সন্নিবেশ করুন", "স্টাইল", "লাইভ সাইটে ওভাররাইট করুন", "লাইভ সাইটে এমন প্রতিটি আইটেম ওভাররাইট করুন যা কিছু প্রতিস্থাপন করতে পারে", "এখানে চলে যায়:", "টিক দেওয়া আইটেমগুলো লাইভ সাইটে থাকা জিনিস প্রতিস্থাপন করবে, এবং ট্র্যাশ বা ইতিহাস থেকে পুনরুদ্ধারযোগ্য থাকবে।", "আপনি সিদ্ধান্ত নেওয়ার সময় পরিবর্তিত হয়েছে। তালিকাটি আবার পরীক্ষা করুন।", "প্রভাবিত মেনু লিঙ্কসমূহ:", "আপডেট হওয়া মেনু লিঙ্ক:", "প্রকাশিত হয়েছে, কিন্তু এগুলো লাইভ সাইটে সঠিকভাবে দেখাবে না:", "লাইভ সাইটে ট্র্যাশে সরানো হবে", "আপনি সম্পাদনা করার সময় অন্য কেউ এটি পরিবর্তন করেছেন। আপনার পরিবর্তনগুলি সংরক্ষিত হয়নি। যা রাখতে চান তা কপি করুন, তারপর তাদের সংস্করণ দেখতে আবার লোড করুন।"],
|
|
84
54
|
};
|
|
85
55
|
const COMMON_EXTRA_I18N = Object.fromEntries(Object.entries(COMMON_EXTRA_VALUES).map(([locale, values]) => [locale, Object.fromEntries(COMMON_EXTRA_KEYS.map((key, index) => {
|
|
86
|
-
|
|
87
|
-
if (value === undefined)
|
|
88
|
-
throw new Error(`common dictionary ${locale} is missing ${key}`);
|
|
89
|
-
return [key, value];
|
|
56
|
+
return [key, values[index]];
|
|
90
57
|
}))]));
|
|
91
58
|
/** "Wrap: on"/"Wrap: off" for every read-only code viewer (plugin files, theme templates). Moved here
|
|
92
59
|
* from plugins-i18n on 2026-10-10 when the template viewer got the same toggle. */
|
|
@@ -266,8 +233,6 @@ const BUILT_IN_I18N = {
|
|
|
266
233
|
};
|
|
267
234
|
export const ADMIN_COMMON_I18N = Object.fromEntries(Object.entries(BASE_COMMON_I18N).map(([locale, values]) => {
|
|
268
235
|
const builtIn = BUILT_IN_I18N[locale];
|
|
269
|
-
if (builtIn === undefined)
|
|
270
|
-
throw new Error(`common dictionary ${locale} is missing Built-in`);
|
|
271
236
|
return [locale, { ...values, "Built-in": builtIn, ...DRAFT_RECOVERY_I18N[locale], ...CODE_WRAP_I18N[locale], ...Object.entries(COMMON_EXTRA_I18N).find(([extraLocale]) => extraLocale === locale)?.[1] }];
|
|
272
237
|
}));
|
|
273
238
|
//# sourceMappingURL=i18n-common.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BASE_COMMON_I18N } from "./i18n-common-base.js";
|
|
2
|
+
/** The admin's translated locales; English uses the source keys. */
|
|
3
|
+
export type AdminTranslationLocale = keyof typeof BASE_COMMON_I18N;
|
|
4
|
+
/** One translation per fixed key, preserving the key tuple's length at compile time. */
|
|
5
|
+
export type TranslationRow<Keys extends readonly string[]> = {
|
|
6
|
+
readonly [Index in keyof Keys]: string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=i18n-types.d.ts.map
|
|
@@ -134,9 +134,8 @@ export function resolveAgentPageId({ panels, panelId, view }) {
|
|
|
134
134
|
export function buildAgentScreens({ panels }, { defaultReachable = false, paths = {} } = {}) {
|
|
135
135
|
const pages = buildAgentPageMap({ panels }, { defaultReachable });
|
|
136
136
|
return Object.entries(pages).map(([id, originalPath]) => {
|
|
137
|
+
// Every published id came from one of these panels or its route declarations above.
|
|
137
138
|
const panel = panels.find(candidate => candidate.id === id || candidate.routes?.some(route => route.agentPageId === id));
|
|
138
|
-
if (!panel)
|
|
139
|
-
throw new Error(`Missing owner for admin page "${id}"`);
|
|
140
139
|
return projectAgentScreen({ id, path: paths[id] ?? originalPath, panel, paths });
|
|
141
140
|
});
|
|
142
141
|
}
|
|
@@ -159,7 +159,7 @@ function PageEditorTemplateOptions({ deps, availableTemplates, setTemplateChoice
|
|
|
159
159
|
onChange: (e) => setTemplateChoice(pickerValueToChoice({ value: e.target.value })), ...agentHandle({ handle: "page-template-choice" }, {
|
|
160
160
|
role: "field",
|
|
161
161
|
label: "Which theme page template this page renders through on the public site. 'No template' serves only the page's own HTML.",
|
|
162
|
-
}), children: [
|
|
162
|
+
}), children: [_jsx("option", { value: THEME_DEFAULT_SENTINEL, children: t("Theme default") }), availableTemplates.map((template) => (_jsx("option", { value: template, children: template }, template))), _jsx("option", { value: "", children: t("No template — HTML only") })] }));
|
|
163
163
|
}
|
|
164
164
|
export function PageEditorHeaderSection({ editor, page, kit, deps }, _optional = {}) {
|
|
165
165
|
const { title, setTitle, slug, setSlug, onBackLinkClick, t } = editor;
|
|
@@ -71,7 +71,7 @@ export declare function usePageEditorSave(input: ReturnType<typeof usePageEditor
|
|
|
71
71
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
72
72
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
73
73
|
setHtmlFromCanvas: (value: string) => void;
|
|
74
|
-
device: "
|
|
74
|
+
device: "desktop" | "mobile" | "tablet";
|
|
75
75
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
76
76
|
previewExpanded: boolean;
|
|
77
77
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -242,7 +242,7 @@ export declare function usePageEditorActions(input: ReturnType<typeof usePageEdi
|
|
|
242
242
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
243
243
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
244
244
|
setHtmlFromCanvas: (value: string) => void;
|
|
245
|
-
device: "
|
|
245
|
+
device: "desktop" | "mobile" | "tablet";
|
|
246
246
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
247
247
|
previewExpanded: boolean;
|
|
248
248
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -158,7 +158,7 @@ export declare function usePageEditorHydration(input: ReturnType<typeof usePageE
|
|
|
158
158
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
159
159
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
160
160
|
setHtmlFromCanvas: (value: string) => void;
|
|
161
|
-
device: "
|
|
161
|
+
device: "desktop" | "mobile" | "tablet";
|
|
162
162
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
163
163
|
previewExpanded: boolean;
|
|
164
164
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -72,7 +72,7 @@ export declare function usePageEditorPreviewWorkspace(input: ReturnType<typeof u
|
|
|
72
72
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
73
73
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
74
74
|
setHtmlFromCanvas: (value: string) => void;
|
|
75
|
-
device: "
|
|
75
|
+
device: "desktop" | "mobile" | "tablet";
|
|
76
76
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
77
77
|
previewExpanded: boolean;
|
|
78
78
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -250,7 +250,7 @@ export declare function usePageEditorPreview(input: ReturnType<typeof usePageEdi
|
|
|
250
250
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
251
251
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
252
252
|
setHtmlFromCanvas: (value: string) => void;
|
|
253
|
-
device: "
|
|
253
|
+
device: "desktop" | "mobile" | "tablet";
|
|
254
254
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
255
255
|
previewExpanded: boolean;
|
|
256
256
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -436,7 +436,7 @@ export declare function usePageEditorPreviewSubmit(input: ReturnType<typeof useP
|
|
|
436
436
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
437
437
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
438
438
|
setHtmlFromCanvas: (value: string) => void;
|
|
439
|
-
device: "
|
|
439
|
+
device: "desktop" | "mobile" | "tablet";
|
|
440
440
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
441
441
|
previewExpanded: boolean;
|
|
442
442
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -91,7 +91,7 @@ export declare function usePageEditorRecovery(input: ReturnType<typeof usePageEd
|
|
|
91
91
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
92
92
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
93
93
|
setHtmlFromCanvas: (value: string) => void;
|
|
94
|
-
device: "
|
|
94
|
+
device: "desktop" | "mobile" | "tablet";
|
|
95
95
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
96
96
|
previewExpanded: boolean;
|
|
97
97
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -279,7 +279,7 @@ export declare function usePageEditorRestore(input: ReturnType<typeof usePageEdi
|
|
|
279
279
|
interactiveEditorRef: import("react").RefObject<import("../../react/kit.js").InteractiveHtmlEditorHandle | null>;
|
|
280
280
|
flushInteractiveEdits: () => Promise<string | undefined>;
|
|
281
281
|
setHtmlFromCanvas: (value: string) => void;
|
|
282
|
-
device: "
|
|
282
|
+
device: "desktop" | "mobile" | "tablet";
|
|
283
283
|
setDevice: (value: import("../../shell/components/DevicePreview/DevicePreview.hooks.js").DevicePreviewDevice) => void;
|
|
284
284
|
previewExpanded: boolean;
|
|
285
285
|
setPreviewExpanded: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -32,7 +32,7 @@ export function usePageEditorRecovery(input, _optional = {}) {
|
|
|
32
32
|
const { confirmLeave } = useDirtyGuard({
|
|
33
33
|
current: { title, slug, status, html, templateChoice },
|
|
34
34
|
original: pageDirtyGuardBaseline({ page, savedHtml, savedTemplateChoice }),
|
|
35
|
-
}, { host: window, translate: (key) => key });
|
|
35
|
+
}, { host: window, translate: (key) => t({ locale, key }) });
|
|
36
36
|
const onBackLinkClick = useCallback(async (event) => {
|
|
37
37
|
if (!interactiveEditorRef.current) {
|
|
38
38
|
if (!confirmLeave())
|