ng-inail-common 2.0.30-beta.2 → 2.0.30-beta.3

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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs/internal-compatibility'), require('@angular/forms'), require('@angular/common'), require('@angular/common/http'), require('@angular/platform-browser'), require('rxjs/operators'), require('@angular/router'), require('rxjs'), require('@lib-ng-inail-common-components/core/base.component')) :
3
- typeof define === 'function' && define.amd ? define('ng-inail-common', ['exports', '@angular/core', 'rxjs/internal-compatibility', '@angular/forms', '@angular/common', '@angular/common/http', '@angular/platform-browser', 'rxjs/operators', '@angular/router', 'rxjs', '@lib-ng-inail-common-components/core/base.component'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ng-inail-common'] = {}, global.ng.core, global.rxjs['internal-compatibility'], global.ng.forms, global.ng.common, global.ng.common.http, global.ng.platformBrowser, global.rxjs.operators, global.ng.router, global.rxjs, global.base_component));
5
- }(this, (function (exports, core, internalCompatibility, forms, common, http, platformBrowser, operators, router, rxjs, base_component) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs/internal-compatibility'), require('@angular/forms'), require('@angular/common'), require('@angular/common/http'), require('@angular/platform-browser'), require('rxjs/operators'), require('@angular/router'), require('rxjs')) :
3
+ typeof define === 'function' && define.amd ? define('ng-inail-common', ['exports', '@angular/core', 'rxjs/internal-compatibility', '@angular/forms', '@angular/common', '@angular/common/http', '@angular/platform-browser', 'rxjs/operators', '@angular/router', 'rxjs'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ng-inail-common'] = {}, global.ng.core, global.rxjs['internal-compatibility'], global.ng.forms, global.ng.common, global.ng.common.http, global.ng.platformBrowser, global.rxjs.operators, global.ng.router, global.rxjs));
5
+ }(this, (function (exports, core, internalCompatibility, forms, common, http, platformBrowser, operators, router, rxjs) { 'use strict';
6
6
 
7
7
  var isBlankOrNull = function (s) { return s == undefined || String(s).trim().length == 0; };
8
8
  var isNotBlankOrNull = function (s) { return !isBlankOrNull(s); };
@@ -1642,30 +1642,30 @@
1642
1642
  * quando la proprieta linkRegex matcha
1643
1643
  * con l'url corrente
1644
1644
  */
1645
- _this.disableLinkOverwriting = base_component.getConfigValue((_b = (_a = _this.libConfig) === null || _a === void 0 ? void 0 : _a.menuComponent) === null || _b === void 0 ? void 0 : _b.disableLinkOverwriting, false);
1645
+ _this.disableLinkOverwriting = getConfigValue((_b = (_a = _this.libConfig) === null || _a === void 0 ? void 0 : _a.menuComponent) === null || _b === void 0 ? void 0 : _b.disableLinkOverwriting, false);
1646
1646
  /**
1647
1647
  * Se true indica che le voci del menu sono collassabili.
1648
1648
  * Questa impostazione viene sovrascritta se specificato diversamente
1649
1649
  * negli elementi del menu
1650
1650
  */
1651
- _this.collapsible = base_component.getConfigValue((_d = (_c = _this.libConfig) === null || _c === void 0 ? void 0 : _c.menuComponent) === null || _d === void 0 ? void 0 : _d.collapsible, false);
1651
+ _this.collapsible = getConfigValue((_d = (_c = _this.libConfig) === null || _c === void 0 ? void 0 : _c.menuComponent) === null || _d === void 0 ? void 0 : _d.collapsible, false);
1652
1652
  /**
1653
1653
  * Indica lo stato iniziale del menu, se colassato o espanso.
1654
1654
  * Questa impostazione viene sovrascritta se specificato diversamente
1655
1655
  * negli elementi del menu
1656
1656
  */
1657
- _this.collapsed = base_component.getConfigValue((_f = (_e = _this.libConfig) === null || _e === void 0 ? void 0 : _e.menuComponent) === null || _f === void 0 ? void 0 : _f.collapsed, undefined);
1657
+ _this.collapsed = getConfigValue((_f = (_e = _this.libConfig) === null || _e === void 0 ? void 0 : _e.menuComponent) === null || _f === void 0 ? void 0 : _f.collapsed, undefined);
1658
1658
  /**
1659
1659
  * Se true abilita l'effetto fisarmonica
1660
1660
  * sulle voci di menu espandibili.
1661
1661
  */
1662
- _this.collapseOther = base_component.getConfigValue((_h = (_g = _this.libConfig) === null || _g === void 0 ? void 0 : _g.menuComponent) === null || _h === void 0 ? void 0 : _h.collapseOther, false);
1662
+ _this.collapseOther = getConfigValue((_h = (_g = _this.libConfig) === null || _g === void 0 ? void 0 : _g.menuComponent) === null || _h === void 0 ? void 0 : _h.collapseOther, false);
1663
1663
  /**
1664
1664
  * Se true espande automaticamente il percorso
1665
1665
  * verso un elemento
1666
1666
  * quando questo si riferisce all'url corrente
1667
1667
  */
1668
- _this.expandAutomatically = base_component.getConfigValue((_k = (_j = _this.libConfig) === null || _j === void 0 ? void 0 : _j.menuComponent) === null || _k === void 0 ? void 0 : _k.expandAutomatically, true);
1668
+ _this.expandAutomatically = getConfigValue((_k = (_j = _this.libConfig) === null || _j === void 0 ? void 0 : _j.menuComponent) === null || _k === void 0 ? void 0 : _k.expandAutomatically, true);
1669
1669
  /**
1670
1670
  * Emette la voce di menu selezionata.
1671
1671
  */
@@ -5997,13 +5997,13 @@
5997
5997
  _this = _super.call(this, cdr, libConfig) || this;
5998
5998
  _this.cdr = cdr;
5999
5999
  _this.libConfig = libConfig;
6000
- _this.placeholder = base_component.getConfigValue((_b = (_a = _this.libConfig) === null || _a === void 0 ? void 0 : _a.inputFileComponent) === null || _b === void 0 ? void 0 : _b.placeholder, undefined);
6001
- _this.chooseButtonText = base_component.getConfigValue((_d = (_c = _this.libConfig) === null || _c === void 0 ? void 0 : _c.inputFileComponent) === null || _d === void 0 ? void 0 : _d.chooseButtonText, 'Scegli il file');
6002
- _this.addButtonText = base_component.getConfigValue((_f = (_e = _this.libConfig) === null || _e === void 0 ? void 0 : _e.inputFileComponent) === null || _f === void 0 ? void 0 : _f.addButtonText, 'Aggiungi');
6003
- _this.chooseButton = base_component.getConfigValue((_h = (_g = _this.libConfig) === null || _g === void 0 ? void 0 : _g.inputFileComponent) === null || _h === void 0 ? void 0 : _h.chooseButton, true);
6004
- _this.addButton = base_component.getConfigValue((_k = (_j = _this.libConfig) === null || _j === void 0 ? void 0 : _j.inputFileComponent) === null || _k === void 0 ? void 0 : _k.addButton, true);
6000
+ _this.placeholder = getConfigValue((_b = (_a = _this.libConfig) === null || _a === void 0 ? void 0 : _a.inputFileComponent) === null || _b === void 0 ? void 0 : _b.placeholder, undefined);
6001
+ _this.chooseButtonText = getConfigValue((_d = (_c = _this.libConfig) === null || _c === void 0 ? void 0 : _c.inputFileComponent) === null || _d === void 0 ? void 0 : _d.chooseButtonText, 'Scegli il file');
6002
+ _this.addButtonText = getConfigValue((_f = (_e = _this.libConfig) === null || _e === void 0 ? void 0 : _e.inputFileComponent) === null || _f === void 0 ? void 0 : _f.addButtonText, 'Aggiungi');
6003
+ _this.chooseButton = getConfigValue((_h = (_g = _this.libConfig) === null || _g === void 0 ? void 0 : _g.inputFileComponent) === null || _h === void 0 ? void 0 : _h.chooseButton, true);
6004
+ _this.addButton = getConfigValue((_k = (_j = _this.libConfig) === null || _j === void 0 ? void 0 : _j.inputFileComponent) === null || _k === void 0 ? void 0 : _k.addButton, true);
6005
6005
  /** Estensioni accettate separate da virgola (esempio: ".pdf, .txt, .doc") */
6006
- _this.accept = base_component.getConfigValue((_m = (_l = _this.libConfig) === null || _l === void 0 ? void 0 : _l.inputFileComponent) === null || _m === void 0 ? void 0 : _m.accept, undefined);
6006
+ _this.accept = getConfigValue((_m = (_l = _this.libConfig) === null || _l === void 0 ? void 0 : _l.inputFileComponent) === null || _m === void 0 ? void 0 : _m.accept, undefined);
6007
6007
  _this.fileChange = new core.EventEmitter();
6008
6008
  _this.logPrefix = "[inail-input-file]";
6009
6009
  _super.prototype.overrideConfig.call(_this, libConfig === null || libConfig === void 0 ? void 0 : libConfig.inputFileComponent);