adminizer 4.3.0-build.111 → 4.3.0-build.112
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/assets/manifest.json
CHANGED
|
@@ -312,6 +312,7 @@ class NavigationGroup extends AbstractGroup {
|
|
|
312
312
|
async create(data, catalogId) {
|
|
313
313
|
let storage = StorageServices.get(catalogId);
|
|
314
314
|
let storageData = await this.dataPreparation(data, catalogId);
|
|
315
|
+
console.log(storageData);
|
|
315
316
|
delete data.name;
|
|
316
317
|
delete data.parentId;
|
|
317
318
|
storageData = { ...storageData, ...data };
|
|
@@ -324,6 +325,7 @@ class NavigationGroup extends AbstractGroup {
|
|
|
324
325
|
id: uuid(),
|
|
325
326
|
name: data.name,
|
|
326
327
|
targetBlank: data.targetBlank,
|
|
328
|
+
visible: data.visible,
|
|
327
329
|
parentId: parentId,
|
|
328
330
|
sortOrder: sortOrder ?? (await storage.findElementsByParentId(parentId, null)).length,
|
|
329
331
|
icon: this.icon,
|
|
@@ -363,6 +365,7 @@ class NavigationGroup extends AbstractGroup {
|
|
|
363
365
|
items: resItems,
|
|
364
366
|
labels: {
|
|
365
367
|
openInNewWindow: req.i18n.__('Open in a new window'),
|
|
368
|
+
visible: req.i18n.__('Visible'),
|
|
366
369
|
title: req.i18n.__('Title'),
|
|
367
370
|
save: req.i18n.__('Save')
|
|
368
371
|
}
|
|
@@ -388,6 +391,7 @@ class NavigationGroup extends AbstractGroup {
|
|
|
388
391
|
item: item,
|
|
389
392
|
labels: {
|
|
390
393
|
openInNewWindow: req.i18n.__('Open in a new window'),
|
|
394
|
+
visible: req.i18n.__('Visible'),
|
|
391
395
|
title: req.i18n.__('Title'),
|
|
392
396
|
save: req.i18n.__('Save')
|
|
393
397
|
}
|
|
@@ -427,6 +431,7 @@ class LinkItem extends NavigationGroup {
|
|
|
427
431
|
labels: {
|
|
428
432
|
title: req.i18n.__('Title'),
|
|
429
433
|
openInNewWindow: req.i18n.__('Open in a new window'),
|
|
434
|
+
visible: req.i18n.__('Visible'),
|
|
430
435
|
save: req.i18n.__('Save')
|
|
431
436
|
}
|
|
432
437
|
}
|
|
@@ -448,6 +453,7 @@ class LinkItem extends NavigationGroup {
|
|
|
448
453
|
item: item,
|
|
449
454
|
labels: {
|
|
450
455
|
openInNewWindow: req.i18n.__('Open in a new window'),
|
|
456
|
+
visible: req.i18n.__('Visible'),
|
|
451
457
|
title: req.i18n.__('Title'),
|
|
452
458
|
save: req.i18n.__('Save')
|
|
453
459
|
}
|