@sumaris-net/ngx-components 1.22.1 → 1.22.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.
@@ -21866,10 +21866,10 @@
21866
21866
  };
21867
21867
  return MenuItems;
21868
21868
  }());
21869
- var MenuConfig = /** @class */ (function () {
21870
- function MenuConfig() {
21869
+ var MenuOptions = /** @class */ (function () {
21870
+ function MenuOptions() {
21871
21871
  }
21872
- return MenuConfig;
21872
+ return MenuOptions;
21873
21873
  }());
21874
21874
 
21875
21875
  function getRandomImage(files) {
@@ -24447,9 +24447,9 @@
24447
24447
  };
24448
24448
 
24449
24449
  var APP_MENU_ITEMS = new i0.InjectionToken('menuItems');
24450
- var APP_MENU_CONFIG = new i0.InjectionToken('menuConfig');
24450
+ var APP_MENU_OPTIONS = new i0.InjectionToken('menuOptions');
24451
24451
  var MenuComponent = /** @class */ (function () {
24452
- function MenuComponent(platformService, accountService, router, menu, modalCtrl, alertController, translate, configService, cd, menuService, environment, config, items) {
24452
+ function MenuComponent(platformService, accountService, router, menu, modalCtrl, alertController, translate, configService, cd, menuService, environment, options, items) {
24453
24453
  this.platformService = platformService;
24454
24454
  this.accountService = accountService;
24455
24455
  this.router = router;
@@ -24471,7 +24471,7 @@
24471
24471
  this.side = 'left';
24472
24472
  this.contentId = 'menu-content';
24473
24473
  this.appVersion = this.environment.version;
24474
- this.showNotification = (config === null || config === void 0 ? void 0 : config.showNotification) || false;
24474
+ this.showNotification = (options === null || options === void 0 ? void 0 : options.showNotification) || false;
24475
24475
  this._debug = !environment.production;
24476
24476
  }
24477
24477
  MenuComponent.prototype.ngOnInit = function () {
@@ -24847,7 +24847,7 @@
24847
24847
  { type: i0.ChangeDetectorRef },
24848
24848
  { type: MenuService },
24849
24849
  { type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] },
24850
- { type: MenuConfig, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_MENU_CONFIG,] }] },
24850
+ { type: MenuOptions, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_MENU_OPTIONS,] }] },
24851
24851
  { type: Array, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_MENU_ITEMS,] }] }
24852
24852
  ]; };
24853
24853
  MenuComponent.propDecorators = {
@@ -34302,8 +34302,8 @@
34302
34302
  exports.APP_LOCAL_SETTINGS = APP_LOCAL_SETTINGS;
34303
34303
  exports.APP_LOCAL_SETTINGS_OPTIONS = APP_LOCAL_SETTINGS_OPTIONS;
34304
34304
  exports.APP_LOCAL_STORAGE_TYPE_POLICIES = APP_LOCAL_STORAGE_TYPE_POLICIES;
34305
- exports.APP_MENU_CONFIG = APP_MENU_CONFIG;
34306
34305
  exports.APP_MENU_ITEMS = APP_MENU_ITEMS;
34306
+ exports.APP_MENU_OPTIONS = APP_MENU_OPTIONS;
34307
34307
  exports.APP_TESTING_PAGES = APP_TESTING_PAGES;
34308
34308
  exports.AboutModal = AboutModal;
34309
34309
  exports.AbstractUserEventService = AbstractUserEventService;
@@ -34471,8 +34471,8 @@
34471
34471
  exports.MaterialTestingModule = MaterialTestingModule;
34472
34472
  exports.MathAbsPipe = MathAbsPipe;
34473
34473
  exports.MenuComponent = MenuComponent;
34474
- exports.MenuConfig = MenuConfig;
34475
34474
  exports.MenuItems = MenuItems;
34475
+ exports.MenuOptions = MenuOptions;
34476
34476
  exports.MenuService = MenuService;
34477
34477
  exports.MessageForm = MessageForm;
34478
34478
  exports.MessageModal = MessageModal;