strapi-plugin-navigation 3.0.6 → 3.0.7-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/ca-BzGBgdJx.js +1 -0
- package/dist/_chunks/{ca-BQ81Qo-9.mjs → ca-DVB9tv4s.mjs} +2 -2
- package/dist/_chunks/{en-CcW4J8BX.mjs → en--XL9UqS_.mjs} +2 -2
- package/dist/_chunks/en-CKowl_sX.js +1 -0
- package/dist/_chunks/{fr-C2AllG-a.mjs → fr-DDKFueED.mjs} +2 -2
- package/dist/_chunks/fr-DyX_S7LN.js +1 -0
- package/dist/admin/index.js +1281 -54891
- package/dist/admin/index.mjs +28754 -42497
- package/dist/server/index.js +49 -16290
- package/dist/server/index.mjs +7961 -12945
- package/dist/server/src/graphql/types/navigation-item-type.d.ts +2 -0
- package/package.json +8 -12
- package/dist/_chunks/ca-DnfumDWu.js +0 -491
- package/dist/_chunks/en-DFL7XJr6.js +0 -497
- package/dist/_chunks/fr-CM4is9Gz.js +0 -497
|
@@ -1,497 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const en = {
|
|
4
|
-
plugin: {
|
|
5
|
-
name: "UI Navigation",
|
|
6
|
-
section: {
|
|
7
|
-
name: "Navigation plugin",
|
|
8
|
-
item: "Configuration"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
header: {
|
|
12
|
-
title: "Navigation",
|
|
13
|
-
description: "Define your portal navigation",
|
|
14
|
-
meta: "ID: { id }, slug: { key }",
|
|
15
|
-
action: {
|
|
16
|
-
newItem: "New Item",
|
|
17
|
-
manage: "Manage",
|
|
18
|
-
collapseAll: "Collapse All",
|
|
19
|
-
expandAll: "Expand All"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
submit: {
|
|
23
|
-
cta: {
|
|
24
|
-
cancel: "Cancel",
|
|
25
|
-
save: "Save"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
empty: {
|
|
29
|
-
description: "Your navigation is empty",
|
|
30
|
-
cta: "Create first item"
|
|
31
|
-
},
|
|
32
|
-
popup: {
|
|
33
|
-
navigation: {
|
|
34
|
-
manage: {
|
|
35
|
-
header: {
|
|
36
|
-
LIST: "All navigations",
|
|
37
|
-
CREATE: "New navigation",
|
|
38
|
-
DELETE: "Deleting",
|
|
39
|
-
ERROR: "Error",
|
|
40
|
-
EDIT: 'Editing "{name}"'
|
|
41
|
-
},
|
|
42
|
-
button: {
|
|
43
|
-
cancel: "Cancel",
|
|
44
|
-
delete: "Delete",
|
|
45
|
-
save: "Save",
|
|
46
|
-
edit: "Edit",
|
|
47
|
-
create: "Create",
|
|
48
|
-
goBack: "Go back",
|
|
49
|
-
purge: "Clear read cache"
|
|
50
|
-
},
|
|
51
|
-
table: {
|
|
52
|
-
id: "Id",
|
|
53
|
-
name: "Name",
|
|
54
|
-
locale: "Locale versions",
|
|
55
|
-
visibility: "Visibility",
|
|
56
|
-
hasSelected: "{count} entries selected"
|
|
57
|
-
},
|
|
58
|
-
footer: {
|
|
59
|
-
button: {
|
|
60
|
-
purge: "Clear"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
purge: {
|
|
64
|
-
header: "This action will clear API read cache. This will result in brief slowdown of reads for navigations below."
|
|
65
|
-
},
|
|
66
|
-
delete: {
|
|
67
|
-
header: "Following navigations will be removed:"
|
|
68
|
-
},
|
|
69
|
-
error: {
|
|
70
|
-
header: "An error happened :(",
|
|
71
|
-
message: "An error happened while processing request."
|
|
72
|
-
},
|
|
73
|
-
navigation: {
|
|
74
|
-
visible: "visible",
|
|
75
|
-
hidden: "hidden"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
form: {
|
|
79
|
-
name: {
|
|
80
|
-
label: "Name",
|
|
81
|
-
placeholder: "Navigations's name",
|
|
82
|
-
validation: {
|
|
83
|
-
name: {
|
|
84
|
-
required: "Name is required",
|
|
85
|
-
tooShort: "Name is too short",
|
|
86
|
-
alreadyUsed: "Name is already used"
|
|
87
|
-
},
|
|
88
|
-
visible: {
|
|
89
|
-
required: "Visibility is required"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
visible: {
|
|
94
|
-
label: "Visibility",
|
|
95
|
-
toggle: {
|
|
96
|
-
visible: "Visible",
|
|
97
|
-
hidden: "Hidden"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
item: {
|
|
103
|
-
header: {
|
|
104
|
-
view: "View navigation item",
|
|
105
|
-
edit: "Edit navigation item",
|
|
106
|
-
new: "New navigation item"
|
|
107
|
-
},
|
|
108
|
-
form: {
|
|
109
|
-
title: {
|
|
110
|
-
label: "Title",
|
|
111
|
-
autoSync: {
|
|
112
|
-
label: "Read fields from related"
|
|
113
|
-
},
|
|
114
|
-
placeholder: "Enter the item title or leave blank to pull from related entity"
|
|
115
|
-
},
|
|
116
|
-
uiRouterKey: {
|
|
117
|
-
label: "UI router key",
|
|
118
|
-
placeholder: 'If empty, auto generated by "Title"'
|
|
119
|
-
},
|
|
120
|
-
uiRouter: {
|
|
121
|
-
unableToRender: "Unable to render slug and/or UI Router Key because of not supported characters"
|
|
122
|
-
},
|
|
123
|
-
path: {
|
|
124
|
-
label: "URL",
|
|
125
|
-
placeholder: "Unique url part identifies this item",
|
|
126
|
-
preview: "Preview:"
|
|
127
|
-
},
|
|
128
|
-
externalPath: {
|
|
129
|
-
label: "External URL",
|
|
130
|
-
placeholder: "Link to the external source",
|
|
131
|
-
validation: {
|
|
132
|
-
type: "This value is not a proper url."
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
menuAttached: {
|
|
136
|
-
label: "Attach to menu",
|
|
137
|
-
value: {
|
|
138
|
-
yes: "Yes",
|
|
139
|
-
no: "No"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
type: {
|
|
143
|
-
label: "Navigation item type",
|
|
144
|
-
internal: {
|
|
145
|
-
label: "Internal source"
|
|
146
|
-
},
|
|
147
|
-
external: {
|
|
148
|
-
label: "External source",
|
|
149
|
-
description: "Output path: {value}"
|
|
150
|
-
},
|
|
151
|
-
wrapper: {
|
|
152
|
-
label: "Wrapper element"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
audience: {
|
|
156
|
-
label: "Audience",
|
|
157
|
-
placeholder: "Select audience...",
|
|
158
|
-
empty: "There are no more audiences"
|
|
159
|
-
},
|
|
160
|
-
relatedSection: {
|
|
161
|
-
label: "Relation to"
|
|
162
|
-
},
|
|
163
|
-
relatedType: {
|
|
164
|
-
label: "Content Type",
|
|
165
|
-
placeholder: "Select content type...",
|
|
166
|
-
empty: "There are no content types to select"
|
|
167
|
-
},
|
|
168
|
-
related: {
|
|
169
|
-
label: "Entity",
|
|
170
|
-
placeholder: "Select entity...",
|
|
171
|
-
empty: 'There are no more entities of "{ contentTypeName }" to select'
|
|
172
|
-
},
|
|
173
|
-
i18n: {
|
|
174
|
-
locale: {
|
|
175
|
-
label: "Copy details from",
|
|
176
|
-
placeholder: "locale",
|
|
177
|
-
button: "Copy",
|
|
178
|
-
error: {
|
|
179
|
-
generic: "Unable to copy item",
|
|
180
|
-
unavailable: "Locale version unavailable"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
button: {
|
|
185
|
-
create: "Create item",
|
|
186
|
-
update: "Update item",
|
|
187
|
-
restore: "Restore item",
|
|
188
|
-
remove: "Remove",
|
|
189
|
-
save: "Save",
|
|
190
|
-
cancel: "Cancel"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
notification: {
|
|
196
|
-
navigation: {
|
|
197
|
-
submit: "Navigation changes has been saved",
|
|
198
|
-
error: 'Duplicate path: "{ path }" in parent: "{ parentTitle }" for { errorTitles } items',
|
|
199
|
-
item: {
|
|
200
|
-
relation: "Entity relation does not exist!",
|
|
201
|
-
status: {
|
|
202
|
-
draft: "draft",
|
|
203
|
-
published: "published"
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
error: {
|
|
208
|
-
common: "Error while processing request.",
|
|
209
|
-
customField: {
|
|
210
|
-
type: "Unsupported type of custom field",
|
|
211
|
-
media: {
|
|
212
|
-
missing: "Media input component is missing"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
item: {
|
|
216
|
-
relation: "Relations provided in some items are incorrect",
|
|
217
|
-
slug: 'Unable to create valid UI Router Key(slug) from "{ query }". "{ result }" received'
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
pages: {
|
|
222
|
-
auth: {
|
|
223
|
-
noAccess: "No access",
|
|
224
|
-
not: {
|
|
225
|
-
allowed: "Oops! It seems like You do not have access to this page..."
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
main: {
|
|
229
|
-
search: {
|
|
230
|
-
placeholder: "Type to start searching...",
|
|
231
|
-
subLabel: "press ENTER to highlight next item"
|
|
232
|
-
},
|
|
233
|
-
header: {
|
|
234
|
-
localization: {
|
|
235
|
-
select: {
|
|
236
|
-
placeholder: "Select locale"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
settings: {
|
|
242
|
-
title: "Navigation settings",
|
|
243
|
-
general: {
|
|
244
|
-
title: "General settings"
|
|
245
|
-
},
|
|
246
|
-
additional: {
|
|
247
|
-
title: "Additional settings"
|
|
248
|
-
},
|
|
249
|
-
customFields: {
|
|
250
|
-
title: "Custom fields settings"
|
|
251
|
-
},
|
|
252
|
-
nameField: {
|
|
253
|
-
title: "Content types settings"
|
|
254
|
-
},
|
|
255
|
-
restoring: {
|
|
256
|
-
title: "Restoring"
|
|
257
|
-
},
|
|
258
|
-
section: {
|
|
259
|
-
title: "Navigation Plugin",
|
|
260
|
-
subtitle: "Configuration"
|
|
261
|
-
},
|
|
262
|
-
header: {
|
|
263
|
-
title: "Navigation",
|
|
264
|
-
description: "Configure the navigation plugin"
|
|
265
|
-
},
|
|
266
|
-
form: {
|
|
267
|
-
cascadeMenuAttached: {
|
|
268
|
-
label: "Cascade menu attached",
|
|
269
|
-
hint: `Disable if you don't want "Menu attached" to cascade on child items`
|
|
270
|
-
},
|
|
271
|
-
preferCustomContentTypes: {
|
|
272
|
-
label: "Prefer API Content Types",
|
|
273
|
-
hint: "Prefer if to use only api:: prefixed content types"
|
|
274
|
-
},
|
|
275
|
-
contentTypes: {
|
|
276
|
-
label: "Enable navigation for",
|
|
277
|
-
placeholder: "eg. Pages, Posts",
|
|
278
|
-
hint: "If none is selected, also none of the content types are enabled"
|
|
279
|
-
},
|
|
280
|
-
i18n: {
|
|
281
|
-
label: "i18n",
|
|
282
|
-
hint: "Enable internationalisation",
|
|
283
|
-
hintMissingDefaultLocale: "Default locale missing!"
|
|
284
|
-
},
|
|
285
|
-
allowedLevels: {
|
|
286
|
-
label: "Allowed levels",
|
|
287
|
-
placeholder: "eg. 2",
|
|
288
|
-
hint: `Maximum level for which you're able to mark item as "Menu attached"`
|
|
289
|
-
},
|
|
290
|
-
audience: {
|
|
291
|
-
label: "Audience",
|
|
292
|
-
hint: "Enable audience field"
|
|
293
|
-
},
|
|
294
|
-
nameField: {
|
|
295
|
-
default: "Default",
|
|
296
|
-
label: "Name fields",
|
|
297
|
-
placeholder: "Select at least one or leave empty to apply defaults",
|
|
298
|
-
hint: 'If left empty name field is going to take following ordered fields: "title", "subject" and "name"',
|
|
299
|
-
empty: "This content type doesn't have any string attributes"
|
|
300
|
-
},
|
|
301
|
-
populate: {
|
|
302
|
-
label: "Fields to populate",
|
|
303
|
-
placeholder: "Select at least one or leave empty to disable populating relation fields",
|
|
304
|
-
hint: "Selected relation fields will be populated inside API responses",
|
|
305
|
-
empty: "This content type doesn't have any relation fields"
|
|
306
|
-
},
|
|
307
|
-
pathDefaultFields: {
|
|
308
|
-
label: "Path default fields",
|
|
309
|
-
placeholder: "Select at least one or leave it empty to disable populating path field with attributes value",
|
|
310
|
-
hint: "Value of selected attribute will be a default value for internal path",
|
|
311
|
-
empty: "This content type doesn't have any suitable attributes"
|
|
312
|
-
},
|
|
313
|
-
contentTypesSettings: {
|
|
314
|
-
label: "Content types",
|
|
315
|
-
tooltip: "Custom configuration per content type",
|
|
316
|
-
initializationWarning: {
|
|
317
|
-
title: "Warning",
|
|
318
|
-
content: "- Content Type hasn't yet been initialized. Initialize it first to be able to use in a Visual Editor."
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
customFields: {
|
|
322
|
-
table: {
|
|
323
|
-
confirmation: {
|
|
324
|
-
header: "Removing custom field",
|
|
325
|
-
message: "This action will cause removing all custom fields values from navigation items.",
|
|
326
|
-
confirm: "Continue",
|
|
327
|
-
error: "An error ocurred while removing custom field"
|
|
328
|
-
},
|
|
329
|
-
header: {
|
|
330
|
-
name: "Name",
|
|
331
|
-
label: "Label",
|
|
332
|
-
type: "Type",
|
|
333
|
-
required: "Required"
|
|
334
|
-
},
|
|
335
|
-
footer: "Create new custom field",
|
|
336
|
-
edit: "Edit custom field",
|
|
337
|
-
enable: "Enable custom field",
|
|
338
|
-
disable: "Disable custom field",
|
|
339
|
-
remove: "Remove custom field",
|
|
340
|
-
required: "required",
|
|
341
|
-
notRequired: "not required"
|
|
342
|
-
},
|
|
343
|
-
popup: {
|
|
344
|
-
header: {
|
|
345
|
-
edit: "Edit custom field",
|
|
346
|
-
new: "Add new custom field"
|
|
347
|
-
},
|
|
348
|
-
name: {
|
|
349
|
-
label: "Custom field name",
|
|
350
|
-
placeholder: "example_name",
|
|
351
|
-
description: "Name of the custom field must be unique"
|
|
352
|
-
},
|
|
353
|
-
label: {
|
|
354
|
-
label: "Custom field label",
|
|
355
|
-
placeholder: "Example label",
|
|
356
|
-
description: "This label will be displayed on navigation item form"
|
|
357
|
-
},
|
|
358
|
-
type: {
|
|
359
|
-
label: "Custom field type",
|
|
360
|
-
description: "Type of the custom field, define how it will be displayed"
|
|
361
|
-
},
|
|
362
|
-
required: {
|
|
363
|
-
label: "Require field",
|
|
364
|
-
description: "Enabling this field will not change already exiting navigation items"
|
|
365
|
-
},
|
|
366
|
-
options: {
|
|
367
|
-
label: "Options for select input",
|
|
368
|
-
description: 'Provide options separated by ";"'
|
|
369
|
-
},
|
|
370
|
-
multi: {
|
|
371
|
-
label: "Enable multiple options input",
|
|
372
|
-
description: "Allow single or multiple options selection"
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
actions: {
|
|
378
|
-
submit: "Save configuration",
|
|
379
|
-
restore: {
|
|
380
|
-
label: "Restore configuration",
|
|
381
|
-
confirmation: {
|
|
382
|
-
header: "Do you want to continue?",
|
|
383
|
-
confirm: "Restore",
|
|
384
|
-
description: "Plugin config will be restored from plugins.js file."
|
|
385
|
-
},
|
|
386
|
-
description: "Restoring the plugin configuration will cause it to be replaced with configuration saved inside 'plugins.js' file."
|
|
387
|
-
},
|
|
388
|
-
restart: {
|
|
389
|
-
label: "Restart Strapi",
|
|
390
|
-
alert: {
|
|
391
|
-
title: "Strapi requires restart",
|
|
392
|
-
description: "You've made a configuration changes which requires your Strapi application to be restarted to take an effect. Do it manually or by using below trigger.",
|
|
393
|
-
close: "Discard",
|
|
394
|
-
cancel: "Cancel",
|
|
395
|
-
reason: {
|
|
396
|
-
I18N: "Internationalization(i18n) changes will be applied.",
|
|
397
|
-
GRAPH_QL: "GraphQL changes will be applied.",
|
|
398
|
-
I18N_NAVIGATIONS_PRUNE: "Obsolete locale navigations will be removed."
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
disableI18n: {
|
|
403
|
-
confirmation: {
|
|
404
|
-
header: "Disabling Internationalization",
|
|
405
|
-
confirm: "I understand",
|
|
406
|
-
description: {
|
|
407
|
-
line1: "You are disabling Internationalization for Navigation. Navigations for locales different than default are not available for viewing and modifications via this plugin.",
|
|
408
|
-
line2: "You can choose to remove navigations for other locales.",
|
|
409
|
-
line3: "Remember! Removal is irreversible"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
prune: {
|
|
413
|
-
label: "Obsolete navigations",
|
|
414
|
-
on: "Remove",
|
|
415
|
-
off: "Keep"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
notification: {
|
|
420
|
-
fetch: {
|
|
421
|
-
error: "Failed to fetch configuration. Retrying..."
|
|
422
|
-
},
|
|
423
|
-
submit: {
|
|
424
|
-
success: "Config has been updated successfully",
|
|
425
|
-
error: "Config update has failed"
|
|
426
|
-
},
|
|
427
|
-
restore: {
|
|
428
|
-
success: "Config has been restored successfully",
|
|
429
|
-
error: "Config restore has failed"
|
|
430
|
-
},
|
|
431
|
-
restart: {
|
|
432
|
-
success: "Application has been restarted successfully",
|
|
433
|
-
error: "Failed to restart your application. Try to do it manually."
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
view: {
|
|
438
|
-
actions: {
|
|
439
|
-
i18nCopyItems: {
|
|
440
|
-
confirmation: {
|
|
441
|
-
header: "Confirmation",
|
|
442
|
-
confirm: "Copy",
|
|
443
|
-
content: "Do you want to copy navigations items?"
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
components: {
|
|
450
|
-
toggle: {
|
|
451
|
-
enabled: "Enabled",
|
|
452
|
-
disabled: "Disabled"
|
|
453
|
-
},
|
|
454
|
-
navigationItem: {
|
|
455
|
-
action: {
|
|
456
|
-
newItem: "Add nested item",
|
|
457
|
-
edit: "Edit",
|
|
458
|
-
view: "View",
|
|
459
|
-
restore: "Restore",
|
|
460
|
-
remove: "Remove"
|
|
461
|
-
},
|
|
462
|
-
badge: {
|
|
463
|
-
removed: "Removed",
|
|
464
|
-
draft: "Draft",
|
|
465
|
-
published: "Published"
|
|
466
|
-
},
|
|
467
|
-
related: {
|
|
468
|
-
localeMissing: "(Locale version missing)"
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
confirmation: {
|
|
472
|
-
dialog: {
|
|
473
|
-
button: {
|
|
474
|
-
cancel: "Cancel",
|
|
475
|
-
confirm: "Confirm"
|
|
476
|
-
},
|
|
477
|
-
description: "Do you want to continue?",
|
|
478
|
-
header: "Confirmation"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
notAccessPage: {
|
|
482
|
-
back: "Back to homepage"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
view: {
|
|
486
|
-
i18n: {
|
|
487
|
-
fill: {
|
|
488
|
-
option: "{locale} locale",
|
|
489
|
-
cta: {
|
|
490
|
-
header: "or bootstrap",
|
|
491
|
-
button: "copy"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
exports.default = en;
|