@skyux/tabs 4.6.9 → 5.0.0-beta.4
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/LICENSE +21 -0
- package/bundles/skyux-tabs-testing.umd.js +324 -221
- package/bundles/skyux-tabs-testing.umd.js.map +1 -1
- package/bundles/skyux-tabs.umd.js +657 -782
- package/bundles/skyux-tabs.umd.js.map +1 -1
- package/documentation.json +5509 -0
- package/esm2015/modules/sectioned-form/sectioned-form-section.component.js +29 -32
- package/esm2015/modules/sectioned-form/sectioned-form.component.js +52 -41
- package/esm2015/modules/sectioned-form/sectioned-form.module.js +30 -19
- package/esm2015/modules/sectioned-form/sectioned-form.service.js +9 -8
- package/esm2015/modules/shared/sky-tabs-resources.module.js +41 -0
- package/esm2015/modules/tabs/tab-button.component.js +41 -47
- package/esm2015/modules/tabs/tab-index.js +2 -1
- package/esm2015/modules/tabs/tab.component.js +31 -41
- package/esm2015/modules/tabs/tabs.module.js +45 -23
- package/esm2015/modules/tabs/tabset-active-tab-unregistered-args.js +2 -1
- package/esm2015/modules/tabs/tabset-adapter.service.js +9 -8
- package/esm2015/modules/tabs/tabset-buttons-display-mode.js +2 -1
- package/esm2015/modules/tabs/tabset-nav-button.component.js +21 -26
- package/esm2015/modules/tabs/tabset-permalink.service.js +11 -15
- package/esm2015/modules/tabs/tabset-style.js +2 -1
- package/esm2015/modules/tabs/tabset-tab-indexes-change.js +2 -1
- package/esm2015/modules/tabs/tabset.component.js +56 -57
- package/esm2015/modules/tabs/tabset.service.js +10 -8
- package/esm2015/modules/vertical-tabset/vertical-tab-media-query.service.js +9 -8
- package/esm2015/modules/vertical-tabset/vertical-tab.component.js +57 -65
- package/esm2015/modules/vertical-tabset/vertical-tabset-adapter.service.js +10 -12
- package/esm2015/modules/vertical-tabset/vertical-tabset-group.component.js +75 -54
- package/esm2015/modules/vertical-tabset/vertical-tabset.component.js +70 -57
- package/esm2015/modules/vertical-tabset/vertical-tabset.module.js +47 -30
- package/esm2015/modules/vertical-tabset/vertical-tabset.service.js +19 -16
- package/esm2015/public-api.js +23 -0
- package/esm2015/skyux-tabs.js +2 -18
- package/esm2015/testing/public-api.js +3 -0
- package/esm2015/testing/skyux-tabs-testing.js +2 -2
- package/esm2015/testing/tabs/tab-fixture-tab.js +2 -1
- package/esm2015/testing/tabs/tabset-fixture.js +1 -1
- package/fesm2015/skyux-tabs-testing.js.map +1 -1
- package/fesm2015/skyux-tabs.js +596 -518
- package/fesm2015/skyux-tabs.js.map +1 -1
- package/modules/sectioned-form/sectioned-form-section.component.d.ts +3 -0
- package/modules/sectioned-form/sectioned-form.component.d.ts +3 -0
- package/modules/sectioned-form/sectioned-form.module.d.ts +9 -0
- package/modules/sectioned-form/sectioned-form.service.d.ts +3 -0
- package/modules/shared/sky-tabs-resources.module.d.ts +14 -0
- package/modules/tabs/tab-button.component.d.ts +4 -1
- package/modules/tabs/tab.component.d.ts +4 -1
- package/modules/tabs/tabs.module.d.ts +15 -0
- package/modules/tabs/tabset-adapter.service.d.ts +3 -0
- package/modules/tabs/tabset-nav-button.component.d.ts +3 -0
- package/modules/tabs/tabset-permalink.service.d.ts +3 -0
- package/modules/tabs/tabset.component.d.ts +4 -1
- package/modules/tabs/tabset.service.d.ts +3 -0
- package/modules/vertical-tabset/vertical-tab-media-query.service.d.ts +3 -0
- package/modules/vertical-tabset/vertical-tab.component.d.ts +3 -0
- package/modules/vertical-tabset/vertical-tabset-adapter.service.d.ts +3 -0
- package/modules/vertical-tabset/vertical-tabset-group.component.d.ts +3 -0
- package/modules/vertical-tabset/vertical-tabset.component.d.ts +3 -0
- package/modules/vertical-tabset/vertical-tabset.module.d.ts +11 -0
- package/modules/vertical-tabset/vertical-tabset.service.d.ts +3 -0
- package/package.json +14 -29
- package/public-api.d.ts +16 -0
- package/skyux-tabs.d.ts +2 -17
- package/testing/package.json +2 -5
- package/testing/{public_api.d.ts → public-api.d.ts} +0 -0
- package/testing/skyux-tabs-testing.d.ts +2 -1
- package/CHANGELOG.md +0 -218
- package/bundles/skyux-tabs-testing.umd.min.js +0 -16
- package/bundles/skyux-tabs-testing.umd.min.js.map +0 -1
- package/bundles/skyux-tabs.umd.min.js +0 -16
- package/bundles/skyux-tabs.umd.min.js.map +0 -1
- package/esm2015/modules/shared/tabs-resources.module.js +0 -17
- package/esm2015/plugin-resources/tabs-resources-provider.js +0 -16
- package/esm2015/public_api.js +0 -10
- package/esm2015/testing/public_api.js +0 -2
- package/esm5/modules/sectioned-form/sectioned-form-section.component.js +0 -84
- package/esm5/modules/sectioned-form/sectioned-form.component.js +0 -111
- package/esm5/modules/sectioned-form/sectioned-form.module.js +0 -31
- package/esm5/modules/sectioned-form/sectioned-form.service.js +0 -35
- package/esm5/modules/shared/tabs-resources.module.js +0 -20
- package/esm5/modules/tabs/tab-button.component.js +0 -72
- package/esm5/modules/tabs/tab-index.js +0 -1
- package/esm5/modules/tabs/tab.component.js +0 -173
- package/esm5/modules/tabs/tabs.module.js +0 -44
- package/esm5/modules/tabs/tabset-active-tab-unregistered-args.js +0 -1
- package/esm5/modules/tabs/tabset-adapter.service.js +0 -58
- package/esm5/modules/tabs/tabset-buttons-display-mode.js +0 -1
- package/esm5/modules/tabs/tabset-nav-button.component.js +0 -145
- package/esm5/modules/tabs/tabset-permalink.service.js +0 -129
- package/esm5/modules/tabs/tabset-style.js +0 -1
- package/esm5/modules/tabs/tabset-tab-indexes-change.js +0 -1
- package/esm5/modules/tabs/tabset.component.js +0 -434
- package/esm5/modules/tabs/tabset.service.js +0 -122
- package/esm5/modules/vertical-tabset/vertical-tab-media-query.service.js +0 -76
- package/esm5/modules/vertical-tabset/vertical-tab.component.js +0 -214
- package/esm5/modules/vertical-tabset/vertical-tabset-adapter.service.js +0 -51
- package/esm5/modules/vertical-tabset/vertical-tabset-group.component.js +0 -119
- package/esm5/modules/vertical-tabset/vertical-tabset.component.js +0 -145
- package/esm5/modules/vertical-tabset/vertical-tabset.module.js +0 -46
- package/esm5/modules/vertical-tabset/vertical-tabset.service.js +0 -176
- package/esm5/plugin-resources/tabs-resources-provider.js +0 -17
- package/esm5/public_api.js +0 -10
- package/esm5/skyux-tabs.js +0 -21
- package/esm5/testing/public_api.js +0 -2
- package/esm5/testing/skyux-tabs-testing.js +0 -5
- package/esm5/testing/tabs/tab-fixture-tab.js +0 -1
- package/esm5/testing/tabs/tabset-fixture.js +0 -168
- package/fesm5/skyux-tabs-testing.js +0 -174
- package/fesm5/skyux-tabs-testing.js.map +0 -1
- package/fesm5/skyux-tabs.js +0 -2182
- package/fesm5/skyux-tabs.js.map +0 -1
- package/modules/shared/tabs-resources.module.d.ts +0 -2
- package/plugin-resources/tabs-resources-provider.d.ts +0 -5
- package/public_api.d.ts +0 -9
- package/skyux-tabs.metadata.json +0 -1
- package/src/assets/img/guidelines/tabs/tabs-anatomy.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-behavior-1.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-layout-1.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-layout-2.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-layout-3.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-layout-4.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-options-1.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-options-2.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-state-collapsed-closed.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-state-collapsed-open.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-state-hover.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-state-selected.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-state-unselected.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-usage-1.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-usage-2.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-usage-3.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-usage-4.png +0 -0
- package/src/assets/img/guidelines/tabs/tabs-usage-5.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-anatomy-1.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-anatomy-2.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-layout-1.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-state-hover.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-state-selected-group.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-state-selected.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-state-unselected-group.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-state-unselected.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-1.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-2.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-3.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-4.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-5.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-6.png +0 -0
- package/src/assets/img/guidelines/vertical-tabs/vertical-tabs-usage-7.png +0 -0
- package/src/assets/locales/resources_en_US.json +0 -26
- package/testing/skyux-tabs-testing.metadata.json +0 -1
|
@@ -1,228 +1,38 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/animations'), require('rxjs'), require('rxjs/operators'), require('@skyux/core'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/tabs', ['exports', '@angular/core', '@angular/common', '@angular/animations', 'rxjs', 'rxjs/operators', '@skyux/core', '@
|
|
4
|
-
(global = global || self, factory((global.skyux = global.skyux || {}, global.skyux.tabs = {}), global.ng.core, global.ng.common, global.ng.animations, global.rxjs, global.rxjs.operators, global.
|
|
5
|
-
}(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/animations'), require('rxjs'), require('rxjs/operators'), require('@skyux/core'), require('@skyux/indicators'), require('@skyux/theme'), require('@skyux/i18n'), require('@skyux/forms'), require('@angular/router'), require('@skyux/popovers')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@skyux/tabs', ['exports', '@angular/core', '@angular/common', '@angular/animations', 'rxjs', 'rxjs/operators', '@skyux/core', '@skyux/indicators', '@skyux/theme', '@skyux/i18n', '@skyux/forms', '@angular/router', '@skyux/popovers'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.tabs = {}), global.ng.core, global.ng.common, global.ng.animations, global.rxjs, global.rxjs.operators, global.i1, global.i4, global.i4$1, global.i3, global.forms, global.ng.router, global.i4$2));
|
|
5
|
+
}(this, (function (exports, i0, i2, animations, rxjs, operators, i1, i4, i4$1, i3, forms, i1$1, i4$2) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
26
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27
|
-
return extendStatics(d, b);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
extendStatics(d, b);
|
|
32
|
-
function __() { this.constructor = d; }
|
|
33
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
var __assign = function() {
|
|
37
|
-
__assign = Object.assign || function __assign(t) {
|
|
38
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
39
|
-
s = arguments[i];
|
|
40
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
41
|
-
}
|
|
42
|
-
return t;
|
|
43
|
-
};
|
|
44
|
-
return __assign.apply(this, arguments);
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
function __rest(s, e) {
|
|
48
|
-
var t = {};
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
-
t[p] = s[p];
|
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
-
t[p[i]] = s[p[i]];
|
|
55
|
-
}
|
|
56
|
-
return t;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function __decorate(decorators, target, key, desc) {
|
|
60
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
61
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
62
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
63
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function __param(paramIndex, decorator) {
|
|
67
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function __metadata(metadataKey, metadataValue) {
|
|
71
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
75
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
76
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
77
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
78
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
79
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
80
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function __generator(thisArg, body) {
|
|
85
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
86
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
87
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
88
|
-
function step(op) {
|
|
89
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
90
|
-
while (_) try {
|
|
91
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
92
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
93
|
-
switch (op[0]) {
|
|
94
|
-
case 0: case 1: t = op; break;
|
|
95
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
96
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
97
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
98
|
-
default:
|
|
99
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
100
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
101
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
102
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
103
|
-
if (t[2]) _.ops.pop();
|
|
104
|
-
_.trys.pop(); continue;
|
|
105
|
-
}
|
|
106
|
-
op = body.call(thisArg, _);
|
|
107
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
108
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function __createBinding(o, m, k, k2) {
|
|
113
|
-
if (k2 === undefined) k2 = k;
|
|
114
|
-
o[k2] = m[k];
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function __exportStar(m, exports) {
|
|
118
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function __values(o) {
|
|
122
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
123
|
-
if (m) return m.call(o);
|
|
124
|
-
if (o && typeof o.length === "number") return {
|
|
125
|
-
next: function () {
|
|
126
|
-
if (o && i >= o.length) o = void 0;
|
|
127
|
-
return { value: o && o[i++], done: !o };
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
function __read(o, n) {
|
|
134
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
135
|
-
if (!m) return o;
|
|
136
|
-
var i = m.call(o), r, ar = [], e;
|
|
137
|
-
try {
|
|
138
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
139
|
-
}
|
|
140
|
-
catch (error) { e = { error: error }; }
|
|
141
|
-
finally {
|
|
142
|
-
try {
|
|
143
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
144
|
-
}
|
|
145
|
-
finally { if (e) throw e.error; }
|
|
146
|
-
}
|
|
147
|
-
return ar;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
function __spread() {
|
|
151
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
152
|
-
ar = ar.concat(__read(arguments[i]));
|
|
153
|
-
return ar;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
function __spreadArrays() {
|
|
157
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
158
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
159
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
160
|
-
r[k] = a[j];
|
|
161
|
-
return r;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
function __await(v) {
|
|
165
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
169
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
170
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
171
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
172
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
173
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
174
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
175
|
-
function fulfill(value) { resume("next", value); }
|
|
176
|
-
function reject(value) { resume("throw", value); }
|
|
177
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
function __asyncDelegator(o) {
|
|
181
|
-
var i, p;
|
|
182
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
183
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
function __asyncValues(o) {
|
|
187
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
188
|
-
var m = o[Symbol.asyncIterator], i;
|
|
189
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
190
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
191
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
function __makeTemplateObject(cooked, raw) {
|
|
195
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
196
|
-
return cooked;
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
function __importStar(mod) {
|
|
200
|
-
if (mod && mod.__esModule) return mod;
|
|
201
|
-
var result = {};
|
|
202
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
203
|
-
result.default = mod;
|
|
204
|
-
return result;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
function __importDefault(mod) {
|
|
208
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
function __classPrivateFieldGet(receiver, privateMap) {
|
|
212
|
-
if (!privateMap.has(receiver)) {
|
|
213
|
-
throw new TypeError("attempted to get private field on non-instance");
|
|
214
|
-
}
|
|
215
|
-
return privateMap.get(receiver);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
219
|
-
if (!privateMap.has(receiver)) {
|
|
220
|
-
throw new TypeError("attempted to set private field on non-instance");
|
|
221
|
-
}
|
|
222
|
-
privateMap.set(receiver, value);
|
|
223
|
-
return value;
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return e[k];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n['default'] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
224
25
|
}
|
|
225
26
|
|
|
27
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
30
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
31
|
+
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
32
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
33
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
34
|
+
var i4__namespace$2 = /*#__PURE__*/_interopNamespace(i4$2);
|
|
35
|
+
|
|
226
36
|
var VISIBLE_STATE = 'shown';
|
|
227
37
|
var HIDDEN_STATE = 'void';
|
|
228
38
|
/**
|
|
@@ -245,7 +55,7 @@
|
|
|
245
55
|
this._tabsVisible = false;
|
|
246
56
|
this._isMobile = false;
|
|
247
57
|
this.mediaQueryService.subscribe(function (breakpoint) {
|
|
248
|
-
var nowMobile = breakpoint ===
|
|
58
|
+
var nowMobile = breakpoint === i1.SkyMediaBreakpoints.xs;
|
|
249
59
|
if (nowMobile && !_this._isMobile) {
|
|
250
60
|
// switching to mobile
|
|
251
61
|
_this.switchingMobile.next(true);
|
|
@@ -267,7 +77,7 @@
|
|
|
267
77
|
set: function (value) {
|
|
268
78
|
this._content = value;
|
|
269
79
|
},
|
|
270
|
-
enumerable:
|
|
80
|
+
enumerable: false,
|
|
271
81
|
configurable: true
|
|
272
82
|
});
|
|
273
83
|
SkyVerticalTabsetService.prototype.addTab = function (tab) {
|
|
@@ -280,14 +90,17 @@
|
|
|
280
90
|
this.tabAdded.next(tab);
|
|
281
91
|
};
|
|
282
92
|
SkyVerticalTabsetService.prototype.destroyTab = function (tab) {
|
|
93
|
+
var _a;
|
|
283
94
|
var tabIndex = this.tabs.indexOf(tab);
|
|
284
95
|
if (tabIndex === -1) {
|
|
285
96
|
return;
|
|
286
97
|
}
|
|
287
|
-
if (this.maintainTabContent &&
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
98
|
+
if (this.maintainTabContent &&
|
|
99
|
+
tab.contentRendered &&
|
|
100
|
+
(
|
|
101
|
+
/* istanbul ignore next */
|
|
102
|
+
(_a = this._content) === null || _a === void 0 ? void 0 : _a.nativeElement.contains(tab.tabContent.nativeElement))) {
|
|
103
|
+
this._content.nativeElement.removeChild(tab.tabContent.nativeElement);
|
|
291
104
|
}
|
|
292
105
|
this.tabs.splice(tabIndex, 1);
|
|
293
106
|
// update tab indices
|
|
@@ -365,6 +178,7 @@
|
|
|
365
178
|
this.content = undefined;
|
|
366
179
|
};
|
|
367
180
|
SkyVerticalTabsetService.prototype.moveContent = function () {
|
|
181
|
+
/* istanbul ignore else */
|
|
368
182
|
if (this._content && !this._contentAdded) {
|
|
369
183
|
var activeTab = this.activeTab();
|
|
370
184
|
var activeContent = activeTab ? activeTab.tabContent : undefined;
|
|
@@ -385,14 +199,13 @@
|
|
|
385
199
|
}
|
|
386
200
|
this.indexChanged.next(this.activeIndex);
|
|
387
201
|
};
|
|
388
|
-
SkyVerticalTabsetService.ctorParameters = function () { return [
|
|
389
|
-
{ type: core$1.SkyMediaQueryService }
|
|
390
|
-
]; };
|
|
391
|
-
SkyVerticalTabsetService = __decorate([
|
|
392
|
-
core.Injectable()
|
|
393
|
-
], SkyVerticalTabsetService);
|
|
394
202
|
return SkyVerticalTabsetService;
|
|
395
203
|
}());
|
|
204
|
+
SkyVerticalTabsetService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetService, deps: [{ token: i1__namespace.SkyMediaQueryService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
205
|
+
SkyVerticalTabsetService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetService });
|
|
206
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetService, decorators: [{
|
|
207
|
+
type: i0.Injectable
|
|
208
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.SkyMediaQueryService }]; } });
|
|
396
209
|
|
|
397
210
|
/**
|
|
398
211
|
* Creates a container for the sectioned forms.
|
|
@@ -411,7 +224,7 @@
|
|
|
411
224
|
* Fires when the active tab changes and emits the index of the active
|
|
412
225
|
* section. The index is based on the section's position when the form loads.
|
|
413
226
|
*/
|
|
414
|
-
this.indexChanged = new
|
|
227
|
+
this.indexChanged = new i0.EventEmitter();
|
|
415
228
|
this.isMobile = false;
|
|
416
229
|
this._ngUnsubscribe = new rxjs.Subject();
|
|
417
230
|
}
|
|
@@ -419,7 +232,7 @@
|
|
|
419
232
|
get: function () {
|
|
420
233
|
return this.isMobile ? undefined : 'tablist';
|
|
421
234
|
},
|
|
422
|
-
enumerable:
|
|
235
|
+
enumerable: false,
|
|
423
236
|
configurable: true
|
|
424
237
|
});
|
|
425
238
|
SkySectionedFormComponent.prototype.ngOnInit = function () {
|
|
@@ -459,44 +272,54 @@
|
|
|
459
272
|
this.tabService.showTabs();
|
|
460
273
|
this.changeRef.markForCheck();
|
|
461
274
|
};
|
|
462
|
-
SkySectionedFormComponent.ctorParameters = function () { return [
|
|
463
|
-
{ type: SkyVerticalTabsetService },
|
|
464
|
-
{ type: core.ChangeDetectorRef }
|
|
465
|
-
]; };
|
|
466
|
-
__decorate([
|
|
467
|
-
core.Input()
|
|
468
|
-
], SkySectionedFormComponent.prototype, "maintainSectionContent", void 0);
|
|
469
|
-
__decorate([
|
|
470
|
-
core.Output()
|
|
471
|
-
], SkySectionedFormComponent.prototype, "indexChanged", void 0);
|
|
472
|
-
__decorate([
|
|
473
|
-
core.ViewChild('skySectionSideContent')
|
|
474
|
-
], SkySectionedFormComponent.prototype, "content", void 0);
|
|
475
|
-
SkySectionedFormComponent = __decorate([
|
|
476
|
-
core.Component({
|
|
477
|
-
selector: 'sky-sectioned-form',
|
|
478
|
-
template: "<div\n aria-orientation=\"vertical\"\n class=\"sky-sectioned-form\"\n [attr.role]=\"ariaRole\"\n (window:resize)=\"tabService.updateContent()\"\n>\n <div\n *ngIf=\"maintainSectionContent || tabsVisible()\"\n class=\"sky-sectioned-form-tabs\"\n [ngClass]=\"{'sky-sectioned-form-tabs-hidden': !tabsVisible()}\"\n [@tabEnter]=\"tabService.animationTabsVisibleState\"\n >\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"maintainSectionContent || tabService.contentVisible()\"\n class=\"sky-sectioned-form-content sky-padding-even-large\"\n [ngClass]=\"{'sky-sectioned-form-content-hidden': !tabService.contentVisible()}\"\n [@contentEnter]=\"tabService.animationContentVisibleState\"\n #skySectionSideContent\n >\n </div>\n</div>\n\n",
|
|
479
|
-
providers: [SkyVerticalTabsetService],
|
|
480
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
481
|
-
animations: [
|
|
482
|
-
animations.trigger('tabEnter', [
|
|
483
|
-
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
484
|
-
animations.style({ transform: 'translate(-100%)' }),
|
|
485
|
-
animations.animate('150ms ease-in')
|
|
486
|
-
])
|
|
487
|
-
]),
|
|
488
|
-
animations.trigger('contentEnter', [
|
|
489
|
-
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
490
|
-
animations.style({ transform: 'translate(100%)' }),
|
|
491
|
-
animations.animate('150ms ease-in')
|
|
492
|
-
])
|
|
493
|
-
])
|
|
494
|
-
],
|
|
495
|
-
styles: [":host .sky-sectioned-form{display:block;max-height:none}:host .sky-sectioned-form-content{flex-basis:auto;overflow-y:visible}:host .sky-sectioned-form-tabs{flex-basis:auto;overflow-y:visible;border-right:1px solid #e2e3e4}:host-context(.sky-responsive-container-lg) .sky-sectioned-form,:host-context(.sky-responsive-container-md) .sky-sectioned-form,:host-context(.sky-responsive-container-sm) .sky-sectioned-form,:host-context(.sky-responsive-container-xs) .sky-sectioned-form{display:block;max-height:none}:host-context(.sky-responsive-container-lg) .sky-sectioned-form-content,:host-context(.sky-responsive-container-md) .sky-sectioned-form-content,:host-context(.sky-responsive-container-sm) .sky-sectioned-form-content,:host-context(.sky-responsive-container-xs) .sky-sectioned-form-content{flex-basis:auto;overflow-y:visible}:host-context(.sky-responsive-container-lg) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-md) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-sm) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-xs) .sky-sectioned-form-tabs{flex-basis:auto;overflow-y:visible;border-right:1px solid #e2e3e4}@media (min-width:768px){:host .sky-sectioned-form{display:flex;max-height:100%}:host .sky-sectioned-form-content{flex-basis:70%;overflow-y:auto}:host .sky-sectioned-form-tabs{flex-basis:30%;overflow-y:auto}}:host-context(.sky-responsive-container-lg) .sky-sectioned-form,:host-context(.sky-responsive-container-md) .sky-sectioned-form,:host-context(.sky-responsive-container-sm) .sky-sectioned-form{display:flex;max-height:100%}:host-context(.sky-responsive-container-lg) .sky-sectioned-form-content,:host-context(.sky-responsive-container-md) .sky-sectioned-form-content,:host-context(.sky-responsive-container-sm) .sky-sectioned-form-content{flex-basis:70%;overflow-y:auto}:host-context(.sky-responsive-container-lg) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-md) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-sm) .sky-sectioned-form-tabs{flex-basis:30%;overflow-y:auto}.sky-sectioned-form-content-hidden,.sky-sectioned-form-tabs-hidden{display:none}"]
|
|
496
|
-
})
|
|
497
|
-
], SkySectionedFormComponent);
|
|
498
275
|
return SkySectionedFormComponent;
|
|
499
276
|
}());
|
|
277
|
+
SkySectionedFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormComponent, deps: [{ token: SkyVerticalTabsetService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
278
|
+
SkySectionedFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkySectionedFormComponent, selector: "sky-sectioned-form", inputs: { maintainSectionContent: "maintainSectionContent" }, outputs: { indexChanged: "indexChanged" }, providers: [SkyVerticalTabsetService], viewQueries: [{ propertyName: "content", first: true, predicate: ["skySectionSideContent"], descendants: true }], ngImport: i0__namespace, template: "<div\n aria-orientation=\"vertical\"\n class=\"sky-sectioned-form\"\n [attr.role]=\"ariaRole\"\n (window:resize)=\"tabService.updateContent()\"\n>\n <div\n *ngIf=\"maintainSectionContent || tabsVisible()\"\n class=\"sky-sectioned-form-tabs\"\n [ngClass]=\"{'sky-sectioned-form-tabs-hidden': !tabsVisible()}\"\n [@tabEnter]=\"tabService.animationTabsVisibleState\"\n >\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"maintainSectionContent || tabService.contentVisible()\"\n class=\"sky-sectioned-form-content\"\n [ngClass]=\"{'sky-sectioned-form-content-hidden': !tabService.contentVisible()}\"\n [@contentEnter]=\"tabService.animationContentVisibleState\"\n #skySectionSideContent\n >\n </div>\n</div>\n\n", styles: [":host .sky-sectioned-form{display:block;max-height:none}:host .sky-sectioned-form-content{flex-basis:auto;overflow-y:visible}:host .sky-sectioned-form-tabs{flex-basis:auto;overflow-y:visible;border-right:1px solid #e2e3e4}:host-context(.sky-responsive-container-xs) .sky-sectioned-form,:host-context(.sky-responsive-container-sm) .sky-sectioned-form,:host-context(.sky-responsive-container-md) .sky-sectioned-form,:host-context(.sky-responsive-container-lg) .sky-sectioned-form{display:block;max-height:none}:host-context(.sky-responsive-container-xs) .sky-sectioned-form-content,:host-context(.sky-responsive-container-sm) .sky-sectioned-form-content,:host-context(.sky-responsive-container-md) .sky-sectioned-form-content,:host-context(.sky-responsive-container-lg) .sky-sectioned-form-content{flex-basis:auto;overflow-y:visible}:host-context(.sky-responsive-container-xs) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-sm) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-md) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-lg) .sky-sectioned-form-tabs{flex-basis:auto;overflow-y:visible;border-right:1px solid #e2e3e4}@media (min-width: 768px){:host .sky-sectioned-form{display:flex;max-height:100%}:host .sky-sectioned-form-content{flex-basis:70%;margin:15px;overflow-y:auto}:host .sky-sectioned-form-tabs{flex-basis:30%;overflow-y:auto}}:host-context(.sky-responsive-container-sm) .sky-sectioned-form,:host-context(.sky-responsive-container-md) .sky-sectioned-form,:host-context(.sky-responsive-container-lg) .sky-sectioned-form{display:flex;max-height:100%}:host-context(.sky-responsive-container-sm) .sky-sectioned-form-content,:host-context(.sky-responsive-container-md) .sky-sectioned-form-content,:host-context(.sky-responsive-container-lg) .sky-sectioned-form-content{flex-basis:70%;margin:15px;overflow-y:auto}:host-context(.sky-responsive-container-sm) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-md) .sky-sectioned-form-tabs,:host-context(.sky-responsive-container-lg) .sky-sectioned-form-tabs{flex-basis:30%;overflow-y:auto}.sky-sectioned-form-tabs-hidden{display:none}.sky-sectioned-form-content-hidden{display:none}:host-context(.sky-theme-modern) .sky-sectioned-form-content{margin:15px}:host-context(.sky-theme-modern) .sky-sectioned-form-tabs{border-right:1px solid #d2d2d2}@media (min-width: 768px){:host-context(.sky-theme-modern) :host .sky-sectioned-form-content{margin:20px 30px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-sectioned-form-content,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-sectioned-form-content,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-sectioned-form-content{margin:20px 30px}.sky-theme-modern .sky-sectioned-form-content{margin:15px}.sky-theme-modern .sky-sectioned-form-tabs{border-right:1px solid #d2d2d2}@media (min-width: 768px){.sky-theme-modern :host .sky-sectioned-form-content{margin:20px 30px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-sectioned-form-content,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-sectioned-form-content,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-sectioned-form-content{margin:20px 30px}\n"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
|
|
279
|
+
animations.trigger('tabEnter', [
|
|
280
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
281
|
+
animations.style({ transform: 'translate(-100%)' }),
|
|
282
|
+
animations.animate('150ms ease-in')
|
|
283
|
+
])
|
|
284
|
+
]),
|
|
285
|
+
animations.trigger('contentEnter', [
|
|
286
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
287
|
+
animations.style({ transform: 'translate(100%)' }),
|
|
288
|
+
animations.animate('150ms ease-in')
|
|
289
|
+
])
|
|
290
|
+
])
|
|
291
|
+
], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
292
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormComponent, decorators: [{
|
|
293
|
+
type: i0.Component,
|
|
294
|
+
args: [{
|
|
295
|
+
selector: 'sky-sectioned-form',
|
|
296
|
+
templateUrl: './sectioned-form.component.html',
|
|
297
|
+
styleUrls: ['./sectioned-form.component.scss'],
|
|
298
|
+
providers: [SkyVerticalTabsetService],
|
|
299
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
300
|
+
animations: [
|
|
301
|
+
animations.trigger('tabEnter', [
|
|
302
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
303
|
+
animations.style({ transform: 'translate(-100%)' }),
|
|
304
|
+
animations.animate('150ms ease-in')
|
|
305
|
+
])
|
|
306
|
+
]),
|
|
307
|
+
animations.trigger('contentEnter', [
|
|
308
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
309
|
+
animations.style({ transform: 'translate(100%)' }),
|
|
310
|
+
animations.animate('150ms ease-in')
|
|
311
|
+
])
|
|
312
|
+
])
|
|
313
|
+
]
|
|
314
|
+
}]
|
|
315
|
+
}], ctorParameters: function () { return [{ type: SkyVerticalTabsetService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { maintainSectionContent: [{
|
|
316
|
+
type: i0.Input
|
|
317
|
+
}], indexChanged: [{
|
|
318
|
+
type: i0.Output
|
|
319
|
+
}], content: [{
|
|
320
|
+
type: i0.ViewChild,
|
|
321
|
+
args: ['skySectionSideContent']
|
|
322
|
+
}] } });
|
|
500
323
|
|
|
501
324
|
/**
|
|
502
325
|
* @internal
|
|
@@ -504,14 +327,14 @@
|
|
|
504
327
|
var SkyVerticalTabMediaQueryService = /** @class */ (function () {
|
|
505
328
|
function SkyVerticalTabMediaQueryService() {
|
|
506
329
|
this.currentSubject = new rxjs.BehaviorSubject(this.current);
|
|
507
|
-
this._current =
|
|
330
|
+
this._current = i1.SkyMediaBreakpoints.xs;
|
|
508
331
|
this.currentSubject.next(this._current);
|
|
509
332
|
}
|
|
510
333
|
Object.defineProperty(SkyVerticalTabMediaQueryService.prototype, "current", {
|
|
511
334
|
get: function () {
|
|
512
335
|
return this._current;
|
|
513
336
|
},
|
|
514
|
-
enumerable:
|
|
337
|
+
enumerable: false,
|
|
515
338
|
configurable: true
|
|
516
339
|
});
|
|
517
340
|
SkyVerticalTabMediaQueryService.prototype.subscribe = function (listener) {
|
|
@@ -523,17 +346,17 @@
|
|
|
523
346
|
};
|
|
524
347
|
SkyVerticalTabMediaQueryService.prototype.setBreakpointForWidth = function (width) {
|
|
525
348
|
var breakpoint;
|
|
526
|
-
if (this.isWidthWithinBreakpiont(width,
|
|
527
|
-
breakpoint =
|
|
349
|
+
if (this.isWidthWithinBreakpiont(width, i1.SkyMediaBreakpoints.xs)) {
|
|
350
|
+
breakpoint = i1.SkyMediaBreakpoints.xs;
|
|
528
351
|
}
|
|
529
|
-
else if (this.isWidthWithinBreakpiont(width,
|
|
530
|
-
breakpoint =
|
|
352
|
+
else if (this.isWidthWithinBreakpiont(width, i1.SkyMediaBreakpoints.sm)) {
|
|
353
|
+
breakpoint = i1.SkyMediaBreakpoints.sm;
|
|
531
354
|
}
|
|
532
|
-
else if (this.isWidthWithinBreakpiont(width,
|
|
533
|
-
breakpoint =
|
|
355
|
+
else if (this.isWidthWithinBreakpiont(width, i1.SkyMediaBreakpoints.md)) {
|
|
356
|
+
breakpoint = i1.SkyMediaBreakpoints.md;
|
|
534
357
|
}
|
|
535
358
|
else {
|
|
536
|
-
breakpoint =
|
|
359
|
+
breakpoint = i1.SkyMediaBreakpoints.lg;
|
|
537
360
|
}
|
|
538
361
|
this._current = breakpoint;
|
|
539
362
|
this.currentSubject.next(this._current);
|
|
@@ -546,13 +369,13 @@
|
|
|
546
369
|
var mdBreakpointMaxPixels = 1199;
|
|
547
370
|
var lgBreakpointMinPixels = 1200;
|
|
548
371
|
switch (breakpoint) {
|
|
549
|
-
case
|
|
372
|
+
case i1.SkyMediaBreakpoints.xs: {
|
|
550
373
|
return (width <= xsBreakpointMaxPixels);
|
|
551
374
|
}
|
|
552
|
-
case
|
|
375
|
+
case i1.SkyMediaBreakpoints.sm: {
|
|
553
376
|
return (width >= smBreakpointMinPixels && width <= smBreakpointMaxPixels);
|
|
554
377
|
}
|
|
555
|
-
case
|
|
378
|
+
case i1.SkyMediaBreakpoints.md: {
|
|
556
379
|
return (width >= mdBreakpointMinPixels && width <= mdBreakpointMaxPixels);
|
|
557
380
|
}
|
|
558
381
|
default: {
|
|
@@ -563,11 +386,13 @@
|
|
|
563
386
|
SkyVerticalTabMediaQueryService.prototype.destroy = function () {
|
|
564
387
|
this.currentSubject.complete();
|
|
565
388
|
};
|
|
566
|
-
SkyVerticalTabMediaQueryService = __decorate([
|
|
567
|
-
core.Injectable()
|
|
568
|
-
], SkyVerticalTabMediaQueryService);
|
|
569
389
|
return SkyVerticalTabMediaQueryService;
|
|
570
390
|
}());
|
|
391
|
+
SkyVerticalTabMediaQueryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabMediaQueryService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
392
|
+
SkyVerticalTabMediaQueryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabMediaQueryService });
|
|
393
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabMediaQueryService, decorators: [{
|
|
394
|
+
type: i0.Injectable
|
|
395
|
+
}], ctorParameters: function () { return []; } });
|
|
571
396
|
|
|
572
397
|
var SkyVerticalTabsetAdapterService = /** @class */ (function () {
|
|
573
398
|
function SkyVerticalTabsetAdapterService(rendererFactory) {
|
|
@@ -588,15 +413,15 @@
|
|
|
588
413
|
this.renderer.removeClass(nativeEl, 'sky-responsive-container-lg');
|
|
589
414
|
var newClass;
|
|
590
415
|
switch (breakpoint) {
|
|
591
|
-
case
|
|
416
|
+
case i1.SkyMediaBreakpoints.xs: {
|
|
592
417
|
newClass = 'sky-responsive-container-xs';
|
|
593
418
|
break;
|
|
594
419
|
}
|
|
595
|
-
case
|
|
420
|
+
case i1.SkyMediaBreakpoints.sm: {
|
|
596
421
|
newClass = 'sky-responsive-container-sm';
|
|
597
422
|
break;
|
|
598
423
|
}
|
|
599
|
-
case
|
|
424
|
+
case i1.SkyMediaBreakpoints.md: {
|
|
600
425
|
newClass = 'sky-responsive-container-md';
|
|
601
426
|
break;
|
|
602
427
|
}
|
|
@@ -607,14 +432,13 @@
|
|
|
607
432
|
}
|
|
608
433
|
this.renderer.addClass(nativeEl, newClass);
|
|
609
434
|
};
|
|
610
|
-
SkyVerticalTabsetAdapterService.ctorParameters = function () { return [
|
|
611
|
-
{ type: core.RendererFactory2 }
|
|
612
|
-
]; };
|
|
613
|
-
SkyVerticalTabsetAdapterService = __decorate([
|
|
614
|
-
core.Injectable()
|
|
615
|
-
], SkyVerticalTabsetAdapterService);
|
|
616
435
|
return SkyVerticalTabsetAdapterService;
|
|
617
436
|
}());
|
|
437
|
+
SkyVerticalTabsetAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
438
|
+
SkyVerticalTabsetAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetAdapterService });
|
|
439
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetAdapterService, decorators: [{
|
|
440
|
+
type: i0.Injectable
|
|
441
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }]; } });
|
|
618
442
|
|
|
619
443
|
var SkyVerticalTabComponent = /** @class */ (function () {
|
|
620
444
|
function SkyVerticalTabComponent(adapterService, changeRef, tabsetService, verticalTabMediaQueryService) {
|
|
@@ -653,7 +477,7 @@
|
|
|
653
477
|
set: function (value) {
|
|
654
478
|
this._ariaControls = value;
|
|
655
479
|
},
|
|
656
|
-
enumerable:
|
|
480
|
+
enumerable: false,
|
|
657
481
|
configurable: true
|
|
658
482
|
});
|
|
659
483
|
Object.defineProperty(SkyVerticalTabComponent.prototype, "ariaRole", {
|
|
@@ -674,7 +498,7 @@
|
|
|
674
498
|
set: function (value) {
|
|
675
499
|
this._ariaRole = value;
|
|
676
500
|
},
|
|
677
|
-
enumerable:
|
|
501
|
+
enumerable: false,
|
|
678
502
|
configurable: true
|
|
679
503
|
});
|
|
680
504
|
Object.defineProperty(SkyVerticalTabComponent.prototype, "showTabRightArrow", {
|
|
@@ -688,7 +512,7 @@
|
|
|
688
512
|
set: function (value) {
|
|
689
513
|
this._showTabRightArrow = value;
|
|
690
514
|
},
|
|
691
|
-
enumerable:
|
|
515
|
+
enumerable: false,
|
|
692
516
|
configurable: true
|
|
693
517
|
});
|
|
694
518
|
Object.defineProperty(SkyVerticalTabComponent.prototype, "contentRendered", {
|
|
@@ -698,6 +522,7 @@
|
|
|
698
522
|
set: function (value) {
|
|
699
523
|
var _this = this;
|
|
700
524
|
this._contentRendered = value;
|
|
525
|
+
/* istanbul ignore else */
|
|
701
526
|
if (this._contentRendered) {
|
|
702
527
|
// NOTE: Wrapped in a setTimeout here to ensure that everything has completed rendering.
|
|
703
528
|
setTimeout(function () {
|
|
@@ -705,7 +530,7 @@
|
|
|
705
530
|
});
|
|
706
531
|
}
|
|
707
532
|
},
|
|
708
|
-
enumerable:
|
|
533
|
+
enumerable: false,
|
|
709
534
|
configurable: true
|
|
710
535
|
});
|
|
711
536
|
SkyVerticalTabComponent.prototype.ngOnInit = function () {
|
|
@@ -761,65 +586,54 @@
|
|
|
761
586
|
this.adapterService.setResponsiveClass(this.tabContent, newBreakpiont);
|
|
762
587
|
this.changeRef.markForCheck();
|
|
763
588
|
};
|
|
764
|
-
SkyVerticalTabComponent.ctorParameters = function () { return [
|
|
765
|
-
{ type: SkyVerticalTabsetAdapterService },
|
|
766
|
-
{ type: core.ChangeDetectorRef },
|
|
767
|
-
{ type: SkyVerticalTabsetService },
|
|
768
|
-
{ type: SkyVerticalTabMediaQueryService }
|
|
769
|
-
]; };
|
|
770
|
-
__decorate([
|
|
771
|
-
core.Input()
|
|
772
|
-
], SkyVerticalTabComponent.prototype, "active", void 0);
|
|
773
|
-
__decorate([
|
|
774
|
-
core.Input()
|
|
775
|
-
], SkyVerticalTabComponent.prototype, "ariaControls", null);
|
|
776
|
-
__decorate([
|
|
777
|
-
core.Input()
|
|
778
|
-
], SkyVerticalTabComponent.prototype, "ariaInvalid", void 0);
|
|
779
|
-
__decorate([
|
|
780
|
-
core.Input()
|
|
781
|
-
], SkyVerticalTabComponent.prototype, "ariaRequired", void 0);
|
|
782
|
-
__decorate([
|
|
783
|
-
core.Input()
|
|
784
|
-
], SkyVerticalTabComponent.prototype, "ariaRole", null);
|
|
785
|
-
__decorate([
|
|
786
|
-
core.Input()
|
|
787
|
-
], SkyVerticalTabComponent.prototype, "disabled", void 0);
|
|
788
|
-
__decorate([
|
|
789
|
-
core.Input()
|
|
790
|
-
], SkyVerticalTabComponent.prototype, "errorIndicator", void 0);
|
|
791
|
-
__decorate([
|
|
792
|
-
core.Input()
|
|
793
|
-
], SkyVerticalTabComponent.prototype, "tabHeaderCount", void 0);
|
|
794
|
-
__decorate([
|
|
795
|
-
core.Input()
|
|
796
|
-
], SkyVerticalTabComponent.prototype, "tabHeading", void 0);
|
|
797
|
-
__decorate([
|
|
798
|
-
core.Input()
|
|
799
|
-
], SkyVerticalTabComponent.prototype, "showTabRightArrow", null);
|
|
800
|
-
__decorate([
|
|
801
|
-
core.Input()
|
|
802
|
-
], SkyVerticalTabComponent.prototype, "tabId", void 0);
|
|
803
|
-
__decorate([
|
|
804
|
-
core.ViewChild('tabContentWrapper')
|
|
805
|
-
], SkyVerticalTabComponent.prototype, "tabContent", void 0);
|
|
806
|
-
__decorate([
|
|
807
|
-
core.HostListener('window:resize')
|
|
808
|
-
], SkyVerticalTabComponent.prototype, "onWindowResize", null);
|
|
809
|
-
SkyVerticalTabComponent = __decorate([
|
|
810
|
-
core.Component({
|
|
811
|
-
selector: 'sky-vertical-tab',
|
|
812
|
-
template: "<a\n class=\"sky-vertical-tab\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-invalid]=\"ariaInvalid\"\n [attr.aria-required]=\"ariaRequired ? ariaRequired : null\"\n [attr.aria-selected]=\"active\"\n [attr.id]=\"tabId\"\n [attr.role]=\"ariaRole\"\n [ngClass]=\"{\n 'sky-vertical-tab-active': active,\n 'sky-vertical-tab-disabled': disabled,\n 'sky-deemphasized': disabled\n }\"\n [tabIndex]=\"tabIndex()\"\n (click)=\"activateTab()\"\n (keyup.enter)=\"activateTab()\">\n <div class=\"sky-vertical-tab-display\">\n <div class=\"sky-vertical-tab-heading\">\n <span class=\"sky-vertical-tab-heading-value\">{{ tabHeading }}</span>\n <span\n class=\"sky-vertical-tab-count\"\n *ngIf=\"tabHeaderCount || tabHeaderCount === 0\">\n ({{ tabHeaderCount }})\n </span>\n </div>\n <sky-status-indicator *ngIf=\"errorIndicator\"\n class=\"sky-vertical-tab-heading-error\"\n descriptionType=\"error\"\n indicatorType=\"danger\"\n ></sky-status-indicator>\n\n <sky-icon\n *ngIf=\"showTabRightArrow\"\n class=\"sky-vertical-tab-right-arrow\"\n icon=\"chevron-right\"\n >\n </sky-icon>\n </div>\n</a>\n\n<div\n #tabContentWrapper\n>\n <div\n class=\"sky-vertical-tab-content-pane\"\n [ngClass]=\"{'sky-vertical-tab-hidden': !active}\"\n >\n\n <ng-content></ng-content>\n\n <div>\n\n</div>\n\n",
|
|
813
|
-
providers: [
|
|
814
|
-
SkyVerticalTabMediaQueryService,
|
|
815
|
-
{ provide: core$1.SkyMediaQueryService, useExisting: SkyVerticalTabMediaQueryService }
|
|
816
|
-
],
|
|
817
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
818
|
-
styles: [".sky-vertical-tab{cursor:pointer;padding:7px 0 7px 10px;margin:5px 0 5px 10px;display:flex;text-decoration:none}.sky-vertical-tab:not(.sky-deemphasized){color:#212327}.sky-vertical-tab:hover{background-color:#eeeeef}.sky-vertical-tab:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px}.sky-vertical-tab:hover .sky-vertical-tab-right-arrow{color:#979ba2}.sky-vertical-tab-active{background-color:#eeeeef;color:#212327;padding-left:6px;border-left:4px solid #00b4f1}.sky-vertical-tab-hidden{display:none}.sky-vertical-tab-display{display:flex;flex-grow:1}.sky-vertical-tab-heading-error{padding-left:5px}.sky-vertical-tab-count{margin-left:5px}.sky-vertical-tab-disabled{cursor:not-allowed;pointer-events:none;font-style:normal}.sky-vertical-tab-right-arrow{padding:3px 10px 0 0;color:#cdcfd2}.sky-theme-modern .sky-vertical-tab,:host-context(.sky-theme-modern) .sky-vertical-tab{cursor:pointer;padding:10px 0 10px 10px;margin:10px 0 20px 10px}.sky-theme-modern .sky-vertical-tab:not(.sky-vertical-tab-active):not(:active):hover,:host-context(.sky-theme-modern) .sky-vertical-tab:not(.sky-vertical-tab-active):not(:active):hover{color:#212327;background-color:transparent;padding-left:9px;border-left:1px solid #00b4f1}.sky-theme-modern .sky-vertical-tab:not(:active):focus,:host-context(.sky-theme-modern) .sky-vertical-tab:not(:active):focus{outline:#1870b8 solid 2px;outline-offset:-2px;box-shadow:0 1px 8px 0 rgba(0,0,0,.3)}.sky-theme-modern .sky-vertical-tab:focus:active:hover,:host-context(.sky-theme-modern) .sky-vertical-tab:focus:active:hover{outline:0;background:0 0}.sky-theme-modern .sky-vertical-tab:active,:host-context(.sky-theme-modern) .sky-vertical-tab:active{border-left:3px solid #00b4f1;padding-left:7px}.sky-theme-modern .sky-vertical-tab .sky-vertical-tab-heading-error,:host-context(.sky-theme-modern) .sky-vertical-tab .sky-vertical-tab-heading-error{padding-left:10px}.sky-theme-modern .sky-vertical-tab-active,:host-context(.sky-theme-modern) .sky-vertical-tab-active{background:0 0;padding-left:7px;border-left:3px solid #1870b8}"]
|
|
819
|
-
})
|
|
820
|
-
], SkyVerticalTabComponent);
|
|
821
589
|
return SkyVerticalTabComponent;
|
|
822
590
|
}());
|
|
591
|
+
SkyVerticalTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabComponent, deps: [{ token: SkyVerticalTabsetAdapterService }, { token: i0__namespace.ChangeDetectorRef }, { token: SkyVerticalTabsetService }, { token: SkyVerticalTabMediaQueryService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
592
|
+
SkyVerticalTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyVerticalTabComponent, selector: "sky-vertical-tab", inputs: { active: "active", ariaControls: "ariaControls", ariaInvalid: "ariaInvalid", ariaRequired: "ariaRequired", ariaRole: "ariaRole", disabled: "disabled", errorIndicator: "errorIndicator", tabHeaderCount: "tabHeaderCount", tabHeading: "tabHeading", showTabRightArrow: "showTabRightArrow", tabId: "tabId" }, host: { listeners: { "window:resize": "onWindowResize()" } }, providers: [
|
|
593
|
+
SkyVerticalTabMediaQueryService,
|
|
594
|
+
{ provide: i1.SkyMediaQueryService, useExisting: SkyVerticalTabMediaQueryService }
|
|
595
|
+
], viewQueries: [{ propertyName: "tabContent", first: true, predicate: ["tabContentWrapper"], descendants: true }], ngImport: i0__namespace, template: "<a\n class=\"sky-vertical-tab\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-invalid]=\"ariaInvalid\"\n [attr.aria-required]=\"ariaRequired ? ariaRequired : null\"\n [attr.aria-selected]=\"active\"\n [attr.id]=\"tabId\"\n [attr.role]=\"ariaRole\"\n [ngClass]=\"{\n 'sky-vertical-tab-active': active,\n 'sky-vertical-tab-disabled': disabled,\n 'sky-font-deemphasized': disabled,\n 'sky-deemphasized': disabled\n }\"\n [tabIndex]=\"tabIndex()\"\n (click)=\"activateTab()\"\n (keyup.enter)=\"activateTab()\">\n <div class=\"sky-vertical-tab-display\">\n <div class=\"sky-vertical-tab-heading\">\n <span class=\"sky-vertical-tab-heading-value\">{{ tabHeading }}</span>\n <span\n class=\"sky-vertical-tab-count\"\n *ngIf=\"tabHeaderCount || tabHeaderCount === 0\">\n ({{ tabHeaderCount }})\n </span>\n </div>\n <sky-status-indicator *ngIf=\"errorIndicator\"\n class=\"sky-vertical-tab-heading-error\"\n descriptionType=\"error\"\n indicatorType=\"danger\"\n ></sky-status-indicator>\n <sky-icon\n *ngIf=\"showTabRightArrow\"\n class=\"sky-vertical-tab-right-arrow\"\n icon=\"chevron-right\"\n >\n </sky-icon>\n </div>\n</a>\n\n<div\n #tabContentWrapper\n>\n <div\n class=\"sky-vertical-tab-content-pane\"\n [ngClass]=\"{'sky-vertical-tab-hidden': !active}\"\n >\n\n <ng-content></ng-content>\n\n <div>\n\n</div>\n\n", styles: [".sky-vertical-tab{cursor:pointer;padding:7px 0 7px 10px;margin:5px 0 5px 10px;display:flex;text-decoration:none}.sky-vertical-tab:not(.sky-deemphasized){color:#212327}.sky-vertical-tab:hover{background-color:#eeeeef}.sky-vertical-tab:focus-visible{outline:thin dotted;outline:-webkit-focus-ring-color auto 5px}.sky-vertical-tab:hover .sky-vertical-tab-right-arrow{color:#979ba2}.sky-vertical-tab-active{background-color:#eeeeef;color:#212327;padding-left:6px;border-left:4px solid #00b4f1}.sky-vertical-tab-hidden{display:none}.sky-vertical-tab-display{display:flex;flex-grow:1}.sky-vertical-tab-heading-error{padding-left:5px}.sky-vertical-tab-count{margin-left:5px}.sky-vertical-tab-disabled{cursor:not-allowed;pointer-events:none}.sky-vertical-tab-right-arrow{padding:3px 10px 0 0;color:#cdcfd2}:host-context(.sky-theme-modern) .sky-vertical-tab{color:#686c73;cursor:pointer;padding:10px 0 10px 10px;margin:10px 0 20px 10px}:host-context(.sky-theme-modern) .sky-vertical-tab:not(.sky-vertical-tab-active):not(:active):hover{color:#212327;background-color:transparent;padding-left:9px;border-left:1px solid #00b4f1}:host-context(.sky-theme-modern) .sky-vertical-tab:not(:active):focus-visible{outline:solid 2px #1870B8;outline-offset:-2px;box-shadow:0 1px 8px #0000004d}:host-context(.sky-theme-modern) .sky-vertical-tab:focus:active:hover{outline:none;background:none}:host-context(.sky-theme-modern) .sky-vertical-tab:active{border-left:3px solid #00b4f1;color:#212327;padding-left:7px}:host-context(.sky-theme-modern) .sky-vertical-tab .sky-vertical-tab-heading-error{padding-left:10px;position:relative;top:-2px}:host-context(.sky-theme-modern) .sky-vertical-tab-active{background:none;color:#212327;padding-left:7px;border-left:3px solid #1870B8}.sky-theme-modern .sky-vertical-tab{color:#686c73;cursor:pointer;padding:10px 0 10px 10px;margin:10px 0 20px 10px}.sky-theme-modern .sky-vertical-tab:not(.sky-vertical-tab-active):not(:active):hover{color:#212327;background-color:transparent;padding-left:9px;border-left:1px solid #00b4f1}.sky-theme-modern .sky-vertical-tab:not(:active):focus-visible{outline:solid 2px #1870B8;outline-offset:-2px;box-shadow:0 1px 8px #0000004d}.sky-theme-modern .sky-vertical-tab:focus:active:hover{outline:none;background:none}.sky-theme-modern .sky-vertical-tab:active{border-left:3px solid #00b4f1;color:#212327;padding-left:7px}.sky-theme-modern .sky-vertical-tab .sky-vertical-tab-heading-error{padding-left:10px;position:relative;top:-2px}.sky-theme-modern .sky-vertical-tab-active{background:none;color:#212327;padding-left:7px;border-left:3px solid #1870B8}\n"], components: [{ type: i4__namespace.λ10, selector: "sky-status-indicator", inputs: ["indicatorType", "descriptionType", "customDescription"] }, { type: i4__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
596
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabComponent, decorators: [{
|
|
597
|
+
type: i0.Component,
|
|
598
|
+
args: [{
|
|
599
|
+
selector: 'sky-vertical-tab',
|
|
600
|
+
templateUrl: './vertical-tab.component.html',
|
|
601
|
+
styleUrls: ['./vertical-tab.component.scss'],
|
|
602
|
+
providers: [
|
|
603
|
+
SkyVerticalTabMediaQueryService,
|
|
604
|
+
{ provide: i1.SkyMediaQueryService, useExisting: SkyVerticalTabMediaQueryService }
|
|
605
|
+
],
|
|
606
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
607
|
+
}]
|
|
608
|
+
}], ctorParameters: function () { return [{ type: SkyVerticalTabsetAdapterService }, { type: i0__namespace.ChangeDetectorRef }, { type: SkyVerticalTabsetService }, { type: SkyVerticalTabMediaQueryService }]; }, propDecorators: { active: [{
|
|
609
|
+
type: i0.Input
|
|
610
|
+
}], ariaControls: [{
|
|
611
|
+
type: i0.Input
|
|
612
|
+
}], ariaInvalid: [{
|
|
613
|
+
type: i0.Input
|
|
614
|
+
}], ariaRequired: [{
|
|
615
|
+
type: i0.Input
|
|
616
|
+
}], ariaRole: [{
|
|
617
|
+
type: i0.Input
|
|
618
|
+
}], disabled: [{
|
|
619
|
+
type: i0.Input
|
|
620
|
+
}], errorIndicator: [{
|
|
621
|
+
type: i0.Input
|
|
622
|
+
}], tabHeaderCount: [{
|
|
623
|
+
type: i0.Input
|
|
624
|
+
}], tabHeading: [{
|
|
625
|
+
type: i0.Input
|
|
626
|
+
}], showTabRightArrow: [{
|
|
627
|
+
type: i0.Input
|
|
628
|
+
}], tabId: [{
|
|
629
|
+
type: i0.Input
|
|
630
|
+
}], tabContent: [{
|
|
631
|
+
type: i0.ViewChild,
|
|
632
|
+
args: ['tabContentWrapper']
|
|
633
|
+
}], onWindowResize: [{
|
|
634
|
+
type: i0.HostListener,
|
|
635
|
+
args: ['window:resize']
|
|
636
|
+
}] } });
|
|
823
637
|
|
|
824
638
|
var SkySectionedFormService = /** @class */ (function () {
|
|
825
639
|
function SkySectionedFormService() {
|
|
@@ -846,13 +660,15 @@
|
|
|
846
660
|
SkySectionedFormService.prototype.requiredFieldChanged = function (isRequired) {
|
|
847
661
|
this.requiredChange.next(isRequired);
|
|
848
662
|
};
|
|
849
|
-
SkySectionedFormService = __decorate([
|
|
850
|
-
core.Injectable()
|
|
851
|
-
], SkySectionedFormService);
|
|
852
663
|
return SkySectionedFormService;
|
|
853
664
|
}());
|
|
665
|
+
SkySectionedFormService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
666
|
+
SkySectionedFormService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormService });
|
|
667
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormService, decorators: [{
|
|
668
|
+
type: i0.Injectable
|
|
669
|
+
}] });
|
|
854
670
|
|
|
855
|
-
var nextId = 0;
|
|
671
|
+
var nextId$1 = 0;
|
|
856
672
|
/**
|
|
857
673
|
* Creates an individual form to display as a section within the sectioned form.
|
|
858
674
|
*/
|
|
@@ -861,8 +677,8 @@
|
|
|
861
677
|
this.sectionedFormService = sectionedFormService;
|
|
862
678
|
this.tabsetService = tabsetService;
|
|
863
679
|
this.changeRef = changeRef;
|
|
864
|
-
this.sectionTabId = "sky-sectioned-form-tab-" + ++nextId;
|
|
865
|
-
this.sectionContentId = "sky-sectioned-form-section-" + ++nextId;
|
|
680
|
+
this.sectionTabId = "sky-sectioned-form-tab-" + ++nextId$1;
|
|
681
|
+
this.sectionContentId = "sky-sectioned-form-section-" + ++nextId$1;
|
|
866
682
|
this.isMobile = false;
|
|
867
683
|
this._ngUnsubscribe = new rxjs.Subject();
|
|
868
684
|
}
|
|
@@ -870,14 +686,14 @@
|
|
|
870
686
|
get: function () {
|
|
871
687
|
return this.isMobile ? undefined : 'tabpanel';
|
|
872
688
|
},
|
|
873
|
-
enumerable:
|
|
689
|
+
enumerable: false,
|
|
874
690
|
configurable: true
|
|
875
691
|
});
|
|
876
692
|
Object.defineProperty(SkySectionedFormSectionComponent.prototype, "ariaLabelledby", {
|
|
877
693
|
get: function () {
|
|
878
694
|
return this.isMobile ? undefined : this.sectionTabId;
|
|
879
695
|
},
|
|
880
|
-
enumerable:
|
|
696
|
+
enumerable: false,
|
|
881
697
|
configurable: true
|
|
882
698
|
});
|
|
883
699
|
SkySectionedFormSectionComponent.prototype.ngOnInit = function () {
|
|
@@ -900,61 +716,72 @@
|
|
|
900
716
|
this._ngUnsubscribe.next();
|
|
901
717
|
this._ngUnsubscribe.complete();
|
|
902
718
|
};
|
|
903
|
-
SkySectionedFormSectionComponent.ctorParameters = function () { return [
|
|
904
|
-
{ type: SkySectionedFormService },
|
|
905
|
-
{ type: SkyVerticalTabsetService },
|
|
906
|
-
{ type: core.ChangeDetectorRef }
|
|
907
|
-
]; };
|
|
908
|
-
__decorate([
|
|
909
|
-
core.Input()
|
|
910
|
-
], SkySectionedFormSectionComponent.prototype, "heading", void 0);
|
|
911
|
-
__decorate([
|
|
912
|
-
core.Input()
|
|
913
|
-
], SkySectionedFormSectionComponent.prototype, "itemCount", void 0);
|
|
914
|
-
__decorate([
|
|
915
|
-
core.Input()
|
|
916
|
-
], SkySectionedFormSectionComponent.prototype, "active", void 0);
|
|
917
|
-
__decorate([
|
|
918
|
-
core.ViewChild(SkyVerticalTabComponent)
|
|
919
|
-
], SkySectionedFormSectionComponent.prototype, "tab", void 0);
|
|
920
|
-
SkySectionedFormSectionComponent = __decorate([
|
|
921
|
-
core.Component({
|
|
922
|
-
selector: 'sky-sectioned-form-section',
|
|
923
|
-
template: "<sky-vertical-tab\n [active]=\"active\"\n [ariaControls]=\"sectionContentId\"\n [ariaInvalid]=\"fieldInvalid\"\n [ariaRequired]=\"fieldRequired\"\n [errorIndicator]=\"fieldInvalid\"\n [ngClass]=\"{\n 'sky-tab-field-required': fieldRequired\n }\"\n [showTabRightArrow]=\"true\"\n [tabHeaderCount]=\"itemCount\"\n [tabHeading]=\"heading\"\n [tabId]=\"sectionTabId\">\n <div\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.role]=\"ariaRole\"\n [id]=\"sectionContentId\"\n #tabContent>\n <ng-content></ng-content>\n </div>\n</sky-vertical-tab>\n",
|
|
924
|
-
providers: [SkySectionedFormService],
|
|
925
|
-
styles: [":host .sky-tab-field-required ::ng-deep .sky-vertical-tab-heading:after{content:\"*\";color:#ef4044;padding-left:5px}"]
|
|
926
|
-
})
|
|
927
|
-
], SkySectionedFormSectionComponent);
|
|
928
719
|
return SkySectionedFormSectionComponent;
|
|
929
720
|
}());
|
|
721
|
+
SkySectionedFormSectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormSectionComponent, deps: [{ token: SkySectionedFormService }, { token: SkyVerticalTabsetService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
722
|
+
SkySectionedFormSectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkySectionedFormSectionComponent, selector: "sky-sectioned-form-section", inputs: { heading: "heading", itemCount: "itemCount", active: "active" }, providers: [SkySectionedFormService], viewQueries: [{ propertyName: "tab", first: true, predicate: SkyVerticalTabComponent, descendants: true }], ngImport: i0__namespace, template: "<sky-vertical-tab\n [active]=\"active\"\n [ariaControls]=\"sectionContentId\"\n [ariaInvalid]=\"fieldInvalid\"\n [ariaRequired]=\"fieldRequired\"\n [errorIndicator]=\"fieldInvalid\"\n [ngClass]=\"{\n 'sky-tab-field-required': fieldRequired\n }\"\n [showTabRightArrow]=\"true\"\n [tabHeaderCount]=\"itemCount\"\n [tabHeading]=\"heading\"\n [tabId]=\"sectionTabId\">\n <div\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.role]=\"ariaRole\"\n [id]=\"sectionContentId\"\n #tabContent>\n <ng-content></ng-content>\n </div>\n</sky-vertical-tab>\n", styles: [":host .sky-tab-field-required ::ng-deep .sky-vertical-tab-heading:after{content:\"*\";color:#ef4044;padding-left:5px}\n"], components: [{ type: SkyVerticalTabComponent, selector: "sky-vertical-tab", inputs: ["active", "ariaControls", "ariaInvalid", "ariaRequired", "ariaRole", "disabled", "errorIndicator", "tabHeaderCount", "tabHeading", "showTabRightArrow", "tabId"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
723
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormSectionComponent, decorators: [{
|
|
724
|
+
type: i0.Component,
|
|
725
|
+
args: [{
|
|
726
|
+
selector: 'sky-sectioned-form-section',
|
|
727
|
+
templateUrl: './sectioned-form-section.component.html',
|
|
728
|
+
providers: [SkySectionedFormService],
|
|
729
|
+
styleUrls: ['./sectioned-form-section.component.scss']
|
|
730
|
+
}]
|
|
731
|
+
}], ctorParameters: function () { return [{ type: SkySectionedFormService }, { type: SkyVerticalTabsetService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { heading: [{
|
|
732
|
+
type: i0.Input
|
|
733
|
+
}], itemCount: [{
|
|
734
|
+
type: i0.Input
|
|
735
|
+
}], active: [{
|
|
736
|
+
type: i0.Input
|
|
737
|
+
}], tab: [{
|
|
738
|
+
type: i0.ViewChild,
|
|
739
|
+
args: [SkyVerticalTabComponent]
|
|
740
|
+
}] } });
|
|
930
741
|
|
|
742
|
+
/**
|
|
743
|
+
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
744
|
+
* The contents of this file were automatically generated by
|
|
745
|
+
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-tabs' schematic.
|
|
746
|
+
* To update this file, simply rerun the command.
|
|
747
|
+
*/
|
|
748
|
+
var RESOURCES = {
|
|
749
|
+
'EN-US': { "skyux_tab_add": { "message": "Add tab" }, "skyux_tab_close": { "message": "Close {0} tab" }, "skyux_tabs_navigator_next": { "message": "Next" }, "skyux_tabs_navigator_previous": { "message": "Previous" }, "skyux_tab_open": { "message": "Open tab" }, "skyux_vertical_tabs_show_tabs_text": { "message": "Tab list" } },
|
|
750
|
+
};
|
|
931
751
|
var SkyTabsResourcesProvider = /** @class */ (function () {
|
|
932
752
|
function SkyTabsResourcesProvider() {
|
|
933
|
-
this.resources = { "EN-US": { "skyux_tab_add": "Add tab", "skyux_tab_close": "Close {0} tab", "skyux_tabs_navigator_next": "Next", "skyux_tabs_navigator_previous": "Previous", "skyux_tab_open": "Open tab", "skyux_vertical_tabs_show_tabs_text": "Tab list" } };
|
|
934
753
|
}
|
|
935
754
|
SkyTabsResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
936
|
-
return
|
|
755
|
+
return i3.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
937
756
|
};
|
|
938
|
-
SkyTabsResourcesProvider = __decorate([
|
|
939
|
-
core.Injectable()
|
|
940
|
-
], SkyTabsResourcesProvider);
|
|
941
757
|
return SkyTabsResourcesProvider;
|
|
942
758
|
}());
|
|
943
|
-
|
|
759
|
+
/**
|
|
760
|
+
* Import into any component library module that needs to use resource strings.
|
|
761
|
+
*/
|
|
944
762
|
var SkyTabsResourcesModule = /** @class */ (function () {
|
|
945
763
|
function SkyTabsResourcesModule() {
|
|
946
764
|
}
|
|
947
|
-
SkyTabsResourcesModule = __decorate([
|
|
948
|
-
core.NgModule({
|
|
949
|
-
providers: [{
|
|
950
|
-
provide: i18n.SKY_LIB_RESOURCES_PROVIDERS,
|
|
951
|
-
useClass: SkyTabsResourcesProvider,
|
|
952
|
-
multi: true
|
|
953
|
-
}]
|
|
954
|
-
})
|
|
955
|
-
], SkyTabsResourcesModule);
|
|
956
765
|
return SkyTabsResourcesModule;
|
|
957
766
|
}());
|
|
767
|
+
SkyTabsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
768
|
+
SkyTabsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsResourcesModule, exports: [i3.SkyI18nModule] });
|
|
769
|
+
SkyTabsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsResourcesModule, providers: [{
|
|
770
|
+
provide: i3.SKY_LIB_RESOURCES_PROVIDERS,
|
|
771
|
+
useClass: SkyTabsResourcesProvider,
|
|
772
|
+
multi: true
|
|
773
|
+
}], imports: [i3.SkyI18nModule] });
|
|
774
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsResourcesModule, decorators: [{
|
|
775
|
+
type: i0.NgModule,
|
|
776
|
+
args: [{
|
|
777
|
+
exports: [i3.SkyI18nModule],
|
|
778
|
+
providers: [{
|
|
779
|
+
provide: i3.SKY_LIB_RESOURCES_PROVIDERS,
|
|
780
|
+
useClass: SkyTabsResourcesProvider,
|
|
781
|
+
multi: true
|
|
782
|
+
}]
|
|
783
|
+
}]
|
|
784
|
+
}] });
|
|
958
785
|
|
|
959
786
|
var SkyVerticalTabsetComponent = /** @class */ (function () {
|
|
960
787
|
function SkyVerticalTabsetComponent(adapterService, tabService, resources, changeRef) {
|
|
@@ -972,7 +799,7 @@
|
|
|
972
799
|
* Fires when the active tab changes. Emits the index of the active tab. The
|
|
973
800
|
* index is based on the tab's position when it loads.
|
|
974
801
|
*/
|
|
975
|
-
this.activeChange = new
|
|
802
|
+
this.activeChange = new i0.EventEmitter();
|
|
976
803
|
this.isMobile = false;
|
|
977
804
|
this._ngUnsubscribe = new rxjs.Subject();
|
|
978
805
|
}
|
|
@@ -994,7 +821,7 @@
|
|
|
994
821
|
set: function (value) {
|
|
995
822
|
this._ariaRole = value;
|
|
996
823
|
},
|
|
997
|
-
enumerable:
|
|
824
|
+
enumerable: false,
|
|
998
825
|
configurable: true
|
|
999
826
|
});
|
|
1000
827
|
SkyVerticalTabsetComponent.prototype.ngOnInit = function () {
|
|
@@ -1025,6 +852,7 @@
|
|
|
1025
852
|
.pipe(operators.take(1))
|
|
1026
853
|
.subscribe(function (resource) {
|
|
1027
854
|
/* sanity check */
|
|
855
|
+
/* istanbul ignore else */
|
|
1028
856
|
if (!_this.showTabsText) {
|
|
1029
857
|
_this.showTabsText = resource;
|
|
1030
858
|
}
|
|
@@ -1039,58 +867,68 @@
|
|
|
1039
867
|
this._ngUnsubscribe.next();
|
|
1040
868
|
this._ngUnsubscribe.complete();
|
|
1041
869
|
};
|
|
1042
|
-
SkyVerticalTabsetComponent.ctorParameters = function () { return [
|
|
1043
|
-
{ type: SkyVerticalTabsetAdapterService },
|
|
1044
|
-
{ type: SkyVerticalTabsetService },
|
|
1045
|
-
{ type: i18n.SkyLibResourcesService },
|
|
1046
|
-
{ type: core.ChangeDetectorRef }
|
|
1047
|
-
]; };
|
|
1048
|
-
__decorate([
|
|
1049
|
-
core.Input()
|
|
1050
|
-
], SkyVerticalTabsetComponent.prototype, "showTabsText", void 0);
|
|
1051
|
-
__decorate([
|
|
1052
|
-
core.Input()
|
|
1053
|
-
], SkyVerticalTabsetComponent.prototype, "ariaRole", null);
|
|
1054
|
-
__decorate([
|
|
1055
|
-
core.Input()
|
|
1056
|
-
], SkyVerticalTabsetComponent.prototype, "maintainTabContent", void 0);
|
|
1057
|
-
__decorate([
|
|
1058
|
-
core.Output()
|
|
1059
|
-
], SkyVerticalTabsetComponent.prototype, "activeChange", void 0);
|
|
1060
|
-
__decorate([
|
|
1061
|
-
core.ViewChild('groupContainerWrapper')
|
|
1062
|
-
], SkyVerticalTabsetComponent.prototype, "tabGroups", void 0);
|
|
1063
|
-
__decorate([
|
|
1064
|
-
core.ViewChild('skySideContent')
|
|
1065
|
-
], SkyVerticalTabsetComponent.prototype, "content", void 0);
|
|
1066
|
-
__decorate([
|
|
1067
|
-
core.ViewChild('contentContainerWrapper')
|
|
1068
|
-
], SkyVerticalTabsetComponent.prototype, "contentWrapper", void 0);
|
|
1069
|
-
SkyVerticalTabsetComponent = __decorate([
|
|
1070
|
-
core.Component({
|
|
1071
|
-
selector: 'sky-vertical-tabset',
|
|
1072
|
-
template: " <div class=\"sky-vertical-tabset\" (window:resize)=\"tabService.updateContent()\">\n <div\n *ngIf=\"maintainTabContent || tabService.tabsVisible()\"\n #groupContainerWrapper\n class=\"sky-vertical-tabset-group-container\"\n [ngClass]=\"{'sky-vertical-tabset-hidden': !tabService.tabsVisible()}\"\n [attr.role]=\"ariaRole\"\n [@tabGroupEnter]=\"tabService.animationTabsVisibleState\"\n >\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"maintainTabContent || tabService.contentVisible()\"\n class=\"sky-vertical-tabset-content\"\n [ngClass]=\"{'sky-vertical-tabset-content-hidden': !tabService.contentVisible()}\"\n [@contentEnter]=\"tabService.animationContentVisibleState\"\n #contentContainerWrapper\n >\n <div #skySideContent></div>\n <button\n *ngIf=\"!tabService.tabsVisible()\"\n (click)=\"tabService.showTabs()\"\n class=\"sky-btn sky-btn-primary sky-vertical-tabset-show-tabs-btn\"\n >\n <sky-icon icon=\"chevron-left\"></sky-icon>\n {{ showTabsText }}\n </button>\n </div>\n</div>\n",
|
|
1073
|
-
providers: [SkyVerticalTabsetService],
|
|
1074
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1075
|
-
animations: [
|
|
1076
|
-
animations.trigger('tabGroupEnter', [
|
|
1077
|
-
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
1078
|
-
animations.style({ transform: 'translate(-100%)' }),
|
|
1079
|
-
animations.animate('150ms ease-in')
|
|
1080
|
-
])
|
|
1081
|
-
]),
|
|
1082
|
-
animations.trigger('contentEnter', [
|
|
1083
|
-
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
1084
|
-
animations.style({ transform: 'translate(100%)' }),
|
|
1085
|
-
animations.animate('150ms ease-in')
|
|
1086
|
-
])
|
|
1087
|
-
])
|
|
1088
|
-
],
|
|
1089
|
-
styles: [":host .sky-vertical-tabset{display:block;height:auto}:host .sky-vertical-tabset-group-container{border-right:none}:host-context(.sky-responsive-container-lg) .sky-vertical-tabset,:host-context(.sky-responsive-container-md) .sky-vertical-tabset,:host-context(.sky-responsive-container-sm) .sky-vertical-tabset,:host-context(.sky-responsive-container-xs) .sky-vertical-tabset{display:block;height:auto}:host-context(.sky-responsive-container-lg) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-md) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-sm) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-xs) .sky-vertical-tabset-group-container{border-right:none}@media (min-width:768px){:host .sky-vertical-tabset{display:flex;height:100%}:host .sky-vertical-tabset-group-container{border-right:1px solid #cdcfd2}}:host-context(.sky-responsive-container-lg) .sky-vertical-tabset,:host-context(.sky-responsive-container-md) .sky-vertical-tabset,:host-context(.sky-responsive-container-sm) .sky-vertical-tabset{display:flex;height:100%}:host-context(.sky-responsive-container-lg) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-md) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-sm) .sky-vertical-tabset-group-container{border-right:1px solid #cdcfd2}.sky-vertical-tabset-hidden{display:none}.sky-vertical-tabset-content{margin:10px 0 0 10px;flex-basis:75%;overflow-y:auto}.sky-vertical-tabset-content-hidden{display:none}.sky-vertical-tabset-show-tabs-btn{margin-top:10px}.sky-vertical-tabset-group-container{flex-basis:25%;overflow-y:auto}:host-context(sky-modal-content>) .sky-vertical-tabset{margin:-15px}"]
|
|
1090
|
-
})
|
|
1091
|
-
], SkyVerticalTabsetComponent);
|
|
1092
870
|
return SkyVerticalTabsetComponent;
|
|
1093
871
|
}());
|
|
872
|
+
SkyVerticalTabsetComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetComponent, deps: [{ token: SkyVerticalTabsetAdapterService }, { token: SkyVerticalTabsetService }, { token: i3__namespace.SkyLibResourcesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
873
|
+
SkyVerticalTabsetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyVerticalTabsetComponent, selector: "sky-vertical-tabset", inputs: { showTabsText: "showTabsText", ariaRole: "ariaRole", maintainTabContent: "maintainTabContent" }, outputs: { activeChange: "activeChange" }, providers: [
|
|
874
|
+
SkyVerticalTabsetService
|
|
875
|
+
], viewQueries: [{ propertyName: "tabGroups", first: true, predicate: ["groupContainerWrapper"], descendants: true }, { propertyName: "content", first: true, predicate: ["skySideContent"], descendants: true }, { propertyName: "contentWrapper", first: true, predicate: ["contentContainerWrapper"], descendants: true }], ngImport: i0__namespace, template: " <div class=\"sky-vertical-tabset\" (window:resize)=\"tabService.updateContent()\">\n <div\n *ngIf=\"maintainTabContent || tabService.tabsVisible()\"\n #groupContainerWrapper\n class=\"sky-vertical-tabset-group-container\"\n [ngClass]=\"{'sky-vertical-tabset-hidden': !tabService.tabsVisible()}\"\n [attr.role]=\"ariaRole\"\n [@tabGroupEnter]=\"tabService.animationTabsVisibleState\"\n >\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"maintainTabContent || tabService.contentVisible()\"\n class=\"sky-vertical-tabset-content\"\n [ngClass]=\"{'sky-vertical-tabset-content-hidden': !tabService.contentVisible()}\"\n [@contentEnter]=\"tabService.animationContentVisibleState\"\n #contentContainerWrapper\n >\n <div #skySideContent></div>\n <button\n *ngIf=\"!tabService.tabsVisible()\"\n (click)=\"tabService.showTabs()\"\n class=\"sky-btn sky-btn-primary sky-vertical-tabset-show-tabs-btn\"\n >\n <sky-icon icon=\"chevron-left\"></sky-icon>\n {{ showTabsText }}\n </button>\n </div>\n</div>\n", styles: [":host .sky-vertical-tabset{display:block;height:auto}:host .sky-vertical-tabset-group-container{border-right:none}:host-context(.sky-responsive-container-xs) .sky-vertical-tabset,:host-context(.sky-responsive-container-sm) .sky-vertical-tabset,:host-context(.sky-responsive-container-md) .sky-vertical-tabset,:host-context(.sky-responsive-container-lg) .sky-vertical-tabset{display:block;height:auto}:host-context(.sky-responsive-container-xs) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-sm) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-md) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-lg) .sky-vertical-tabset-group-container{border-right:none}@media (min-width: 768px){:host .sky-vertical-tabset{display:flex;height:100%}:host .sky-vertical-tabset-group-container{border-right:1px solid #cdcfd2}}:host-context(.sky-responsive-container-sm) .sky-vertical-tabset,:host-context(.sky-responsive-container-md) .sky-vertical-tabset,:host-context(.sky-responsive-container-lg) .sky-vertical-tabset{display:flex;height:100%}:host-context(.sky-responsive-container-sm) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-md) .sky-vertical-tabset-group-container,:host-context(.sky-responsive-container-lg) .sky-vertical-tabset-group-container{border-right:1px solid #cdcfd2}.sky-vertical-tabset-hidden{display:none}.sky-vertical-tabset-content{margin:10px 0 0 10px;flex-basis:75%;overflow-y:auto}.sky-vertical-tabset-content-hidden{display:none}.sky-vertical-tabset-show-tabs-btn{margin-top:10px}.sky-vertical-tabset-group-container{flex-basis:25%;overflow-y:auto}:host-context(sky-modal-content >) .sky-vertical-tabset{margin:-15px}:host-context(.sky-theme-modern) .sky-vertical-tabset-content{margin:15px}@media (min-width: 768px){:host-context(.sky-theme-modern) :host .sky-vertical-tabset-content{margin:20px 30px}:host-context(.sky-theme-modern) :host .sky-vertical-tabset-group-container{border-right:1px solid #d2d2d2}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-vertical-tabset-content,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-vertical-tabset-content,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-vertical-tabset-content{margin:20px 30px}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-vertical-tabset-group-container,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-vertical-tabset-group-container,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-vertical-tabset-group-container{border-right:1px solid #d2d2d2}.sky-theme-modern .sky-vertical-tabset-content{margin:15px}@media (min-width: 768px){.sky-theme-modern :host .sky-vertical-tabset-content{margin:20px 30px}.sky-theme-modern :host .sky-vertical-tabset-group-container{border-right:1px solid #d2d2d2}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-vertical-tabset-content,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-vertical-tabset-content,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-vertical-tabset-content{margin:20px 30px}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-vertical-tabset-group-container,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-vertical-tabset-group-container,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-vertical-tabset-group-container{border-right:1px solid #d2d2d2}\n"], components: [{ type: i4__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
|
|
876
|
+
animations.trigger('tabGroupEnter', [
|
|
877
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
878
|
+
animations.style({ transform: 'translate(-100%)' }),
|
|
879
|
+
animations.animate('150ms ease-in')
|
|
880
|
+
])
|
|
881
|
+
]),
|
|
882
|
+
animations.trigger('contentEnter', [
|
|
883
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
884
|
+
animations.style({ transform: 'translate(100%)' }),
|
|
885
|
+
animations.animate('150ms ease-in')
|
|
886
|
+
])
|
|
887
|
+
])
|
|
888
|
+
], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
889
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetComponent, decorators: [{
|
|
890
|
+
type: i0.Component,
|
|
891
|
+
args: [{
|
|
892
|
+
selector: 'sky-vertical-tabset',
|
|
893
|
+
templateUrl: './vertical-tabset.component.html',
|
|
894
|
+
styleUrls: ['./vertical-tabset.component.scss'],
|
|
895
|
+
providers: [
|
|
896
|
+
SkyVerticalTabsetService
|
|
897
|
+
],
|
|
898
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
899
|
+
animations: [
|
|
900
|
+
animations.trigger('tabGroupEnter', [
|
|
901
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
902
|
+
animations.style({ transform: 'translate(-100%)' }),
|
|
903
|
+
animations.animate('150ms ease-in')
|
|
904
|
+
])
|
|
905
|
+
]),
|
|
906
|
+
animations.trigger('contentEnter', [
|
|
907
|
+
animations.transition(HIDDEN_STATE + " => " + VISIBLE_STATE, [
|
|
908
|
+
animations.style({ transform: 'translate(100%)' }),
|
|
909
|
+
animations.animate('150ms ease-in')
|
|
910
|
+
])
|
|
911
|
+
])
|
|
912
|
+
]
|
|
913
|
+
}]
|
|
914
|
+
}], ctorParameters: function () { return [{ type: SkyVerticalTabsetAdapterService }, { type: SkyVerticalTabsetService }, { type: i3__namespace.SkyLibResourcesService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { showTabsText: [{
|
|
915
|
+
type: i0.Input
|
|
916
|
+
}], ariaRole: [{
|
|
917
|
+
type: i0.Input
|
|
918
|
+
}], maintainTabContent: [{
|
|
919
|
+
type: i0.Input
|
|
920
|
+
}], activeChange: [{
|
|
921
|
+
type: i0.Output
|
|
922
|
+
}], tabGroups: [{
|
|
923
|
+
type: i0.ViewChild,
|
|
924
|
+
args: ['groupContainerWrapper']
|
|
925
|
+
}], content: [{
|
|
926
|
+
type: i0.ViewChild,
|
|
927
|
+
args: ['skySideContent']
|
|
928
|
+
}], contentWrapper: [{
|
|
929
|
+
type: i0.ViewChild,
|
|
930
|
+
args: ['contentContainerWrapper']
|
|
931
|
+
}] } });
|
|
1094
932
|
|
|
1095
933
|
var SkyVerticalTabsetGroupComponent = /** @class */ (function () {
|
|
1096
934
|
function SkyVerticalTabsetGroupComponent(tabService, changeRef) {
|
|
@@ -1125,7 +963,7 @@
|
|
|
1125
963
|
set: function (value) {
|
|
1126
964
|
this._open = value;
|
|
1127
965
|
},
|
|
1128
|
-
enumerable:
|
|
966
|
+
enumerable: false,
|
|
1129
967
|
configurable: true
|
|
1130
968
|
});
|
|
1131
969
|
SkyVerticalTabsetGroupComponent.prototype.ngOnInit = function () {
|
|
@@ -1152,120 +990,171 @@
|
|
|
1152
990
|
SkyVerticalTabsetGroupComponent.prototype.subMenuOpen = function () {
|
|
1153
991
|
return this.tabs && (this.tabs.find(function (t) { return t.active; }) !== undefined);
|
|
1154
992
|
};
|
|
1155
|
-
SkyVerticalTabsetGroupComponent.ctorParameters = function () { return [
|
|
1156
|
-
{ type: SkyVerticalTabsetService },
|
|
1157
|
-
{ type: core.ChangeDetectorRef }
|
|
1158
|
-
]; };
|
|
1159
|
-
__decorate([
|
|
1160
|
-
core.Input()
|
|
1161
|
-
], SkyVerticalTabsetGroupComponent.prototype, "disabled", void 0);
|
|
1162
|
-
__decorate([
|
|
1163
|
-
core.Input()
|
|
1164
|
-
], SkyVerticalTabsetGroupComponent.prototype, "groupHeading", void 0);
|
|
1165
|
-
__decorate([
|
|
1166
|
-
core.Input()
|
|
1167
|
-
], SkyVerticalTabsetGroupComponent.prototype, "open", null);
|
|
1168
|
-
__decorate([
|
|
1169
|
-
core.ContentChildren(SkyVerticalTabComponent)
|
|
1170
|
-
], SkyVerticalTabsetGroupComponent.prototype, "tabs", void 0);
|
|
1171
|
-
SkyVerticalTabsetGroupComponent = __decorate([
|
|
1172
|
-
core.Component({
|
|
1173
|
-
selector: 'sky-vertical-tabset-group',
|
|
1174
|
-
template: "<div class=\"sky-vertical-tabset-group\">\n <div\n class=\"sky-vertical-tabset-group-header sky-padding-even-default\"\n [ngClass]=\"{\n 'sky-vertical-tabset-group-header-sub-open sky-emphasized': subMenuOpen(),\n 'sky-deemphasized': disabled,\n 'sky-vertical-tabset-disabled': disabled\n }\"\n (click)=\"toggleMenuOpen()\"\n (keyup.enter)=\"toggleMenuOpen()\"\n [tabIndex]=\"-1\"\n >\n {{ groupHeading }}\n <sky-chevron *skyThemeIf=\"'default'\"\n class=\"sky-vertical-tabset-group-header-chevron\"\n [direction]=\"open ? 'up' : 'down'\"\n [disabled]=\"disabled\"\n (directionChange)=\"toggleMenuOpen()\"\n (keyup.enter)=\"$event.stopPropagation()\"\n >\n </sky-chevron>\n <ng-container *skyThemeIf=\"'modern'\">\n <button *ngIf=\"!open\"\n class=\"sky-btn sky-btn-icon-borderless sky-vertical-tabset-group-header-chevron\"\n type=\"button\"\n >\n <sky-icon\n icon=\"chevron-right\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n <button *ngIf=\"open\"\n class=\"sky-btn sky-btn-icon-borderless sky-vertical-tabset-group-header-chevron\"\n type=\"button\"\n >\n <sky-icon\n icon=\"chevron-down\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n </ng-container>\n </div>\n <div\n class=\"sky-vertical-tabset-group-content\"\n *ngIf=\"open\"\n [@tabSlide]\n >\n <ng-content></ng-content>\n </div>\n</div>\n",
|
|
1175
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1176
|
-
animations: [
|
|
1177
|
-
animations.trigger('tabSlide', [
|
|
1178
|
-
animations.transition(':enter', [
|
|
1179
|
-
animations.style({
|
|
1180
|
-
height: '0',
|
|
1181
|
-
visibility: 'hidden'
|
|
1182
|
-
}),
|
|
1183
|
-
animations.animate('150ms ease-in', animations.style({
|
|
1184
|
-
height: '*',
|
|
1185
|
-
visibility: 'visible'
|
|
1186
|
-
}))
|
|
1187
|
-
]),
|
|
1188
|
-
animations.transition(':leave', [
|
|
1189
|
-
animations.style({
|
|
1190
|
-
height: '*',
|
|
1191
|
-
visibility: 'visible'
|
|
1192
|
-
}),
|
|
1193
|
-
animations.animate('150ms ease-in', animations.style({
|
|
1194
|
-
height: '0',
|
|
1195
|
-
visibility: 'hidden'
|
|
1196
|
-
}))
|
|
1197
|
-
])
|
|
1198
|
-
])
|
|
1199
|
-
],
|
|
1200
|
-
styles: [".sky-vertical-tabset-group{border-bottom:1px solid #e2e3e4;margin:5px 0 5px 5px}.sky-vertical-tabset-group-header{cursor:pointer;display:flex;justify-content:space-between}.sky-vertical-tabset-group-header:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px}.sky-vertical-tabset-group-content{overflow:hidden;border-top:1px solid #e2e3e4}:host ::ng-deep .sky-vertical-tabset-group-header-chevron>button{font-size:14px!important}.sky-vertical-tabset-disabled{cursor:not-allowed;pointer-events:none;font-style:normal}.sky-theme-modern .sky-vertical-tabset-group,:host-context(.sky-theme-modern) .sky-vertical-tabset-group{border:none}.sky-theme-modern .sky-vertical-tabset-group-content,:host-context(.sky-theme-modern) .sky-vertical-tabset-group-content{border:none;padding-left:25px}.sky-theme-modern .sky-vertical-tabset-group-header,:host-context(.sky-theme-modern) .sky-vertical-tabset-group-header{position:relative}.sky-theme-modern .sky-vertical-tabset-group-header-chevron,:host-context(.sky-theme-modern) .sky-vertical-tabset-group-header-chevron{position:absolute;top:6px;right:5px}"]
|
|
1201
|
-
})
|
|
1202
|
-
], SkyVerticalTabsetGroupComponent);
|
|
1203
993
|
return SkyVerticalTabsetGroupComponent;
|
|
1204
994
|
}());
|
|
995
|
+
SkyVerticalTabsetGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetGroupComponent, deps: [{ token: SkyVerticalTabsetService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
996
|
+
SkyVerticalTabsetGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyVerticalTabsetGroupComponent, selector: "sky-vertical-tabset-group", inputs: { disabled: "disabled", groupHeading: "groupHeading", open: "open" }, queries: [{ propertyName: "tabs", predicate: SkyVerticalTabComponent }], ngImport: i0__namespace, template: "<div class=\"sky-vertical-tabset-group\">\n <!-- [ngClass] includes font classes for both modern and default styles -->\n <div\n class=\"sky-vertical-tabset-group-header sky-padding-even-default\"\n [ngClass]=\"{\n 'sky-vertical-tabset-group-header-sub-open sky-font-emphasized sky-emphasized': subMenuOpen(),\n 'sky-font-deemphasized': disabled,\n 'sky-deemphasized': disabled,\n 'sky-vertical-tabset-disabled': disabled\n }\"\n (click)=\"toggleMenuOpen()\"\n (keyup.enter)=\"toggleMenuOpen()\"\n [tabIndex]=\"-1\"\n >\n {{ groupHeading }}\n <sky-chevron *skyThemeIf=\"'default'\"\n class=\"sky-vertical-tabset-group-header-chevron\"\n [direction]=\"open ? 'up' : 'down'\"\n [disabled]=\"disabled\"\n (directionChange)=\"toggleMenuOpen()\"\n (keyup.enter)=\"$event.stopPropagation()\"\n >\n </sky-chevron>\n <ng-container *skyThemeIf=\"'modern'\">\n <button *ngIf=\"!open\"\n class=\"sky-btn sky-btn-icon-borderless sky-vertical-tabset-group-header-chevron\"\n type=\"button\"\n >\n <sky-icon\n icon=\"chevron-up\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n <button *ngIf=\"open\"\n class=\"sky-btn sky-btn-icon-borderless sky-vertical-tabset-group-header-chevron\"\n type=\"button\"\n >\n <sky-icon\n icon=\"chevron-down\"\n iconType=\"skyux\"\n >\n </sky-icon>\n </button>\n </ng-container>\n </div>\n <div\n class=\"sky-vertical-tabset-group-content\"\n *ngIf=\"open\"\n [@tabSlide]\n >\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".sky-vertical-tabset-group{border-bottom:1px solid #e2e3e4;margin:5px 0 5px 5px}.sky-vertical-tabset-group-header{cursor:pointer;display:flex;justify-content:space-between}.sky-vertical-tabset-group-header:focus-visible{outline:thin dotted;outline:-webkit-focus-ring-color auto 5px}.sky-vertical-tabset-group-content{overflow:hidden;border-top:1px solid #e2e3e4}:host ::ng-deep .sky-vertical-tabset-group-header-chevron>button{font-size:14px!important}.sky-vertical-tabset-disabled{cursor:not-allowed;pointer-events:none}:host-context(.sky-theme-modern) .sky-vertical-tabset-group{border:none;margin:10px 0}:host-context(.sky-theme-modern) .sky-vertical-tabset-group-content{border:none;padding-left:25px}:host-context(.sky-theme-modern) .sky-vertical-tabset-group-header{position:relative}:host-context(.sky-theme-modern) .sky-vertical-tabset-group-header-chevron{position:absolute;top:6px;right:5px}.sky-theme-modern .sky-vertical-tabset-group{border:none;margin:10px 0}.sky-theme-modern .sky-vertical-tabset-group-content{border:none;padding-left:25px}.sky-theme-modern .sky-vertical-tabset-group-header{position:relative}.sky-theme-modern .sky-vertical-tabset-group-header-chevron{position:absolute;top:6px;right:5px}\n"], components: [{ type: i4__namespace.λ2, selector: "sky-chevron", inputs: ["direction", "disabled"], outputs: ["directionChange"] }, { type: i4__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace$1.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
|
|
997
|
+
animations.trigger('tabSlide', [
|
|
998
|
+
animations.transition(':enter', [
|
|
999
|
+
animations.style({
|
|
1000
|
+
height: '0',
|
|
1001
|
+
visibility: 'hidden'
|
|
1002
|
+
}),
|
|
1003
|
+
animations.animate('150ms ease-in', animations.style({
|
|
1004
|
+
height: '*',
|
|
1005
|
+
visibility: 'visible'
|
|
1006
|
+
}))
|
|
1007
|
+
]),
|
|
1008
|
+
animations.transition(':leave', [
|
|
1009
|
+
animations.style({
|
|
1010
|
+
height: '*',
|
|
1011
|
+
visibility: 'visible'
|
|
1012
|
+
}),
|
|
1013
|
+
animations.animate('150ms ease-in', animations.style({
|
|
1014
|
+
height: '0',
|
|
1015
|
+
visibility: 'hidden'
|
|
1016
|
+
}))
|
|
1017
|
+
])
|
|
1018
|
+
])
|
|
1019
|
+
], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1020
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetGroupComponent, decorators: [{
|
|
1021
|
+
type: i0.Component,
|
|
1022
|
+
args: [{
|
|
1023
|
+
selector: 'sky-vertical-tabset-group',
|
|
1024
|
+
templateUrl: './vertical-tabset-group.component.html',
|
|
1025
|
+
styleUrls: ['./vertical-tabset-group.component.scss'],
|
|
1026
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1027
|
+
animations: [
|
|
1028
|
+
animations.trigger('tabSlide', [
|
|
1029
|
+
animations.transition(':enter', [
|
|
1030
|
+
animations.style({
|
|
1031
|
+
height: '0',
|
|
1032
|
+
visibility: 'hidden'
|
|
1033
|
+
}),
|
|
1034
|
+
animations.animate('150ms ease-in', animations.style({
|
|
1035
|
+
height: '*',
|
|
1036
|
+
visibility: 'visible'
|
|
1037
|
+
}))
|
|
1038
|
+
]),
|
|
1039
|
+
animations.transition(':leave', [
|
|
1040
|
+
animations.style({
|
|
1041
|
+
height: '*',
|
|
1042
|
+
visibility: 'visible'
|
|
1043
|
+
}),
|
|
1044
|
+
animations.animate('150ms ease-in', animations.style({
|
|
1045
|
+
height: '0',
|
|
1046
|
+
visibility: 'hidden'
|
|
1047
|
+
}))
|
|
1048
|
+
])
|
|
1049
|
+
])
|
|
1050
|
+
]
|
|
1051
|
+
}]
|
|
1052
|
+
}], ctorParameters: function () { return [{ type: SkyVerticalTabsetService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
|
|
1053
|
+
type: i0.Input
|
|
1054
|
+
}], groupHeading: [{
|
|
1055
|
+
type: i0.Input
|
|
1056
|
+
}], open: [{
|
|
1057
|
+
type: i0.Input
|
|
1058
|
+
}], tabs: [{
|
|
1059
|
+
type: i0.ContentChildren,
|
|
1060
|
+
args: [SkyVerticalTabComponent]
|
|
1061
|
+
}] } });
|
|
1205
1062
|
|
|
1206
1063
|
var SkyVerticalTabsetModule = /** @class */ (function () {
|
|
1207
1064
|
function SkyVerticalTabsetModule() {
|
|
1208
1065
|
}
|
|
1209
|
-
SkyVerticalTabsetModule = __decorate([
|
|
1210
|
-
core.NgModule({
|
|
1211
|
-
declarations: [
|
|
1212
|
-
SkyVerticalTabsetComponent,
|
|
1213
|
-
SkyVerticalTabsetGroupComponent,
|
|
1214
|
-
SkyVerticalTabComponent
|
|
1215
|
-
],
|
|
1216
|
-
imports: [
|
|
1217
|
-
common.CommonModule,
|
|
1218
|
-
animations$1.BrowserAnimationsModule,
|
|
1219
|
-
indicators.SkyChevronModule,
|
|
1220
|
-
indicators.SkyIconModule,
|
|
1221
|
-
core$1.SkyMediaQueryModule,
|
|
1222
|
-
indicators.SkyStatusIndicatorModule,
|
|
1223
|
-
SkyTabsResourcesModule,
|
|
1224
|
-
theme.SkyThemeModule
|
|
1225
|
-
],
|
|
1226
|
-
providers: [
|
|
1227
|
-
SkyVerticalTabsetAdapterService
|
|
1228
|
-
],
|
|
1229
|
-
exports: [
|
|
1230
|
-
SkyVerticalTabsetComponent,
|
|
1231
|
-
SkyVerticalTabsetGroupComponent,
|
|
1232
|
-
SkyVerticalTabComponent
|
|
1233
|
-
]
|
|
1234
|
-
})
|
|
1235
|
-
], SkyVerticalTabsetModule);
|
|
1236
1066
|
return SkyVerticalTabsetModule;
|
|
1237
1067
|
}());
|
|
1068
|
+
SkyVerticalTabsetModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1069
|
+
SkyVerticalTabsetModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetModule, declarations: [SkyVerticalTabsetComponent,
|
|
1070
|
+
SkyVerticalTabsetGroupComponent,
|
|
1071
|
+
SkyVerticalTabComponent], imports: [i2.CommonModule,
|
|
1072
|
+
i4.SkyChevronModule,
|
|
1073
|
+
i4.SkyIconModule,
|
|
1074
|
+
i4.SkyStatusIndicatorModule,
|
|
1075
|
+
SkyTabsResourcesModule,
|
|
1076
|
+
i4$1.SkyThemeModule], exports: [SkyVerticalTabsetComponent,
|
|
1077
|
+
SkyVerticalTabsetGroupComponent,
|
|
1078
|
+
SkyVerticalTabComponent] });
|
|
1079
|
+
SkyVerticalTabsetModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetModule, providers: [
|
|
1080
|
+
SkyVerticalTabsetAdapterService
|
|
1081
|
+
], imports: [[
|
|
1082
|
+
i2.CommonModule,
|
|
1083
|
+
i4.SkyChevronModule,
|
|
1084
|
+
i4.SkyIconModule,
|
|
1085
|
+
i4.SkyStatusIndicatorModule,
|
|
1086
|
+
SkyTabsResourcesModule,
|
|
1087
|
+
i4$1.SkyThemeModule
|
|
1088
|
+
]] });
|
|
1089
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyVerticalTabsetModule, decorators: [{
|
|
1090
|
+
type: i0.NgModule,
|
|
1091
|
+
args: [{
|
|
1092
|
+
declarations: [
|
|
1093
|
+
SkyVerticalTabsetComponent,
|
|
1094
|
+
SkyVerticalTabsetGroupComponent,
|
|
1095
|
+
SkyVerticalTabComponent
|
|
1096
|
+
],
|
|
1097
|
+
imports: [
|
|
1098
|
+
i2.CommonModule,
|
|
1099
|
+
i4.SkyChevronModule,
|
|
1100
|
+
i4.SkyIconModule,
|
|
1101
|
+
i4.SkyStatusIndicatorModule,
|
|
1102
|
+
SkyTabsResourcesModule,
|
|
1103
|
+
i4$1.SkyThemeModule
|
|
1104
|
+
],
|
|
1105
|
+
providers: [
|
|
1106
|
+
SkyVerticalTabsetAdapterService
|
|
1107
|
+
],
|
|
1108
|
+
exports: [
|
|
1109
|
+
SkyVerticalTabsetComponent,
|
|
1110
|
+
SkyVerticalTabsetGroupComponent,
|
|
1111
|
+
SkyVerticalTabComponent
|
|
1112
|
+
]
|
|
1113
|
+
}]
|
|
1114
|
+
}] });
|
|
1238
1115
|
|
|
1239
1116
|
var SkySectionedFormModule = /** @class */ (function () {
|
|
1240
1117
|
function SkySectionedFormModule() {
|
|
1241
1118
|
}
|
|
1242
|
-
SkySectionedFormModule = __decorate([
|
|
1243
|
-
core.NgModule({
|
|
1244
|
-
declarations: [
|
|
1245
|
-
SkySectionedFormComponent,
|
|
1246
|
-
SkySectionedFormSectionComponent
|
|
1247
|
-
],
|
|
1248
|
-
imports: [
|
|
1249
|
-
common.CommonModule,
|
|
1250
|
-
forms.SkyCheckboxModule,
|
|
1251
|
-
SkyVerticalTabsetModule
|
|
1252
|
-
],
|
|
1253
|
-
exports: [
|
|
1254
|
-
SkySectionedFormComponent,
|
|
1255
|
-
SkySectionedFormSectionComponent
|
|
1256
|
-
]
|
|
1257
|
-
})
|
|
1258
|
-
], SkySectionedFormModule);
|
|
1259
1119
|
return SkySectionedFormModule;
|
|
1260
1120
|
}());
|
|
1121
|
+
SkySectionedFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1122
|
+
SkySectionedFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormModule, declarations: [SkySectionedFormComponent,
|
|
1123
|
+
SkySectionedFormSectionComponent], imports: [i2.CommonModule,
|
|
1124
|
+
forms.SkyCheckboxModule,
|
|
1125
|
+
SkyVerticalTabsetModule], exports: [SkySectionedFormComponent,
|
|
1126
|
+
SkySectionedFormSectionComponent] });
|
|
1127
|
+
SkySectionedFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormModule, imports: [[
|
|
1128
|
+
i2.CommonModule,
|
|
1129
|
+
forms.SkyCheckboxModule,
|
|
1130
|
+
SkyVerticalTabsetModule
|
|
1131
|
+
]] });
|
|
1132
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkySectionedFormModule, decorators: [{
|
|
1133
|
+
type: i0.NgModule,
|
|
1134
|
+
args: [{
|
|
1135
|
+
declarations: [
|
|
1136
|
+
SkySectionedFormComponent,
|
|
1137
|
+
SkySectionedFormSectionComponent
|
|
1138
|
+
],
|
|
1139
|
+
imports: [
|
|
1140
|
+
i2.CommonModule,
|
|
1141
|
+
forms.SkyCheckboxModule,
|
|
1142
|
+
SkyVerticalTabsetModule
|
|
1143
|
+
],
|
|
1144
|
+
exports: [
|
|
1145
|
+
SkySectionedFormComponent,
|
|
1146
|
+
SkySectionedFormSectionComponent
|
|
1147
|
+
]
|
|
1148
|
+
}]
|
|
1149
|
+
}] });
|
|
1261
1150
|
|
|
1262
1151
|
/**
|
|
1263
1152
|
* @internal
|
|
1264
1153
|
*/
|
|
1265
1154
|
var SkyTabButtonComponent = /** @class */ (function () {
|
|
1266
1155
|
function SkyTabButtonComponent() {
|
|
1267
|
-
this.buttonClick = new
|
|
1268
|
-
this.closeClick = new
|
|
1156
|
+
this.buttonClick = new i0.EventEmitter();
|
|
1157
|
+
this.closeClick = new i0.EventEmitter();
|
|
1269
1158
|
}
|
|
1270
1159
|
SkyTabButtonComponent.prototype.onButtonClick = function (event) {
|
|
1271
1160
|
if (!this.disabled) {
|
|
@@ -1283,50 +1172,42 @@
|
|
|
1283
1172
|
event.stopPropagation();
|
|
1284
1173
|
event.preventDefault();
|
|
1285
1174
|
};
|
|
1286
|
-
__decorate([
|
|
1287
|
-
core.Input()
|
|
1288
|
-
], SkyTabButtonComponent.prototype, "active", void 0);
|
|
1289
|
-
__decorate([
|
|
1290
|
-
core.Input()
|
|
1291
|
-
], SkyTabButtonComponent.prototype, "ariaControls", void 0);
|
|
1292
|
-
__decorate([
|
|
1293
|
-
core.Input()
|
|
1294
|
-
], SkyTabButtonComponent.prototype, "buttonHref", void 0);
|
|
1295
|
-
__decorate([
|
|
1296
|
-
core.Input()
|
|
1297
|
-
], SkyTabButtonComponent.prototype, "buttonId", void 0);
|
|
1298
|
-
__decorate([
|
|
1299
|
-
core.Input()
|
|
1300
|
-
], SkyTabButtonComponent.prototype, "buttonText", void 0);
|
|
1301
|
-
__decorate([
|
|
1302
|
-
core.Input()
|
|
1303
|
-
], SkyTabButtonComponent.prototype, "buttonTextCount", void 0);
|
|
1304
|
-
__decorate([
|
|
1305
|
-
core.Input()
|
|
1306
|
-
], SkyTabButtonComponent.prototype, "closeable", void 0);
|
|
1307
|
-
__decorate([
|
|
1308
|
-
core.Input()
|
|
1309
|
-
], SkyTabButtonComponent.prototype, "disabled", void 0);
|
|
1310
|
-
__decorate([
|
|
1311
|
-
core.Input()
|
|
1312
|
-
], SkyTabButtonComponent.prototype, "tabStyle", void 0);
|
|
1313
|
-
__decorate([
|
|
1314
|
-
core.Output()
|
|
1315
|
-
], SkyTabButtonComponent.prototype, "buttonClick", void 0);
|
|
1316
|
-
__decorate([
|
|
1317
|
-
core.Output()
|
|
1318
|
-
], SkyTabButtonComponent.prototype, "closeClick", void 0);
|
|
1319
|
-
SkyTabButtonComponent = __decorate([
|
|
1320
|
-
core.Component({
|
|
1321
|
-
selector: 'sky-tab-button',
|
|
1322
|
-
template: "<div\n class=\"sky-btn-tab-wrapper\"\n [ngClass]=\"{\n 'sky-btn-tab-wrapper-selected': active,\n 'sky-btn-tab-wrapper-disabled': disabled\n }\"\n>\n <a\n class=\"sky-btn-tab\"\n role=\"tab\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-selected]=\"active\"\n [attr.href]=\"buttonHref\"\n [id]=\"buttonId\"\n [ngClass]=\"{\n 'sky-btn-tab-wizard': tabStyle === 'wizard',\n 'sky-btn-tab-selected': active,\n 'sky-btn-tab-disabled': disabled,\n 'sky-tab-btn-closeable': closeable\n }\"\n [tabindex]=\"disabled ? '-1' : '0'\"\n (click)=\"onButtonClick($event)\"\n (keydown.enter)=\"onButtonEnterKeyDown($event)\"\n >\n <span\n class=\"sky-tab-heading\"\n >\n {{ buttonText }}\n <span *ngIf=\"buttonTextCount !== undefined\"\n class=\"sky-tab-header-count\"\n >\n {{ buttonTextCount }}\n </span>\n </span>\n </a>\n\n <button *ngIf=\"closeable\"\n class=\"sky-btn-tab-close\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tab_close' | skyLibResources:buttonText\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-tab-close-disabled': disabled\n }\"\n (click)=\"onCloseClick($event)\"\n >\n <sky-icon\n icon=\"remove\"\n ></sky-icon>\n </button>\n</div>\n",
|
|
1323
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1324
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
1325
|
-
styles: [".sky-btn-tab-wrapper{display:inline-block;position:relative;margin-right:5px}.sky-btn-tab-wrapper .sky-btn-tab-close{position:absolute;top:10px;right:10px;color:#686c73}.sky-btn-tab-wrapper .sky-btn-tab-close:hover{color:#212327;transition:color 150ms}.sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#fff}.sky-tab-btn-closeable{padding-right:43px}.sky-theme-modern .sky-btn-tab-wrapper,:host-context(.sky-theme-modern) .sky-btn-tab-wrapper{margin-right:10px}.sky-theme-modern .sky-btn-tab-wrapper .sky-btn-tab-close,:host-context(.sky-theme-modern) .sky-btn-tab-wrapper .sky-btn-tab-close{top:12px;right:10px}.sky-theme-modern .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close,:host-context(.sky-theme-modern) .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#686c73}.sky-theme-modern .sky-tab-btn-closeable,:host-context(.sky-theme-modern) .sky-tab-btn-closeable{padding-right:44px}.sky-theme-modern.sky-theme-mode-dark .sky-btn-tab-wrapper .sky-btn-tab-close,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-btn-tab-wrapper .sky-btn-tab-close{color:#eeeeef}.sky-theme-modern.sky-theme-mode-dark .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#eeeeef}"]
|
|
1326
|
-
})
|
|
1327
|
-
], SkyTabButtonComponent);
|
|
1328
1175
|
return SkyTabButtonComponent;
|
|
1329
1176
|
}());
|
|
1177
|
+
SkyTabButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1178
|
+
SkyTabButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyTabButtonComponent, selector: "sky-tab-button", inputs: { active: "active", ariaControls: "ariaControls", buttonHref: "buttonHref", buttonId: "buttonId", buttonText: "buttonText", buttonTextCount: "buttonTextCount", closeable: "closeable", disabled: "disabled", tabStyle: "tabStyle" }, outputs: { buttonClick: "buttonClick", closeClick: "closeClick" }, ngImport: i0__namespace, template: "<div\n class=\"sky-btn-tab-wrapper\"\n [ngClass]=\"{\n 'sky-btn-tab-wrapper-selected': active,\n 'sky-btn-tab-wrapper-disabled': disabled\n }\"\n>\n <a\n class=\"sky-btn-tab\"\n role=\"tab\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-selected]=\"active\"\n [attr.href]=\"buttonHref\"\n [id]=\"buttonId\"\n [ngClass]=\"{\n 'sky-btn-tab-wizard': tabStyle === 'wizard',\n 'sky-btn-tab-selected': active,\n 'sky-btn-tab-disabled': disabled,\n 'sky-tab-btn-closeable': closeable\n }\"\n [tabindex]=\"disabled ? '-1' : '0'\"\n (click)=\"onButtonClick($event)\"\n (keydown.enter)=\"onButtonEnterKeyDown($event)\"\n >\n <span\n class=\"sky-tab-heading\"\n >\n {{ buttonText }}\n <span *ngIf=\"buttonTextCount !== undefined\"\n class=\"sky-tab-header-count\"\n >\n {{ buttonTextCount }}\n </span>\n </span>\n </a>\n\n <button *ngIf=\"closeable\"\n class=\"sky-btn-tab-close\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tab_close' | skyLibResources:buttonText\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n 'sky-btn-tab-close-disabled': disabled\n }\"\n (click)=\"onCloseClick($event)\"\n >\n <sky-icon\n icon=\"remove\"\n ></sky-icon>\n </button>\n</div>\n", styles: [".sky-btn-tab-wrapper{display:inline-block;position:relative;margin-right:5px}.sky-btn-tab-wrapper .sky-btn-tab-close{position:absolute;top:10px;right:10px;color:#686c73}.sky-btn-tab-wrapper .sky-btn-tab-close:hover{color:#212327;transition:color .15s}.sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#fff}.sky-tab-btn-closeable{padding-right:43px}:host-context(.sky-theme-modern) .sky-btn-tab-wrapper{margin-right:10px}:host-context(.sky-theme-modern) .sky-btn-tab-wrapper .sky-btn-tab-close{top:12px;right:10px}:host-context(.sky-theme-modern) .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#686c73}:host-context(.sky-theme-modern) .sky-tab-btn-closeable{padding-right:44px}.sky-theme-modern .sky-btn-tab-wrapper{margin-right:10px}.sky-theme-modern .sky-btn-tab-wrapper .sky-btn-tab-close{top:12px;right:10px}.sky-theme-modern .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#686c73}.sky-theme-modern .sky-tab-btn-closeable{padding-right:44px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-btn-tab-wrapper .sky-btn-tab-close{color:#eeeeef}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#eeeeef}.sky-theme-modern.sky-theme-mode-dark .sky-btn-tab-wrapper .sky-btn-tab-close{color:#eeeeef}.sky-theme-modern.sky-theme-mode-dark .sky-btn-tab-wrapper.sky-btn-tab-wrapper-selected:not(.sky-btn-tab-wrapper-disabled) .sky-btn-tab-close{color:#eeeeef}\n"], components: [{ type: i4__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyLibResources": i3__namespace.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1179
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabButtonComponent, decorators: [{
|
|
1180
|
+
type: i0.Component,
|
|
1181
|
+
args: [{
|
|
1182
|
+
selector: 'sky-tab-button',
|
|
1183
|
+
templateUrl: './tab-button.component.html',
|
|
1184
|
+
styleUrls: ['./tab-button.component.scss'],
|
|
1185
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1186
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1187
|
+
}]
|
|
1188
|
+
}], propDecorators: { active: [{
|
|
1189
|
+
type: i0.Input
|
|
1190
|
+
}], ariaControls: [{
|
|
1191
|
+
type: i0.Input
|
|
1192
|
+
}], buttonHref: [{
|
|
1193
|
+
type: i0.Input
|
|
1194
|
+
}], buttonId: [{
|
|
1195
|
+
type: i0.Input
|
|
1196
|
+
}], buttonText: [{
|
|
1197
|
+
type: i0.Input
|
|
1198
|
+
}], buttonTextCount: [{
|
|
1199
|
+
type: i0.Input
|
|
1200
|
+
}], closeable: [{
|
|
1201
|
+
type: i0.Input
|
|
1202
|
+
}], disabled: [{
|
|
1203
|
+
type: i0.Input
|
|
1204
|
+
}], tabStyle: [{
|
|
1205
|
+
type: i0.Input
|
|
1206
|
+
}], buttonClick: [{
|
|
1207
|
+
type: i0.Output
|
|
1208
|
+
}], closeClick: [{
|
|
1209
|
+
type: i0.Output
|
|
1210
|
+
}] } });
|
|
1330
1211
|
|
|
1331
1212
|
/**
|
|
1332
1213
|
* @internal
|
|
@@ -1342,7 +1223,7 @@
|
|
|
1342
1223
|
get: function () {
|
|
1343
1224
|
return this._popStateChange.asObservable();
|
|
1344
1225
|
},
|
|
1345
|
-
enumerable:
|
|
1226
|
+
enumerable: false,
|
|
1346
1227
|
configurable: true
|
|
1347
1228
|
});
|
|
1348
1229
|
SkyTabsetPermalinkService.prototype.ngOnDestroy = function () {
|
|
@@ -1440,16 +1321,13 @@
|
|
|
1440
1321
|
});
|
|
1441
1322
|
return params;
|
|
1442
1323
|
};
|
|
1443
|
-
SkyTabsetPermalinkService.ctorParameters = function () { return [
|
|
1444
|
-
{ type: router.ActivatedRoute },
|
|
1445
|
-
{ type: common.Location },
|
|
1446
|
-
{ type: router.Router }
|
|
1447
|
-
]; };
|
|
1448
|
-
SkyTabsetPermalinkService = __decorate([
|
|
1449
|
-
core.Injectable()
|
|
1450
|
-
], SkyTabsetPermalinkService);
|
|
1451
1324
|
return SkyTabsetPermalinkService;
|
|
1452
1325
|
}());
|
|
1326
|
+
SkyTabsetPermalinkService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetPermalinkService, deps: [{ token: i1__namespace$1.ActivatedRoute }, { token: i2__namespace.Location }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1327
|
+
SkyTabsetPermalinkService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetPermalinkService });
|
|
1328
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetPermalinkService, decorators: [{
|
|
1329
|
+
type: i0.Injectable
|
|
1330
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: i2__namespace.Location }, { type: i1__namespace$1.Router }]; } });
|
|
1453
1331
|
|
|
1454
1332
|
/**
|
|
1455
1333
|
* @internal
|
|
@@ -1466,14 +1344,14 @@
|
|
|
1466
1344
|
get: function () {
|
|
1467
1345
|
return this._activeTabUnregistered.asObservable();
|
|
1468
1346
|
},
|
|
1469
|
-
enumerable:
|
|
1347
|
+
enumerable: false,
|
|
1470
1348
|
configurable: true
|
|
1471
1349
|
});
|
|
1472
1350
|
Object.defineProperty(SkyTabsetService.prototype, "activeTabIndex", {
|
|
1473
1351
|
get: function () {
|
|
1474
1352
|
return this._activeTabIndex.asObservable();
|
|
1475
1353
|
},
|
|
1476
|
-
enumerable:
|
|
1354
|
+
enumerable: false,
|
|
1477
1355
|
configurable: true
|
|
1478
1356
|
});
|
|
1479
1357
|
/**
|
|
@@ -1486,6 +1364,7 @@
|
|
|
1486
1364
|
if (value !== undefined &&
|
|
1487
1365
|
!this.tabIndexesEqual(value, this.currentActiveTabIndex)) {
|
|
1488
1366
|
this.currentActiveTabIndex = value;
|
|
1367
|
+
/* istanbul ignore else */
|
|
1489
1368
|
if (config.emitChange) {
|
|
1490
1369
|
this._activeTabIndex.next(value);
|
|
1491
1370
|
}
|
|
@@ -1563,13 +1442,15 @@
|
|
|
1563
1442
|
SkyTabsetService.prototype.isTabIndexActive = function (tabIndex) {
|
|
1564
1443
|
return this.tabIndexesEqual(tabIndex, this.currentActiveTabIndex);
|
|
1565
1444
|
};
|
|
1566
|
-
SkyTabsetService = __decorate([
|
|
1567
|
-
core.Injectable()
|
|
1568
|
-
], SkyTabsetService);
|
|
1569
1445
|
return SkyTabsetService;
|
|
1570
1446
|
}());
|
|
1447
|
+
SkyTabsetService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1448
|
+
SkyTabsetService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetService });
|
|
1449
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetService, decorators: [{
|
|
1450
|
+
type: i0.Injectable
|
|
1451
|
+
}] });
|
|
1571
1452
|
|
|
1572
|
-
var nextId
|
|
1453
|
+
var nextId = 0;
|
|
1573
1454
|
var SkyTabComponent = /** @class */ (function () {
|
|
1574
1455
|
function SkyTabComponent(changeDetector, permalinkService, tabsetService) {
|
|
1575
1456
|
this.changeDetector = changeDetector;
|
|
@@ -1579,12 +1460,12 @@
|
|
|
1579
1460
|
* Fires when users click the button to close the tab.
|
|
1580
1461
|
* The close button is added to the tab when you specify a listener for this event.
|
|
1581
1462
|
*/
|
|
1582
|
-
this.close = new
|
|
1463
|
+
this.close = new i0.EventEmitter();
|
|
1583
1464
|
this.showContent = false;
|
|
1584
1465
|
this._activeChange = new rxjs.BehaviorSubject(undefined);
|
|
1585
1466
|
this._stateChange = new rxjs.BehaviorSubject(undefined);
|
|
1586
1467
|
this._tabIndexChange = new rxjs.BehaviorSubject(undefined);
|
|
1587
|
-
var id = nextId
|
|
1468
|
+
var id = nextId++;
|
|
1588
1469
|
this.tabPanelId = "sky-tab-" + id;
|
|
1589
1470
|
this.tabButtonId = this.tabPanelId + "-nav-btn";
|
|
1590
1471
|
}
|
|
@@ -1604,14 +1485,14 @@
|
|
|
1604
1485
|
this._activeChange.next();
|
|
1605
1486
|
}
|
|
1606
1487
|
},
|
|
1607
|
-
enumerable:
|
|
1488
|
+
enumerable: false,
|
|
1608
1489
|
configurable: true
|
|
1609
1490
|
});
|
|
1610
1491
|
Object.defineProperty(SkyTabComponent.prototype, "activeChange", {
|
|
1611
1492
|
get: function () {
|
|
1612
1493
|
return this._activeChange.asObservable();
|
|
1613
1494
|
},
|
|
1614
|
-
enumerable:
|
|
1495
|
+
enumerable: false,
|
|
1615
1496
|
configurable: true
|
|
1616
1497
|
});
|
|
1617
1498
|
Object.defineProperty(SkyTabComponent.prototype, "permalinkValue", {
|
|
@@ -1628,7 +1509,7 @@
|
|
|
1628
1509
|
set: function (value) {
|
|
1629
1510
|
this._permalinkValue = this.permalinkService.urlify(value);
|
|
1630
1511
|
},
|
|
1631
|
-
enumerable:
|
|
1512
|
+
enumerable: false,
|
|
1632
1513
|
configurable: true
|
|
1633
1514
|
});
|
|
1634
1515
|
Object.defineProperty(SkyTabComponent.prototype, "tabIndex", {
|
|
@@ -1648,14 +1529,14 @@
|
|
|
1648
1529
|
}
|
|
1649
1530
|
this._tabIndex = value;
|
|
1650
1531
|
},
|
|
1651
|
-
enumerable:
|
|
1532
|
+
enumerable: false,
|
|
1652
1533
|
configurable: true
|
|
1653
1534
|
});
|
|
1654
1535
|
Object.defineProperty(SkyTabComponent.prototype, "closeable", {
|
|
1655
1536
|
get: function () {
|
|
1656
1537
|
return this.close.observers.length > 0;
|
|
1657
1538
|
},
|
|
1658
|
-
enumerable:
|
|
1539
|
+
enumerable: false,
|
|
1659
1540
|
configurable: true
|
|
1660
1541
|
});
|
|
1661
1542
|
Object.defineProperty(SkyTabComponent.prototype, "stateChange", {
|
|
@@ -1665,14 +1546,14 @@
|
|
|
1665
1546
|
get: function () {
|
|
1666
1547
|
return this._stateChange.asObservable();
|
|
1667
1548
|
},
|
|
1668
|
-
enumerable:
|
|
1549
|
+
enumerable: false,
|
|
1669
1550
|
configurable: true
|
|
1670
1551
|
});
|
|
1671
1552
|
Object.defineProperty(SkyTabComponent.prototype, "tabIndexChange", {
|
|
1672
1553
|
get: function () {
|
|
1673
1554
|
return this._tabIndexChange.asObservable();
|
|
1674
1555
|
},
|
|
1675
|
-
enumerable:
|
|
1556
|
+
enumerable: false,
|
|
1676
1557
|
configurable: true
|
|
1677
1558
|
});
|
|
1678
1559
|
SkyTabComponent.prototype.ngOnChanges = function (changes) {
|
|
@@ -1700,41 +1581,32 @@
|
|
|
1700
1581
|
this.showContent = false;
|
|
1701
1582
|
this.changeDetector.markForCheck();
|
|
1702
1583
|
};
|
|
1703
|
-
SkyTabComponent.ctorParameters = function () { return [
|
|
1704
|
-
{ type: core.ChangeDetectorRef },
|
|
1705
|
-
{ type: SkyTabsetPermalinkService },
|
|
1706
|
-
{ type: SkyTabsetService }
|
|
1707
|
-
]; };
|
|
1708
|
-
__decorate([
|
|
1709
|
-
core.Input()
|
|
1710
|
-
], SkyTabComponent.prototype, "active", null);
|
|
1711
|
-
__decorate([
|
|
1712
|
-
core.Input()
|
|
1713
|
-
], SkyTabComponent.prototype, "disabled", void 0);
|
|
1714
|
-
__decorate([
|
|
1715
|
-
core.Input()
|
|
1716
|
-
], SkyTabComponent.prototype, "permalinkValue", null);
|
|
1717
|
-
__decorate([
|
|
1718
|
-
core.Input()
|
|
1719
|
-
], SkyTabComponent.prototype, "tabHeaderCount", void 0);
|
|
1720
|
-
__decorate([
|
|
1721
|
-
core.Input()
|
|
1722
|
-
], SkyTabComponent.prototype, "tabHeading", void 0);
|
|
1723
|
-
__decorate([
|
|
1724
|
-
core.Input()
|
|
1725
|
-
], SkyTabComponent.prototype, "tabIndex", null);
|
|
1726
|
-
__decorate([
|
|
1727
|
-
core.Output()
|
|
1728
|
-
], SkyTabComponent.prototype, "close", void 0);
|
|
1729
|
-
SkyTabComponent = __decorate([
|
|
1730
|
-
core.Component({
|
|
1731
|
-
selector: 'sky-tab',
|
|
1732
|
-
template: "<div\n class=\"sky-tab\"\n role=\"tabpanel\"\n [attr.aria-labelledby]=\"tabButtonId\"\n [hidden]=\"!showContent\"\n [id]=\"tabPanelId\"\n>\n <ng-content></ng-content>\n</div>\n",
|
|
1733
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
1734
|
-
})
|
|
1735
|
-
], SkyTabComponent);
|
|
1736
1584
|
return SkyTabComponent;
|
|
1737
1585
|
}());
|
|
1586
|
+
SkyTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: SkyTabsetPermalinkService }, { token: SkyTabsetService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1587
|
+
SkyTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyTabComponent, selector: "sky-tab", inputs: { active: "active", disabled: "disabled", permalinkValue: "permalinkValue", tabHeaderCount: "tabHeaderCount", tabHeading: "tabHeading", tabIndex: "tabIndex" }, outputs: { close: "close" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div\n class=\"sky-tab\"\n role=\"tabpanel\"\n [attr.aria-labelledby]=\"tabButtonId\"\n [hidden]=\"!showContent\"\n [id]=\"tabPanelId\"\n>\n <ng-content></ng-content>\n</div>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1588
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabComponent, decorators: [{
|
|
1589
|
+
type: i0.Component,
|
|
1590
|
+
args: [{
|
|
1591
|
+
selector: 'sky-tab',
|
|
1592
|
+
templateUrl: './tab.component.html',
|
|
1593
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1594
|
+
}]
|
|
1595
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: SkyTabsetPermalinkService }, { type: SkyTabsetService }]; }, propDecorators: { active: [{
|
|
1596
|
+
type: i0.Input
|
|
1597
|
+
}], disabled: [{
|
|
1598
|
+
type: i0.Input
|
|
1599
|
+
}], permalinkValue: [{
|
|
1600
|
+
type: i0.Input
|
|
1601
|
+
}], tabHeaderCount: [{
|
|
1602
|
+
type: i0.Input
|
|
1603
|
+
}], tabHeading: [{
|
|
1604
|
+
type: i0.Input
|
|
1605
|
+
}], tabIndex: [{
|
|
1606
|
+
type: i0.Input
|
|
1607
|
+
}], close: [{
|
|
1608
|
+
type: i0.Output
|
|
1609
|
+
}] } });
|
|
1738
1610
|
|
|
1739
1611
|
var buttonTypeNext = 'next';
|
|
1740
1612
|
var buttonTypePrevious = 'previous';
|
|
@@ -1764,7 +1636,7 @@
|
|
|
1764
1636
|
set: function (value) {
|
|
1765
1637
|
this._buttonText = value;
|
|
1766
1638
|
},
|
|
1767
|
-
enumerable:
|
|
1639
|
+
enumerable: false,
|
|
1768
1640
|
configurable: true
|
|
1769
1641
|
});
|
|
1770
1642
|
Object.defineProperty(SkyTabsetNavButtonComponent.prototype, "disabled", {
|
|
@@ -1783,7 +1655,7 @@
|
|
|
1783
1655
|
}
|
|
1784
1656
|
return !tabToSelect || tabToSelect.disabled;
|
|
1785
1657
|
},
|
|
1786
|
-
enumerable:
|
|
1658
|
+
enumerable: false,
|
|
1787
1659
|
configurable: true
|
|
1788
1660
|
});
|
|
1789
1661
|
Object.defineProperty(SkyTabsetNavButtonComponent.prototype, "selectedTab", {
|
|
@@ -1795,7 +1667,7 @@
|
|
|
1795
1667
|
}
|
|
1796
1668
|
return selectedTab;
|
|
1797
1669
|
},
|
|
1798
|
-
enumerable:
|
|
1670
|
+
enumerable: false,
|
|
1799
1671
|
configurable: true
|
|
1800
1672
|
});
|
|
1801
1673
|
Object.defineProperty(SkyTabsetNavButtonComponent.prototype, "nextTab", {
|
|
@@ -1807,7 +1679,7 @@
|
|
|
1807
1679
|
}
|
|
1808
1680
|
return undefined;
|
|
1809
1681
|
},
|
|
1810
|
-
enumerable:
|
|
1682
|
+
enumerable: false,
|
|
1811
1683
|
configurable: true
|
|
1812
1684
|
});
|
|
1813
1685
|
Object.defineProperty(SkyTabsetNavButtonComponent.prototype, "previousTab", {
|
|
@@ -1819,7 +1691,7 @@
|
|
|
1819
1691
|
}
|
|
1820
1692
|
return undefined;
|
|
1821
1693
|
},
|
|
1822
|
-
enumerable:
|
|
1694
|
+
enumerable: false,
|
|
1823
1695
|
configurable: true
|
|
1824
1696
|
});
|
|
1825
1697
|
SkyTabsetNavButtonComponent.prototype.ngAfterViewInit = function () {
|
|
@@ -1853,27 +1725,23 @@
|
|
|
1853
1725
|
this.tabset.active = tabToSelect.tabIndex;
|
|
1854
1726
|
}
|
|
1855
1727
|
};
|
|
1856
|
-
SkyTabsetNavButtonComponent.ctorParameters = function () { return [
|
|
1857
|
-
{ type: i18n.SkyLibResourcesService },
|
|
1858
|
-
{ type: core.ChangeDetectorRef }
|
|
1859
|
-
]; };
|
|
1860
|
-
__decorate([
|
|
1861
|
-
core.Input()
|
|
1862
|
-
], SkyTabsetNavButtonComponent.prototype, "tabset", void 0);
|
|
1863
|
-
__decorate([
|
|
1864
|
-
core.Input()
|
|
1865
|
-
], SkyTabsetNavButtonComponent.prototype, "buttonType", void 0);
|
|
1866
|
-
__decorate([
|
|
1867
|
-
core.Input()
|
|
1868
|
-
], SkyTabsetNavButtonComponent.prototype, "buttonText", null);
|
|
1869
|
-
SkyTabsetNavButtonComponent = __decorate([
|
|
1870
|
-
core.Component({
|
|
1871
|
-
selector: 'sky-tabset-nav-button',
|
|
1872
|
-
template: "<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"buttonClick()\"\n>\n {{ buttonText }}\n</button>\n"
|
|
1873
|
-
})
|
|
1874
|
-
], SkyTabsetNavButtonComponent);
|
|
1875
1728
|
return SkyTabsetNavButtonComponent;
|
|
1876
1729
|
}());
|
|
1730
|
+
SkyTabsetNavButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetNavButtonComponent, deps: [{ token: i3__namespace.SkyLibResourcesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1731
|
+
SkyTabsetNavButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyTabsetNavButtonComponent, selector: "sky-tabset-nav-button", inputs: { tabset: "tabset", buttonType: "buttonType", buttonText: "buttonText" }, ngImport: i0__namespace, template: "<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"buttonClick()\"\n>\n {{ buttonText }}\n</button>\n" });
|
|
1732
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetNavButtonComponent, decorators: [{
|
|
1733
|
+
type: i0.Component,
|
|
1734
|
+
args: [{
|
|
1735
|
+
selector: 'sky-tabset-nav-button',
|
|
1736
|
+
templateUrl: './tabset-nav-button.component.html'
|
|
1737
|
+
}]
|
|
1738
|
+
}], ctorParameters: function () { return [{ type: i3__namespace.SkyLibResourcesService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { tabset: [{
|
|
1739
|
+
type: i0.Input
|
|
1740
|
+
}], buttonType: [{
|
|
1741
|
+
type: i0.Input
|
|
1742
|
+
}], buttonText: [{
|
|
1743
|
+
type: i0.Input
|
|
1744
|
+
}] } });
|
|
1877
1745
|
|
|
1878
1746
|
/**
|
|
1879
1747
|
* @internal
|
|
@@ -1886,7 +1754,7 @@
|
|
|
1886
1754
|
get: function () {
|
|
1887
1755
|
return this._overflowChange.asObservable();
|
|
1888
1756
|
},
|
|
1889
|
-
enumerable:
|
|
1757
|
+
enumerable: false,
|
|
1890
1758
|
configurable: true
|
|
1891
1759
|
});
|
|
1892
1760
|
SkyTabsetAdapterService.prototype.registerTabset = function (tabsetRef) {
|
|
@@ -1923,11 +1791,13 @@
|
|
|
1923
1791
|
var firstTabRect = tabsetEl.querySelector('.sky-tabset-dropdown').getBoundingClientRect();
|
|
1924
1792
|
return firstTabRect.left - tabsetRect.left;
|
|
1925
1793
|
};
|
|
1926
|
-
SkyTabsetAdapterService = __decorate([
|
|
1927
|
-
core.Injectable()
|
|
1928
|
-
], SkyTabsetAdapterService);
|
|
1929
1794
|
return SkyTabsetAdapterService;
|
|
1930
1795
|
}());
|
|
1796
|
+
SkyTabsetAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetAdapterService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1797
|
+
SkyTabsetAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetAdapterService });
|
|
1798
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetAdapterService, decorators: [{
|
|
1799
|
+
type: i0.Injectable
|
|
1800
|
+
}] });
|
|
1931
1801
|
|
|
1932
1802
|
var SkyTabsetComponent = /** @class */ (function () {
|
|
1933
1803
|
function SkyTabsetComponent(changeDetector, elementRef, adapterService, permalinkService, tabsetService) {
|
|
@@ -1939,21 +1809,21 @@
|
|
|
1939
1809
|
/**
|
|
1940
1810
|
* Fires when the active tab changes. This event emits the index of the active tab.
|
|
1941
1811
|
*/
|
|
1942
|
-
this.activeChange = new
|
|
1812
|
+
this.activeChange = new i0.EventEmitter();
|
|
1943
1813
|
/**
|
|
1944
1814
|
* Fires when users click the button to add a new tab.
|
|
1945
1815
|
* The new tab button is added to the tab area when you specify a listener for this event.
|
|
1946
1816
|
*/
|
|
1947
|
-
this.newTab = new
|
|
1817
|
+
this.newTab = new i0.EventEmitter();
|
|
1948
1818
|
/**
|
|
1949
1819
|
* Fires when users click the button to open a tab.
|
|
1950
1820
|
* The open tab button is added to the tab area when you specify a listener for this event.
|
|
1951
1821
|
*/
|
|
1952
|
-
this.openTab = new
|
|
1822
|
+
this.openTab = new i0.EventEmitter();
|
|
1953
1823
|
/**
|
|
1954
1824
|
* Fires when any tab's `tabIndex` value changes.
|
|
1955
1825
|
*/
|
|
1956
|
-
this.tabIndexesChange = new
|
|
1826
|
+
this.tabIndexesChange = new i0.EventEmitter();
|
|
1957
1827
|
this.tabButtons = [];
|
|
1958
1828
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
1959
1829
|
this.tabComponentsStateChangeUnsubscribe = new rxjs.Subject();
|
|
@@ -1991,7 +1861,7 @@
|
|
|
1991
1861
|
});
|
|
1992
1862
|
}
|
|
1993
1863
|
},
|
|
1994
|
-
enumerable:
|
|
1864
|
+
enumerable: false,
|
|
1995
1865
|
configurable: true
|
|
1996
1866
|
});
|
|
1997
1867
|
Object.defineProperty(SkyTabsetComponent.prototype, "permalinkId", {
|
|
@@ -2011,7 +1881,7 @@
|
|
|
2011
1881
|
var sanitized = this.permalinkService.urlify(value);
|
|
2012
1882
|
this._permalinkId = sanitized + "-active-tab";
|
|
2013
1883
|
},
|
|
2014
|
-
enumerable:
|
|
1884
|
+
enumerable: false,
|
|
2015
1885
|
configurable: true
|
|
2016
1886
|
});
|
|
2017
1887
|
Object.defineProperty(SkyTabsetComponent.prototype, "tabStyle", {
|
|
@@ -2033,7 +1903,7 @@
|
|
|
2033
1903
|
}
|
|
2034
1904
|
this._tabStyle = value;
|
|
2035
1905
|
},
|
|
2036
|
-
enumerable:
|
|
1906
|
+
enumerable: false,
|
|
2037
1907
|
configurable: true
|
|
2038
1908
|
});
|
|
2039
1909
|
Object.defineProperty(SkyTabsetComponent.prototype, "tabDisplayMode", {
|
|
@@ -2044,7 +1914,7 @@
|
|
|
2044
1914
|
this._tabDisplayMode = value;
|
|
2045
1915
|
this.changeDetector.markForCheck();
|
|
2046
1916
|
},
|
|
2047
|
-
enumerable:
|
|
1917
|
+
enumerable: false,
|
|
2048
1918
|
configurable: true
|
|
2049
1919
|
});
|
|
2050
1920
|
SkyTabsetComponent.prototype.ngAfterViewInit = function () {
|
|
@@ -2082,9 +1952,7 @@
|
|
|
2082
1952
|
};
|
|
2083
1953
|
SkyTabsetComponent.prototype.onTabCloseClick = function (tabButton) {
|
|
2084
1954
|
var _this = this;
|
|
2085
|
-
var tabComponent = this.tabs.find(function (tab) {
|
|
2086
|
-
return _this.tabsetService.tabIndexesEqual(tab.tabIndex, tabButton.tabIndex);
|
|
2087
|
-
});
|
|
1955
|
+
var tabComponent = this.tabs.find(function (tab) { return _this.tabsetService.tabIndexesEqual(tab.tabIndex, tabButton.tabIndex); });
|
|
2088
1956
|
tabComponent.close.emit();
|
|
2089
1957
|
};
|
|
2090
1958
|
SkyTabsetComponent.prototype.onTabButtonClick = function (tabButton) {
|
|
@@ -2300,113 +2168,120 @@
|
|
|
2300
2168
|
this.activeChange.emit(activeIndex);
|
|
2301
2169
|
}
|
|
2302
2170
|
};
|
|
2303
|
-
SkyTabsetComponent.ctorParameters = function () { return [
|
|
2304
|
-
{ type: core.ChangeDetectorRef },
|
|
2305
|
-
{ type: core.ElementRef },
|
|
2306
|
-
{ type: SkyTabsetAdapterService },
|
|
2307
|
-
{ type: SkyTabsetPermalinkService },
|
|
2308
|
-
{ type: SkyTabsetService }
|
|
2309
|
-
]; };
|
|
2310
|
-
__decorate([
|
|
2311
|
-
core.Input()
|
|
2312
|
-
], SkyTabsetComponent.prototype, "active", null);
|
|
2313
|
-
__decorate([
|
|
2314
|
-
core.Input()
|
|
2315
|
-
], SkyTabsetComponent.prototype, "ariaLabel", void 0);
|
|
2316
|
-
__decorate([
|
|
2317
|
-
core.Input()
|
|
2318
|
-
], SkyTabsetComponent.prototype, "ariaLabelledBy", void 0);
|
|
2319
|
-
__decorate([
|
|
2320
|
-
core.Input()
|
|
2321
|
-
], SkyTabsetComponent.prototype, "permalinkId", null);
|
|
2322
|
-
__decorate([
|
|
2323
|
-
core.Input()
|
|
2324
|
-
], SkyTabsetComponent.prototype, "tabStyle", null);
|
|
2325
|
-
__decorate([
|
|
2326
|
-
core.Output()
|
|
2327
|
-
], SkyTabsetComponent.prototype, "activeChange", void 0);
|
|
2328
|
-
__decorate([
|
|
2329
|
-
core.Output()
|
|
2330
|
-
], SkyTabsetComponent.prototype, "newTab", void 0);
|
|
2331
|
-
__decorate([
|
|
2332
|
-
core.Output()
|
|
2333
|
-
], SkyTabsetComponent.prototype, "openTab", void 0);
|
|
2334
|
-
__decorate([
|
|
2335
|
-
core.Output()
|
|
2336
|
-
], SkyTabsetComponent.prototype, "tabIndexesChange", void 0);
|
|
2337
|
-
__decorate([
|
|
2338
|
-
core.ContentChildren(SkyTabComponent)
|
|
2339
|
-
], SkyTabsetComponent.prototype, "tabs", void 0);
|
|
2340
|
-
SkyTabsetComponent = __decorate([
|
|
2341
|
-
core.Component({
|
|
2342
|
-
selector: 'sky-tabset',
|
|
2343
|
-
template: "<div\n class=\"sky-tabset\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [ngClass]=\"'sky-tabset-mode-' + tabDisplayMode + ' sky-tabset-style-' + tabStyle\"\n (window:resize)=\"onWindowResize()\"\n>\n <span class=\"sky-tabset-dropdown\">\n <sky-dropdown *ngIf=\"tabDisplayMode === 'dropdown'\"\n buttonType=\"tab\"\n >\n <sky-dropdown-button>\n {{ dropdownTriggerButtonText }}\n </sky-dropdown-button>\n <sky-dropdown-menu>\n <sky-dropdown-item *ngFor=\"let tabButton of tabButtons\"\n class=\"sky-tab-dropdown-menu-item\"\n >\n <div\n class=\"sky-tab-dropdown-item\"\n [ngClass]=\"{\n 'sky-tab-dropdown-item-selected': tabButton.active\n }\"\n >\n <ng-container *ngTemplateOutlet=\"tabButtonTemplate; context: {\n $implicit: tabButton\n }\"></ng-container>\n </div>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n </sky-dropdown>\n </span>\n <span\n class=\"sky-tabset-tabs\"\n >\n <ng-container *ngFor=\"let tabButton of tabButtons\">\n <ng-container *ngTemplateOutlet=\"tabButtonTemplate; context: {\n $implicit: tabButton\n }\"></ng-container>\n </ng-container>\n </span>\n <span\n class=\"sky-tabset-btns\"\n >\n <button *ngIf=\"newTab.observers.length > 0\"\n class=\"sky-btn sky-btn-icon sky-tabset-btn-new sky-margin-inline-compact\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tab_add' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onNewTabClick()\"\n >\n <sky-icon\n icon=\"plus-circle\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n <button *ngIf=\"openTab.observers.length > 0\"\n class=\"sky-btn sky-btn-icon sky-tabset-btn-open sky-margin-inline-compact\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tab_open' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onOpenTabClick()\"\n >\n <sky-icon\n icon=\"folder-open-o\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n </span>\n</div>\n<ng-content></ng-content>\n\n<ng-template\n let-tabButton\n #tabButtonTemplate\n>\n <sky-tab-button\n [active]=\"tabButton.active\"\n [ariaControls]=\"tabButton.ariaControls\"\n [buttonHref]=\"tabButton.buttonHref\"\n [buttonId]=\"tabButton.buttonId\"\n [buttonText]=\"tabButton.buttonText\"\n [buttonTextCount]=\"tabButton.buttonTextCount\"\n [closeable]=\"tabButton.closeable\"\n [disabled]=\"tabButton.disabled\"\n [tabStyle]=\"tabStyle\"\n (buttonClick)=\"onTabButtonClick(tabButton)\"\n (closeClick)=\"onTabCloseClick(tabButton)\"\n ></sky-tab-button>\n</ng-template>\n",
|
|
2344
|
-
providers: [
|
|
2345
|
-
SkyTabsetAdapterService,
|
|
2346
|
-
SkyTabsetPermalinkService,
|
|
2347
|
-
SkyTabsetService
|
|
2348
|
-
],
|
|
2349
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
2350
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
2351
|
-
styles: [".sky-tabset{align-items:center;border-bottom:2px solid #0974a1;display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0 0 0 15px;white-space:nowrap}.sky-tabset.sky-tabset-style-wizard{border-bottom:none;padding-bottom:10px;padding-left:0}.sky-tabset-btns{order:1;padding-left:10px}.sky-tabset-dropdown{order:0;max-width:100%}.sky-tabset-mode-dropdown{line-height:0}.sky-tabset-mode-dropdown .sky-tabset-tabs{visibility:hidden;order:2}.sky-tab-dropdown-menu-item sky-tab-button{display:flex;min-width:300px}.sky-tab-dropdown-menu-item .sky-dropdown-item{margin:0}.sky-tab-dropdown-menu-item .sky-btn-tab-wrapper{width:100%;margin-right:0}.sky-tab-dropdown-menu-item .sky-btn-tab{margin:0;border-radius:0;width:100%;display:flex}.sky-tab-dropdown-menu-item .sky-btn-tab>.sky-tab-heading{flex:1 1 auto}.sky-tab-dropdown-menu-item .sky-btn-tab>.sky-btn-tab-close{flex:0 1 auto}.sky-tabset-tabs{order:0;white-space:nowrap}.sky-tabset-btn-new,.sky-tabset-btn-open{color:#0974a1}.sky-theme-modern .sky-tabset{border-bottom:1px solid #d2d2d2;overflow:visible}.sky-theme-modern .sky-tab-dropdown-menu-item .sky-btn-tab-wrapper{margin-right:0}"]
|
|
2352
|
-
})
|
|
2353
|
-
], SkyTabsetComponent);
|
|
2354
2171
|
return SkyTabsetComponent;
|
|
2355
2172
|
}());
|
|
2173
|
+
SkyTabsetComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: SkyTabsetAdapterService }, { token: SkyTabsetPermalinkService }, { token: SkyTabsetService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2174
|
+
SkyTabsetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyTabsetComponent, selector: "sky-tabset", inputs: { active: "active", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", permalinkId: "permalinkId", tabStyle: "tabStyle" }, outputs: { activeChange: "activeChange", newTab: "newTab", openTab: "openTab", tabIndexesChange: "tabIndexesChange" }, providers: [
|
|
2175
|
+
SkyTabsetAdapterService,
|
|
2176
|
+
SkyTabsetPermalinkService,
|
|
2177
|
+
SkyTabsetService
|
|
2178
|
+
], queries: [{ propertyName: "tabs", predicate: SkyTabComponent }], ngImport: i0__namespace, template: "<div\n class=\"sky-tabset\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [ngClass]=\"'sky-tabset-mode-' + tabDisplayMode + ' sky-tabset-style-' + tabStyle\"\n (window:resize)=\"onWindowResize()\"\n>\n <span class=\"sky-tabset-dropdown\">\n <sky-dropdown *ngIf=\"tabDisplayMode === 'dropdown'\"\n buttonType=\"tab\"\n >\n <sky-dropdown-button>\n {{ dropdownTriggerButtonText }}\n </sky-dropdown-button>\n <sky-dropdown-menu>\n <sky-dropdown-item *ngFor=\"let tabButton of tabButtons\"\n class=\"sky-tab-dropdown-menu-item\"\n >\n <div\n class=\"sky-tab-dropdown-item\"\n [ngClass]=\"{\n 'sky-tab-dropdown-item-selected': tabButton.active\n }\"\n >\n <ng-container *ngTemplateOutlet=\"tabButtonTemplate; context: {\n $implicit: tabButton\n }\"></ng-container>\n </div>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n </sky-dropdown>\n </span>\n <span\n class=\"sky-tabset-tabs\"\n >\n <ng-container *ngFor=\"let tabButton of tabButtons\">\n <ng-container *ngTemplateOutlet=\"tabButtonTemplate; context: {\n $implicit: tabButton\n }\"></ng-container>\n </ng-container>\n </span>\n <span\n class=\"sky-tabset-btns\"\n >\n <button *ngIf=\"newTab.observers.length > 0\"\n class=\"sky-btn sky-btn-icon sky-tabset-btn-new sky-margin-inline-compact\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tab_add' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onNewTabClick()\"\n >\n <sky-icon\n icon=\"plus-circle\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n <button *ngIf=\"openTab.observers.length > 0\"\n class=\"sky-btn sky-btn-icon sky-tabset-btn-open sky-margin-inline-compact\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tab_open' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onOpenTabClick()\"\n >\n <sky-icon\n icon=\"folder-open-o\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n </span>\n</div>\n<ng-content></ng-content>\n\n<ng-template\n let-tabButton\n #tabButtonTemplate\n>\n <sky-tab-button\n [active]=\"tabButton.active\"\n [ariaControls]=\"tabButton.ariaControls\"\n [buttonHref]=\"tabButton.buttonHref\"\n [buttonId]=\"tabButton.buttonId\"\n [buttonText]=\"tabButton.buttonText\"\n [buttonTextCount]=\"tabButton.buttonTextCount\"\n [closeable]=\"tabButton.closeable\"\n [disabled]=\"tabButton.disabled\"\n [tabStyle]=\"tabStyle\"\n (buttonClick)=\"onTabButtonClick(tabButton)\"\n (closeClick)=\"onTabCloseClick(tabButton)\"\n ></sky-tab-button>\n</ng-template>\n", styles: [".sky-tabset{align-items:center;border-bottom:2px solid #0974a1;display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0 0 0 15px;white-space:nowrap}.sky-tabset.sky-tabset-style-wizard{border-bottom:none;padding-bottom:10px;padding-left:0}.sky-tabset-btns{order:1;padding-left:10px}.sky-tabset-dropdown{order:0;max-width:100%}.sky-tabset-mode-dropdown{line-height:0}.sky-tabset-mode-dropdown .sky-tabset-tabs{visibility:hidden;order:2}.sky-tab-dropdown-menu-item sky-tab-button{display:flex;min-width:300px}.sky-tab-dropdown-menu-item .sky-dropdown-item{margin:0}.sky-tab-dropdown-menu-item .sky-btn-tab-wrapper{width:100%;margin-right:0}.sky-tab-dropdown-menu-item .sky-btn-tab{margin:0;border-radius:0;width:100%;display:flex}.sky-tab-dropdown-menu-item .sky-btn-tab>.sky-tab-heading{flex:1 1 auto}.sky-tab-dropdown-menu-item .sky-btn-tab>.sky-btn-tab-close{flex:0 1 auto}.sky-tabset-tabs{order:0;white-space:nowrap}.sky-tabset-btn-new,.sky-tabset-btn-open{color:#0974a1}.sky-theme-modern .sky-tabset{border-bottom:1px solid #d2d2d2;overflow:visible}.sky-theme-modern .sky-tab-dropdown-menu-item .sky-btn-tab-wrapper{margin-right:0}\n"], components: [{ type: i4__namespace$2.λ3, selector: "sky-dropdown", inputs: ["buttonStyle", "buttonType", "disabled", "dismissOnBlur", "label", "horizontalAlignment", "messageStream", "title", "trigger"] }, { type: i4__namespace$2.λ2, selector: "sky-dropdown-button" }, { type: i4__namespace$2.λ4, selector: "sky-dropdown-menu", inputs: ["ariaLabelledBy", "ariaRole", "useNativeFocus"], outputs: ["menuChanges"] }, { type: i4__namespace$2.λ1, selector: "sky-dropdown-item", inputs: ["ariaRole"] }, { type: i4__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyTabButtonComponent, selector: "sky-tab-button", inputs: ["active", "ariaControls", "buttonHref", "buttonId", "buttonText", "buttonTextCount", "closeable", "disabled", "tabStyle"], outputs: ["buttonClick", "closeClick"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace$1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }], pipes: { "skyLibResources": i3__namespace.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2179
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsetComponent, decorators: [{
|
|
2180
|
+
type: i0.Component,
|
|
2181
|
+
args: [{
|
|
2182
|
+
selector: 'sky-tabset',
|
|
2183
|
+
styleUrls: ['./tabset.component.scss'],
|
|
2184
|
+
templateUrl: './tabset.component.html',
|
|
2185
|
+
providers: [
|
|
2186
|
+
SkyTabsetAdapterService,
|
|
2187
|
+
SkyTabsetPermalinkService,
|
|
2188
|
+
SkyTabsetService
|
|
2189
|
+
],
|
|
2190
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2191
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
2192
|
+
}]
|
|
2193
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: SkyTabsetAdapterService }, { type: SkyTabsetPermalinkService }, { type: SkyTabsetService }]; }, propDecorators: { active: [{
|
|
2194
|
+
type: i0.Input
|
|
2195
|
+
}], ariaLabel: [{
|
|
2196
|
+
type: i0.Input
|
|
2197
|
+
}], ariaLabelledBy: [{
|
|
2198
|
+
type: i0.Input
|
|
2199
|
+
}], permalinkId: [{
|
|
2200
|
+
type: i0.Input
|
|
2201
|
+
}], tabStyle: [{
|
|
2202
|
+
type: i0.Input
|
|
2203
|
+
}], activeChange: [{
|
|
2204
|
+
type: i0.Output
|
|
2205
|
+
}], newTab: [{
|
|
2206
|
+
type: i0.Output
|
|
2207
|
+
}], openTab: [{
|
|
2208
|
+
type: i0.Output
|
|
2209
|
+
}], tabIndexesChange: [{
|
|
2210
|
+
type: i0.Output
|
|
2211
|
+
}], tabs: [{
|
|
2212
|
+
type: i0.ContentChildren,
|
|
2213
|
+
args: [SkyTabComponent]
|
|
2214
|
+
}] } });
|
|
2356
2215
|
|
|
2357
2216
|
var SkyTabsModule = /** @class */ (function () {
|
|
2358
2217
|
function SkyTabsModule() {
|
|
2359
2218
|
}
|
|
2360
|
-
SkyTabsModule = __decorate([
|
|
2361
|
-
core.NgModule({
|
|
2362
|
-
declarations: [
|
|
2363
|
-
SkyTabButtonComponent,
|
|
2364
|
-
SkyTabComponent,
|
|
2365
|
-
SkyTabsetComponent,
|
|
2366
|
-
SkyTabsetNavButtonComponent
|
|
2367
|
-
],
|
|
2368
|
-
imports: [
|
|
2369
|
-
common.CommonModule,
|
|
2370
|
-
router.RouterModule,
|
|
2371
|
-
popovers.SkyDropdownModule,
|
|
2372
|
-
i18n.SkyI18nModule,
|
|
2373
|
-
indicators.SkyIconModule,
|
|
2374
|
-
SkyTabsResourcesModule,
|
|
2375
|
-
theme.SkyThemeModule
|
|
2376
|
-
],
|
|
2377
|
-
exports: [
|
|
2378
|
-
SkyTabComponent,
|
|
2379
|
-
SkyTabsetComponent,
|
|
2380
|
-
SkyTabsetNavButtonComponent
|
|
2381
|
-
]
|
|
2382
|
-
})
|
|
2383
|
-
], SkyTabsModule);
|
|
2384
2219
|
return SkyTabsModule;
|
|
2385
2220
|
}());
|
|
2221
|
+
SkyTabsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2222
|
+
SkyTabsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsModule, declarations: [SkyTabButtonComponent,
|
|
2223
|
+
SkyTabComponent,
|
|
2224
|
+
SkyTabsetComponent,
|
|
2225
|
+
SkyTabsetNavButtonComponent], imports: [i2.CommonModule,
|
|
2226
|
+
i1$1.RouterModule,
|
|
2227
|
+
i4$2.SkyDropdownModule,
|
|
2228
|
+
i3.SkyI18nModule,
|
|
2229
|
+
i4.SkyIconModule,
|
|
2230
|
+
SkyTabsResourcesModule,
|
|
2231
|
+
i4$1.SkyThemeModule], exports: [SkyTabComponent,
|
|
2232
|
+
SkyTabsetComponent,
|
|
2233
|
+
SkyTabsetNavButtonComponent] });
|
|
2234
|
+
SkyTabsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsModule, imports: [[
|
|
2235
|
+
i2.CommonModule,
|
|
2236
|
+
i1$1.RouterModule,
|
|
2237
|
+
i4$2.SkyDropdownModule,
|
|
2238
|
+
i3.SkyI18nModule,
|
|
2239
|
+
i4.SkyIconModule,
|
|
2240
|
+
SkyTabsResourcesModule,
|
|
2241
|
+
i4$1.SkyThemeModule
|
|
2242
|
+
]] });
|
|
2243
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyTabsModule, decorators: [{
|
|
2244
|
+
type: i0.NgModule,
|
|
2245
|
+
args: [{
|
|
2246
|
+
declarations: [
|
|
2247
|
+
SkyTabButtonComponent,
|
|
2248
|
+
SkyTabComponent,
|
|
2249
|
+
SkyTabsetComponent,
|
|
2250
|
+
SkyTabsetNavButtonComponent
|
|
2251
|
+
],
|
|
2252
|
+
imports: [
|
|
2253
|
+
i2.CommonModule,
|
|
2254
|
+
i1$1.RouterModule,
|
|
2255
|
+
i4$2.SkyDropdownModule,
|
|
2256
|
+
i3.SkyI18nModule,
|
|
2257
|
+
i4.SkyIconModule,
|
|
2258
|
+
SkyTabsResourcesModule,
|
|
2259
|
+
i4$1.SkyThemeModule
|
|
2260
|
+
],
|
|
2261
|
+
exports: [
|
|
2262
|
+
SkyTabComponent,
|
|
2263
|
+
SkyTabsetComponent,
|
|
2264
|
+
SkyTabsetNavButtonComponent
|
|
2265
|
+
]
|
|
2266
|
+
}]
|
|
2267
|
+
}] });
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Generated bundle index. Do not edit.
|
|
2271
|
+
*/
|
|
2386
2272
|
|
|
2387
2273
|
exports.SkySectionedFormComponent = SkySectionedFormComponent;
|
|
2388
2274
|
exports.SkySectionedFormModule = SkySectionedFormModule;
|
|
2389
2275
|
exports.SkySectionedFormService = SkySectionedFormService;
|
|
2390
2276
|
exports.SkyTabsModule = SkyTabsModule;
|
|
2391
2277
|
exports.SkyVerticalTabsetModule = SkyVerticalTabsetModule;
|
|
2392
|
-
exports
|
|
2393
|
-
exports
|
|
2394
|
-
exports
|
|
2395
|
-
exports
|
|
2396
|
-
exports
|
|
2397
|
-
exports
|
|
2398
|
-
exports
|
|
2399
|
-
exports.ɵh = SkyVerticalTabsetComponent;
|
|
2400
|
-
exports.ɵi = SkyVerticalTabsetGroupComponent;
|
|
2401
|
-
exports.ɵj = SkyTabsResourcesModule;
|
|
2402
|
-
exports.ɵk = SkyTabsResourcesProvider;
|
|
2403
|
-
exports.ɵl = SkyTabButtonComponent;
|
|
2404
|
-
exports.ɵm = SkyTabComponent;
|
|
2405
|
-
exports.ɵn = SkyTabsetPermalinkService;
|
|
2406
|
-
exports.ɵo = SkyTabsetService;
|
|
2407
|
-
exports.ɵp = SkyTabsetComponent;
|
|
2408
|
-
exports.ɵq = SkyTabsetAdapterService;
|
|
2409
|
-
exports.ɵr = SkyTabsetNavButtonComponent;
|
|
2278
|
+
exports.λ1 = SkyTabComponent;
|
|
2279
|
+
exports.λ2 = SkyTabsetComponent;
|
|
2280
|
+
exports.λ3 = SkyTabsetNavButtonComponent;
|
|
2281
|
+
exports.λ4 = SkyVerticalTabComponent;
|
|
2282
|
+
exports.λ5 = SkySectionedFormSectionComponent;
|
|
2283
|
+
exports.λ6 = SkyVerticalTabsetComponent;
|
|
2284
|
+
exports.λ7 = SkyVerticalTabsetGroupComponent;
|
|
2410
2285
|
|
|
2411
2286
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2412
2287
|
|