@indice/ng-components 0.2.153-beta.11 → 0.2.153-beta.12
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 +3 -4
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/controls/tabs/lib-tab-group.component.js +3 -3
- package/esm2015/lib/controls/tabs/lib-tab.component.js +3 -5
- package/fesm2015/indice-ng-components.js +3 -4
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2035,12 +2035,12 @@
|
|
|
2035
2035
|
return LibTabGroupComponent;
|
|
2036
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.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LibTabGroupComponent, selector: "lib-tab-group", outputs: { tabChanged: "tabChanged" }, providers: [{ provide:
|
|
2038
|
+
LibTabGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LibTabGroupComponent, selector: "lib-tab-group", outputs: { tabChanged: "tabChanged" }, providers: [{ provide: i0.forwardRef(function () { return LibTabComponent; }), useClass: LibTabComponent }], 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
2039
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabGroupComponent, decorators: [{
|
|
2040
2040
|
type: i0.Component,
|
|
2041
2041
|
args: [{
|
|
2042
2042
|
selector: 'lib-tab-group',
|
|
2043
|
-
providers: [{ provide:
|
|
2043
|
+
providers: [{ provide: i0.forwardRef(function () { return LibTabComponent; }), useClass: LibTabComponent }],
|
|
2044
2044
|
templateUrl: './lib-tab-group.component.html'
|
|
2045
2045
|
}]
|
|
2046
2046
|
}], ctorParameters: function () { return []; }, propDecorators: { tabs: [{
|
|
@@ -2082,12 +2082,11 @@
|
|
|
2082
2082
|
return LibTabComponent;
|
|
2083
2083
|
}());
|
|
2084
2084
|
LibTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabComponent, deps: [{ token: LibTabGroupComponent }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2085
|
-
LibTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LibTabComponent, selector: "lib-tab", inputs: { label: "label", id: "id" },
|
|
2085
|
+
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 });
|
|
2086
2086
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LibTabComponent, decorators: [{
|
|
2087
2087
|
type: i0.Component,
|
|
2088
2088
|
args: [{
|
|
2089
2089
|
selector: 'lib-tab',
|
|
2090
|
-
providers: [{ provide: LibTabGroupComponent, useExisting: i0.forwardRef(function () { return LibTabGroupComponent; }) }],
|
|
2091
2090
|
template: "\n <ng-template>\n <ng-content></ng-content>\n </ng-template>\n ",
|
|
2092
2091
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2093
2092
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|