@indice/ng-components 0.2.153-beta.14 → 0.2.153-beta.17
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/bundles/indice-ng-components.umd.js +22 -13
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/controls/tabs/lib-tab-group.component.js +10 -5
- package/esm2015/lib/controls/tabs/lib-tab.component.js +7 -4
- package/esm2015/lib/ng-components.module.js +8 -9
- package/fesm2015/indice-ng-components.js +18 -12
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/lib/controls/tabs/lib-tab-group.component.d.ts +2 -1
- package/lib/ng-components.module.d.ts +42 -42
- package/package.json +1 -1
|
@@ -1985,7 +1985,8 @@
|
|
|
1985
1985
|
}] } });
|
|
1986
1986
|
|
|
1987
1987
|
var LibTabGroupComponent = /** @class */ (function () {
|
|
1988
|
-
function LibTabGroupComponent() {
|
|
1988
|
+
function LibTabGroupComponent(_tab) {
|
|
1989
|
+
this._tab = _tab;
|
|
1989
1990
|
/** The inner tabs of the group. */
|
|
1990
1991
|
this.tabs = undefined;
|
|
1991
1992
|
/** Emmited when a step change occurs. */
|
|
@@ -2034,7 +2035,7 @@
|
|
|
2034
2035
|
};
|
|
2035
2036
|
return LibTabGroupComponent;
|
|
2036
2037
|
}());
|
|
2037
|
-
LibTabGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabGroupComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2038
|
+
LibTabGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabGroupComponent, deps: [{ token: LibTabComponent }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2038
2039
|
LibTabGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LibTabGroupComponent, selector: "lib-tab-group", outputs: { tabChanged: "tabChanged" }, providers: [{ provide: LibTabComponent, useExisting: i0.forwardRef(function () { return LibTabGroupComponent; }) }], queries: [{ propertyName: "tabs", predicate: LibTabComponent, descendants: true }], ngImport: i0__namespace, template: "<div class=\"sm:hidden\">\r\n <label for=\"tabs\" class=\"sr-only\">Select a tab</label>\r\n <select id=\"tabs\" name=\"tabs\" (change)=\"onTabSelectChanged(+tabsSelect.value)\" class=\"tab-group-select\" #tabsSelect>\r\n <option [value]=\"i\" *ngFor=\"let tab of tabs; let i = index\">{{ tab.label }}</option>\r\n </select>\r\n</div>\r\n<div class=\"hidden sm:block\">\r\n <div class=\"tab-group-container\">\r\n <nav class=\"-mb-px flex space-x-8\" aria-label=\"Tabs\">\r\n <a *ngFor=\"let tab of tabs\" href=\"javascript:void(0)\" [class.tab]=\"!tab.isActive\" [class.tab-active]=\"tab.isActive\" (click)=\"onTabChanged(tab)\">\r\n {{ tab.label }}\r\n </a>\r\n </nav>\r\n </div>\r\n</div>\r\n<div *ngIf=\"currentTab?.content\">\r\n <ng-container [ngTemplateOutlet]=\"currentTab!.content\"></ng-container>\r\n</div>", directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2039
2040
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabGroupComponent, decorators: [{
|
|
2040
2041
|
type: i0.Component,
|
|
@@ -2043,7 +2044,12 @@
|
|
|
2043
2044
|
providers: [{ provide: LibTabComponent, useExisting: i0.forwardRef(function () { return LibTabGroupComponent; }) }],
|
|
2044
2045
|
templateUrl: './lib-tab-group.component.html'
|
|
2045
2046
|
}]
|
|
2046
|
-
}], ctorParameters: function () {
|
|
2047
|
+
}], ctorParameters: function () {
|
|
2048
|
+
return [{ type: LibTabComponent, decorators: [{
|
|
2049
|
+
type: i0.Inject,
|
|
2050
|
+
args: [LibTabComponent]
|
|
2051
|
+
}] }];
|
|
2052
|
+
}, propDecorators: { tabs: [{
|
|
2047
2053
|
type: i0.ContentChildren,
|
|
2048
2054
|
args: [LibTabComponent, { descendants: true }]
|
|
2049
2055
|
}], tabChanged: [{
|
|
@@ -2092,7 +2098,12 @@
|
|
|
2092
2098
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2093
2099
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2094
2100
|
}]
|
|
2095
|
-
}], ctorParameters: function () {
|
|
2101
|
+
}], ctorParameters: function () {
|
|
2102
|
+
return [{ type: LibTabGroupComponent, decorators: [{
|
|
2103
|
+
type: i0.Inject,
|
|
2104
|
+
args: [LibTabGroupComponent]
|
|
2105
|
+
}] }];
|
|
2106
|
+
}, propDecorators: { content: [{
|
|
2096
2107
|
type: i0.ViewChild,
|
|
2097
2108
|
args: [i0.TemplateRef, { static: true }]
|
|
2098
2109
|
}], label: [{
|
|
@@ -4021,7 +4032,7 @@
|
|
|
4021
4032
|
return IndiceComponentsModule;
|
|
4022
4033
|
}());
|
|
4023
4034
|
IndiceComponentsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IndiceComponentsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4024
|
-
IndiceComponentsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IndiceComponentsModule, declarations: [
|
|
4035
|
+
IndiceComponentsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IndiceComponentsModule, declarations: [LibTabComponent,
|
|
4025
4036
|
// Directives
|
|
4026
4037
|
ClickOutsideDirective,
|
|
4027
4038
|
DynamicComponentHostDirective,
|
|
@@ -4069,11 +4080,10 @@
|
|
|
4069
4080
|
UserProfileMenuComponent,
|
|
4070
4081
|
ShellSidebarComponent,
|
|
4071
4082
|
// Tab Group Component
|
|
4072
|
-
LibTabGroupComponent,
|
|
4073
|
-
LibTabComponent
|
|
4074
|
-
], imports: [i1.CommonModule,
|
|
4083
|
+
LibTabGroupComponent], imports: [i1.CommonModule,
|
|
4075
4084
|
i1$1.RouterModule,
|
|
4076
|
-
i2.IndiceAuthModule], exports: [
|
|
4085
|
+
i2.IndiceAuthModule], exports: [LibTabComponent,
|
|
4086
|
+
AddressPipe,
|
|
4077
4087
|
AuthCallbackComponent,
|
|
4078
4088
|
AuthRenewComponent,
|
|
4079
4089
|
AvatarInitialsComponent,
|
|
@@ -4087,7 +4097,6 @@
|
|
|
4087
4097
|
FormLayoutComponent,
|
|
4088
4098
|
KpiTileComponent,
|
|
4089
4099
|
LibTabGroupComponent,
|
|
4090
|
-
LibTabComponent,
|
|
4091
4100
|
ListColumnComponent,
|
|
4092
4101
|
ListDetailsSectionComponent,
|
|
4093
4102
|
ListTileComponent,
|
|
@@ -4117,6 +4126,7 @@
|
|
|
4117
4126
|
type: i0.NgModule,
|
|
4118
4127
|
args: [{
|
|
4119
4128
|
declarations: [
|
|
4129
|
+
LibTabComponent,
|
|
4120
4130
|
// Directives
|
|
4121
4131
|
ClickOutsideDirective,
|
|
4122
4132
|
DynamicComponentHostDirective,
|
|
@@ -4164,8 +4174,7 @@
|
|
|
4164
4174
|
UserProfileMenuComponent,
|
|
4165
4175
|
ShellSidebarComponent,
|
|
4166
4176
|
// Tab Group Component
|
|
4167
|
-
LibTabGroupComponent
|
|
4168
|
-
LibTabComponent
|
|
4177
|
+
LibTabGroupComponent
|
|
4169
4178
|
],
|
|
4170
4179
|
imports: [
|
|
4171
4180
|
i1.CommonModule,
|
|
@@ -4173,6 +4182,7 @@
|
|
|
4173
4182
|
i2.IndiceAuthModule
|
|
4174
4183
|
],
|
|
4175
4184
|
exports: [
|
|
4185
|
+
LibTabComponent,
|
|
4176
4186
|
AddressPipe,
|
|
4177
4187
|
AuthCallbackComponent,
|
|
4178
4188
|
AuthRenewComponent,
|
|
@@ -4187,7 +4197,6 @@
|
|
|
4187
4197
|
FormLayoutComponent,
|
|
4188
4198
|
KpiTileComponent,
|
|
4189
4199
|
LibTabGroupComponent,
|
|
4190
|
-
LibTabComponent,
|
|
4191
4200
|
ListColumnComponent,
|
|
4192
4201
|
ListDetailsSectionComponent,
|
|
4193
4202
|
ListTileComponent,
|