@indice/ng-components 0.2.153-beta.18 → 0.2.153-beta.20

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.
@@ -1984,7 +1984,69 @@
1984
1984
  type: i0.Output
1985
1985
  }] } });
1986
1986
 
1987
- var LIBTABGROUP_ACCESSOR = new i0.InjectionToken('LibTabGroupAccessor');
1987
+ var APP_LINKS = new i0.InjectionToken('APP_LINKS');
1988
+ var APP_NOTIFICATIONS = new i0.InjectionToken('APP_NOTIFICATIONS');
1989
+ var SHELL_CONFIG = new i0.InjectionToken('SHELL_CONFIG');
1990
+ var APP_LANGUAGES = new i0.InjectionToken('APP_LANGUAGES');
1991
+ var LIBTABGROUP_ACCESSOR = new i0.InjectionToken('LibTabGroupAccessor');
1992
+
1993
+ var LibTabComponent = /** @class */ (function () {
1994
+ function LibTabComponent(_tabGroup) {
1995
+ this._tabGroup = _tabGroup;
1996
+ this._isActive = false;
1997
+ }
1998
+ Object.defineProperty(LibTabComponent.prototype, "index", {
1999
+ /** Indicates the index of the tab. */
2000
+ get: function () {
2001
+ var _a, _b;
2002
+ return ((_b = (_a = this._tabGroup) === null || _a === void 0 ? void 0 : _a.tabs) === null || _b === void 0 ? void 0 : _b.toArray().indexOf(this)) || undefined;
2003
+ },
2004
+ enumerable: false,
2005
+ configurable: true
2006
+ });
2007
+ Object.defineProperty(LibTabComponent.prototype, "isActive", {
2008
+ /** Indicates whether the tab is active. */
2009
+ get: function () {
2010
+ return this._isActive;
2011
+ },
2012
+ /** Setter for LibTabComponent isActive property. */
2013
+ set: function (isActive) {
2014
+ this._isActive = isActive;
2015
+ },
2016
+ enumerable: false,
2017
+ configurable: true
2018
+ });
2019
+ LibTabComponent.prototype.ngOnInit = function () {
2020
+ this.id = this.id || uuid__namespace.v4();
2021
+ };
2022
+ return LibTabComponent;
2023
+ }());
2024
+ LibTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabComponent, deps: [{ token: LIBTABGROUP_ACCESSOR, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
2025
+ LibTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LibTabComponent, selector: "lib-tab", inputs: { label: "label", id: "id" }, viewQueries: [{ propertyName: "content", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], ngImport: i0__namespace, template: "\n <ng-template>\n <ng-content></ng-content>\n </ng-template>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2026
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabComponent, decorators: [{
2027
+ type: i0.Component,
2028
+ args: [{
2029
+ selector: 'lib-tab',
2030
+ template: "\n <ng-template>\n <ng-content></ng-content>\n </ng-template>\n ",
2031
+ encapsulation: i0.ViewEncapsulation.None,
2032
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
2033
+ }]
2034
+ }], ctorParameters: function () {
2035
+ return [{ type: undefined, decorators: [{
2036
+ type: i0.Optional
2037
+ }, {
2038
+ type: i0.Inject,
2039
+ args: [LIBTABGROUP_ACCESSOR]
2040
+ }] }];
2041
+ }, propDecorators: { content: [{
2042
+ type: i0.ViewChild,
2043
+ args: [i0.TemplateRef, { static: true }]
2044
+ }], label: [{
2045
+ type: i0.Input
2046
+ }], id: [{
2047
+ type: i0.Input
2048
+ }] } });
2049
+
1988
2050
  var LibTabGroupComponent = /** @class */ (function () {
1989
2051
  function LibTabGroupComponent() {
1990
2052
  /** The inner tabs of the group. */
@@ -2055,68 +2117,6 @@
2055
2117
  type: i0.Output
2056
2118
  }] } });
2057
2119
 
2058
- var LibTabComponent = /** @class */ (function () {
2059
- function LibTabComponent(_tabGroup) {
2060
- this._tabGroup = _tabGroup;
2061
- this._isActive = false;
2062
- }
2063
- Object.defineProperty(LibTabComponent.prototype, "index", {
2064
- /** Indicates the index of the tab. */
2065
- get: function () {
2066
- var _a, _b;
2067
- return ((_b = (_a = this._tabGroup) === null || _a === void 0 ? void 0 : _a.tabs) === null || _b === void 0 ? void 0 : _b.toArray().indexOf(this)) || undefined;
2068
- },
2069
- enumerable: false,
2070
- configurable: true
2071
- });
2072
- Object.defineProperty(LibTabComponent.prototype, "isActive", {
2073
- /** Indicates whether the tab is active. */
2074
- get: function () {
2075
- return this._isActive;
2076
- },
2077
- /** Setter for LibTabComponent isActive property. */
2078
- set: function (isActive) {
2079
- this._isActive = isActive;
2080
- },
2081
- enumerable: false,
2082
- configurable: true
2083
- });
2084
- LibTabComponent.prototype.ngOnInit = function () {
2085
- this.id = this.id || uuid__namespace.v4();
2086
- };
2087
- return LibTabComponent;
2088
- }());
2089
- LibTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabComponent, deps: [{ token: LIBTABGROUP_ACCESSOR, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
2090
- LibTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LibTabComponent, selector: "lib-tab", inputs: { label: "label", id: "id" }, viewQueries: [{ propertyName: "content", first: true, predicate: i0.TemplateRef, descendants: true, static: true }], ngImport: i0__namespace, template: "\n <ng-template>\n <ng-content></ng-content>\n </ng-template>\n ", isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2091
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabComponent, decorators: [{
2092
- type: i0.Component,
2093
- args: [{
2094
- selector: 'lib-tab',
2095
- template: "\n <ng-template>\n <ng-content></ng-content>\n </ng-template>\n ",
2096
- encapsulation: i0.ViewEncapsulation.None,
2097
- changeDetection: i0.ChangeDetectionStrategy.OnPush
2098
- }]
2099
- }], ctorParameters: function () {
2100
- return [{ type: LibTabGroupComponent, decorators: [{
2101
- type: i0.Optional
2102
- }, {
2103
- type: i0.Inject,
2104
- args: [LIBTABGROUP_ACCESSOR]
2105
- }] }];
2106
- }, propDecorators: { content: [{
2107
- type: i0.ViewChild,
2108
- args: [i0.TemplateRef, { static: true }]
2109
- }], label: [{
2110
- type: i0.Input
2111
- }], id: [{
2112
- type: i0.Input
2113
- }] } });
2114
-
2115
- var APP_LINKS = new i0.InjectionToken('APP_LINKS');
2116
- var APP_NOTIFICATIONS = new i0.InjectionToken('APP_NOTIFICATIONS');
2117
- var SHELL_CONFIG = new i0.InjectionToken('SHELL_CONFIG');
2118
- var APP_LANGUAGES = new i0.InjectionToken('APP_LANGUAGES');
2119
-
2120
2120
  var DynamicComponentHostDirective = /** @class */ (function () {
2121
2121
  function DynamicComponentHostDirective(viewContainerRef) {
2122
2122
  this.viewContainerRef = viewContainerRef;