@skyux/flyout 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/skyux-flyout.umd.js +97 -96
- package/documentation.json +38 -38
- package/esm2015/lib/modules/flyout/flyout-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/flyout/flyout-instance.js.map +1 -1
- package/esm2015/lib/modules/flyout/flyout-iterator.component.js.map +1 -1
- package/esm2015/lib/modules/flyout/flyout-media-query.service.js.map +1 -1
- package/esm2015/lib/modules/flyout/flyout.component.js +6 -5
- package/esm2015/lib/modules/flyout/flyout.component.js.map +1 -1
- package/esm2015/lib/modules/flyout/flyout.module.js +3 -3
- package/esm2015/lib/modules/flyout/flyout.module.js.map +1 -1
- package/esm2015/lib/modules/flyout/flyout.service.js +1 -1
- package/esm2015/lib/modules/flyout/flyout.service.js.map +1 -1
- package/esm2015/lib/modules/flyout/types/flyout-config.js.map +1 -1
- package/esm2015/lib/modules/shared/sky-flyout-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-flyout-resources.module.js.map +1 -1
- package/fesm2015/skyux-flyout.js +67 -66
- package/fesm2015/skyux-flyout.js.map +1 -1
- package/lib/modules/flyout/flyout-iterator.component.d.ts +1 -1
- package/lib/modules/flyout/flyout.component.d.ts +2 -2
- package/lib/modules/flyout/flyout.service.d.ts +1 -1
- package/package.json +6 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/cdk/a11y'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@skyux/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/flyout', ['exports', '@angular/core', 'rxjs', '@angular/cdk/a11y', '@angular/common', '@angular/forms', '@angular/router', '@skyux/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.flyout = {}), global.ng.core, global.rxjs, global.ng.cdk.a11y, global.ng.common, global.ng.forms, global.ng.router, global.
|
|
5
|
-
})(this, (function (exports, i0, rxjs, i9, i7, forms, i2$2,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/cdk/a11y'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@skyux/i18n'), require('@skyux/indicators'), require('@skyux/router'), require('@skyux/theme'), require('@angular/animations'), require('@skyux/core'), require('rxjs/operators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@skyux/flyout', ['exports', '@angular/core', 'rxjs', '@angular/cdk/a11y', '@angular/common', '@angular/forms', '@angular/router', '@skyux/i18n', '@skyux/indicators', '@skyux/router', '@skyux/theme', '@angular/animations', '@skyux/core', 'rxjs/operators'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.flyout = {}), global.ng.core, global.rxjs, global.ng.cdk.a11y, global.ng.common, global.ng.forms, global.ng.router, global.i2, global.i1, global.i10, global.i2$1, global.ng.animations, global.i1$1, global.rxjs.operators));
|
|
5
|
+
})(this, (function (exports, i0, rxjs, i9, i7, forms, i2$2, i2, i1, i10, i2$1, animations, i1$1, operators) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
27
27
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
28
28
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
29
|
-
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
30
29
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
31
31
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
32
32
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2$1);
|
|
33
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
33
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* @internal
|
|
@@ -234,6 +234,68 @@
|
|
|
234
234
|
}]
|
|
235
235
|
}] });
|
|
236
236
|
|
|
237
|
+
/**
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
var SkyFlyoutIteratorComponent = /** @class */ (function () {
|
|
241
|
+
function SkyFlyoutIteratorComponent() {
|
|
242
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
243
|
+
this._nextButtonClick = new i0.EventEmitter();
|
|
244
|
+
this._previousButtonClick = new i0.EventEmitter();
|
|
245
|
+
}
|
|
246
|
+
Object.defineProperty(SkyFlyoutIteratorComponent.prototype, "previousButtonClick", {
|
|
247
|
+
get: function () {
|
|
248
|
+
return this._previousButtonClick;
|
|
249
|
+
},
|
|
250
|
+
enumerable: false,
|
|
251
|
+
configurable: true
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(SkyFlyoutIteratorComponent.prototype, "nextButtonClick", {
|
|
254
|
+
get: function () {
|
|
255
|
+
return this._nextButtonClick;
|
|
256
|
+
},
|
|
257
|
+
enumerable: false,
|
|
258
|
+
configurable: true
|
|
259
|
+
});
|
|
260
|
+
SkyFlyoutIteratorComponent.prototype.ngOnDestroy = function () {
|
|
261
|
+
this.ngUnsubscribe.next();
|
|
262
|
+
this.ngUnsubscribe.complete();
|
|
263
|
+
this._previousButtonClick.complete();
|
|
264
|
+
this._nextButtonClick.complete();
|
|
265
|
+
};
|
|
266
|
+
SkyFlyoutIteratorComponent.prototype.onIteratorPreviousClick = function () {
|
|
267
|
+
/* istanbul ignore else */
|
|
268
|
+
if (!this.previousButtonDisabled) {
|
|
269
|
+
this._previousButtonClick.emit();
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
SkyFlyoutIteratorComponent.prototype.onIteratorNextClick = function () {
|
|
273
|
+
/* istanbul ignore else */
|
|
274
|
+
if (!this.nextButtonDisabled) {
|
|
275
|
+
this._nextButtonClick.emit();
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
return SkyFlyoutIteratorComponent;
|
|
279
|
+
}());
|
|
280
|
+
SkyFlyoutIteratorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutIteratorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
281
|
+
SkyFlyoutIteratorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyFlyoutIteratorComponent, selector: "sky-flyout-iterator", inputs: { nextButtonDisabled: "nextButtonDisabled", previousButtonDisabled: "previousButtonDisabled" }, outputs: { previousButtonClick: "previousButtonClick", nextButtonClick: "nextButtonClick" }, ngImport: i0__namespace, template: "<div id=\"iterators\" class=\"sky-flyout-iterators\">\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"\n 'skyux_flyout_iterator_previous_button' | skyLibResources\n \"\n [disabled]=\"previousButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorPreviousClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-up\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-up\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"'skyux_flyout_iterator_next_button' | skyLibResources\"\n [disabled]=\"nextButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorNextClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-down\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-down\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n</div>\n", styles: [":host-context(.sky-theme-modern) .sky-flyout-iterators{display:inline}.sky-theme-modern .sky-flyout-iterators{display:inline}\n"], components: [{ type: i1__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }], pipes: { "skyLibResources": i2__namespace$1.SkyLibResourcesPipe } });
|
|
282
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutIteratorComponent, decorators: [{
|
|
283
|
+
type: i0.Component,
|
|
284
|
+
args: [{
|
|
285
|
+
selector: 'sky-flyout-iterator',
|
|
286
|
+
template: "<div id=\"iterators\" class=\"sky-flyout-iterators\">\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"\n 'skyux_flyout_iterator_previous_button' | skyLibResources\n \"\n [disabled]=\"previousButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorPreviousClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-up\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-up\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"'skyux_flyout_iterator_next_button' | skyLibResources\"\n [disabled]=\"nextButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorNextClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-down\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-down\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n</div>\n",
|
|
287
|
+
styles: [":host-context(.sky-theme-modern) .sky-flyout-iterators{display:inline}.sky-theme-modern .sky-flyout-iterators{display:inline}\n"],
|
|
288
|
+
}]
|
|
289
|
+
}], propDecorators: { nextButtonDisabled: [{
|
|
290
|
+
type: i0.Input
|
|
291
|
+
}], previousButtonDisabled: [{
|
|
292
|
+
type: i0.Input
|
|
293
|
+
}], previousButtonClick: [{
|
|
294
|
+
type: i0.Output
|
|
295
|
+
}], nextButtonClick: [{
|
|
296
|
+
type: i0.Output
|
|
297
|
+
}] } });
|
|
298
|
+
|
|
237
299
|
/**
|
|
238
300
|
* @internal
|
|
239
301
|
*/
|
|
@@ -258,15 +320,15 @@
|
|
|
258
320
|
this.renderer.removeClass(nativeEl, 'sky-responsive-container-lg');
|
|
259
321
|
var newClass;
|
|
260
322
|
switch (breakpoint) {
|
|
261
|
-
case i1.SkyMediaBreakpoints.xs: {
|
|
323
|
+
case i1$1.SkyMediaBreakpoints.xs: {
|
|
262
324
|
newClass = 'sky-responsive-container-xs';
|
|
263
325
|
break;
|
|
264
326
|
}
|
|
265
|
-
case i1.SkyMediaBreakpoints.sm: {
|
|
327
|
+
case i1$1.SkyMediaBreakpoints.sm: {
|
|
266
328
|
newClass = 'sky-responsive-container-sm';
|
|
267
329
|
break;
|
|
268
330
|
}
|
|
269
|
-
case i1.SkyMediaBreakpoints.md: {
|
|
331
|
+
case i1$1.SkyMediaBreakpoints.md: {
|
|
270
332
|
newClass = 'sky-responsive-container-md';
|
|
271
333
|
break;
|
|
272
334
|
}
|
|
@@ -289,11 +351,11 @@
|
|
|
289
351
|
};
|
|
290
352
|
return SkyFlyoutAdapterService;
|
|
291
353
|
}());
|
|
292
|
-
SkyFlyoutAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }, { token: i1__namespace.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
354
|
+
SkyFlyoutAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }, { token: i1__namespace$1.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
293
355
|
SkyFlyoutAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutAdapterService });
|
|
294
356
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutAdapterService, decorators: [{
|
|
295
357
|
type: i0.Injectable
|
|
296
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }, { type: i1__namespace.SkyAppWindowRef }]; } });
|
|
358
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }, { type: i1__namespace$1.SkyAppWindowRef }]; } });
|
|
297
359
|
|
|
298
360
|
/**
|
|
299
361
|
* @internal
|
|
@@ -301,7 +363,7 @@
|
|
|
301
363
|
var SkyFlyoutMediaQueryService = /** @class */ (function () {
|
|
302
364
|
function SkyFlyoutMediaQueryService() {
|
|
303
365
|
this.currentSubject = new rxjs.BehaviorSubject(this.current);
|
|
304
|
-
this._current = i1.SkyMediaBreakpoints.xs;
|
|
366
|
+
this._current = i1$1.SkyMediaBreakpoints.xs;
|
|
305
367
|
this.currentSubject.next(this._current);
|
|
306
368
|
}
|
|
307
369
|
Object.defineProperty(SkyFlyoutMediaQueryService.prototype, "current", {
|
|
@@ -320,17 +382,17 @@
|
|
|
320
382
|
};
|
|
321
383
|
SkyFlyoutMediaQueryService.prototype.setBreakpointForWidth = function (width) {
|
|
322
384
|
var breakpoint;
|
|
323
|
-
if (this.isWidthWithinBreakpiont(width, i1.SkyMediaBreakpoints.xs)) {
|
|
324
|
-
breakpoint = i1.SkyMediaBreakpoints.xs;
|
|
385
|
+
if (this.isWidthWithinBreakpiont(width, i1$1.SkyMediaBreakpoints.xs)) {
|
|
386
|
+
breakpoint = i1$1.SkyMediaBreakpoints.xs;
|
|
325
387
|
}
|
|
326
|
-
else if (this.isWidthWithinBreakpiont(width, i1.SkyMediaBreakpoints.sm)) {
|
|
327
|
-
breakpoint = i1.SkyMediaBreakpoints.sm;
|
|
388
|
+
else if (this.isWidthWithinBreakpiont(width, i1$1.SkyMediaBreakpoints.sm)) {
|
|
389
|
+
breakpoint = i1$1.SkyMediaBreakpoints.sm;
|
|
328
390
|
}
|
|
329
|
-
else if (this.isWidthWithinBreakpiont(width, i1.SkyMediaBreakpoints.md)) {
|
|
330
|
-
breakpoint = i1.SkyMediaBreakpoints.md;
|
|
391
|
+
else if (this.isWidthWithinBreakpiont(width, i1$1.SkyMediaBreakpoints.md)) {
|
|
392
|
+
breakpoint = i1$1.SkyMediaBreakpoints.md;
|
|
331
393
|
}
|
|
332
394
|
else {
|
|
333
|
-
breakpoint = i1.SkyMediaBreakpoints.lg;
|
|
395
|
+
breakpoint = i1$1.SkyMediaBreakpoints.lg;
|
|
334
396
|
}
|
|
335
397
|
this._current = breakpoint;
|
|
336
398
|
this.currentSubject.next(this._current);
|
|
@@ -343,13 +405,13 @@
|
|
|
343
405
|
var mdBreakpointMaxPixels = 1199;
|
|
344
406
|
var lgBreakpointMinPixels = 1200;
|
|
345
407
|
switch (breakpoint) {
|
|
346
|
-
case i1.SkyMediaBreakpoints.xs: {
|
|
408
|
+
case i1$1.SkyMediaBreakpoints.xs: {
|
|
347
409
|
return width <= xsBreakpointMaxPixels;
|
|
348
410
|
}
|
|
349
|
-
case i1.SkyMediaBreakpoints.sm: {
|
|
411
|
+
case i1$1.SkyMediaBreakpoints.sm: {
|
|
350
412
|
return width >= smBreakpointMinPixels && width <= smBreakpointMaxPixels;
|
|
351
413
|
}
|
|
352
|
-
case i1.SkyMediaBreakpoints.md: {
|
|
414
|
+
case i1$1.SkyMediaBreakpoints.md: {
|
|
353
415
|
return width >= mdBreakpointMinPixels && width <= mdBreakpointMaxPixels;
|
|
354
416
|
}
|
|
355
417
|
default: {
|
|
@@ -378,68 +440,6 @@
|
|
|
378
440
|
return SkyFlyoutBeforeCloseHandler;
|
|
379
441
|
}());
|
|
380
442
|
|
|
381
|
-
/**
|
|
382
|
-
* @internal
|
|
383
|
-
*/
|
|
384
|
-
var SkyFlyoutIteratorComponent = /** @class */ (function () {
|
|
385
|
-
function SkyFlyoutIteratorComponent() {
|
|
386
|
-
this.ngUnsubscribe = new rxjs.Subject();
|
|
387
|
-
this._nextButtonClick = new i0.EventEmitter();
|
|
388
|
-
this._previousButtonClick = new i0.EventEmitter();
|
|
389
|
-
}
|
|
390
|
-
Object.defineProperty(SkyFlyoutIteratorComponent.prototype, "previousButtonClick", {
|
|
391
|
-
get: function () {
|
|
392
|
-
return this._previousButtonClick;
|
|
393
|
-
},
|
|
394
|
-
enumerable: false,
|
|
395
|
-
configurable: true
|
|
396
|
-
});
|
|
397
|
-
Object.defineProperty(SkyFlyoutIteratorComponent.prototype, "nextButtonClick", {
|
|
398
|
-
get: function () {
|
|
399
|
-
return this._nextButtonClick;
|
|
400
|
-
},
|
|
401
|
-
enumerable: false,
|
|
402
|
-
configurable: true
|
|
403
|
-
});
|
|
404
|
-
SkyFlyoutIteratorComponent.prototype.ngOnDestroy = function () {
|
|
405
|
-
this.ngUnsubscribe.next();
|
|
406
|
-
this.ngUnsubscribe.complete();
|
|
407
|
-
this._previousButtonClick.complete();
|
|
408
|
-
this._nextButtonClick.complete();
|
|
409
|
-
};
|
|
410
|
-
SkyFlyoutIteratorComponent.prototype.onIteratorPreviousClick = function () {
|
|
411
|
-
/* istanbul ignore else */
|
|
412
|
-
if (!this.previousButtonDisabled) {
|
|
413
|
-
this._previousButtonClick.emit();
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
SkyFlyoutIteratorComponent.prototype.onIteratorNextClick = function () {
|
|
417
|
-
/* istanbul ignore else */
|
|
418
|
-
if (!this.nextButtonDisabled) {
|
|
419
|
-
this._nextButtonClick.emit();
|
|
420
|
-
}
|
|
421
|
-
};
|
|
422
|
-
return SkyFlyoutIteratorComponent;
|
|
423
|
-
}());
|
|
424
|
-
SkyFlyoutIteratorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutIteratorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
425
|
-
SkyFlyoutIteratorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyFlyoutIteratorComponent, selector: "sky-flyout-iterator", inputs: { nextButtonDisabled: "nextButtonDisabled", previousButtonDisabled: "previousButtonDisabled" }, outputs: { previousButtonClick: "previousButtonClick", nextButtonClick: "nextButtonClick" }, ngImport: i0__namespace, template: "<div id=\"iterators\" class=\"sky-flyout-iterators\">\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"\n 'skyux_flyout_iterator_previous_button' | skyLibResources\n \"\n [disabled]=\"previousButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorPreviousClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-up\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-up\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"'skyux_flyout_iterator_next_button' | skyLibResources\"\n [disabled]=\"nextButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorNextClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-down\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-down\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n</div>\n", styles: [":host-context(.sky-theme-modern) .sky-flyout-iterators{display:inline}.sky-theme-modern .sky-flyout-iterators{display:inline}\n"], components: [{ type: i1__namespace$1.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }], pipes: { "skyLibResources": i2__namespace$1.SkyLibResourcesPipe } });
|
|
426
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutIteratorComponent, decorators: [{
|
|
427
|
-
type: i0.Component,
|
|
428
|
-
args: [{
|
|
429
|
-
selector: 'sky-flyout-iterator',
|
|
430
|
-
template: "<div id=\"iterators\" class=\"sky-flyout-iterators\">\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"\n 'skyux_flyout_iterator_previous_button' | skyLibResources\n \"\n [disabled]=\"previousButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorPreviousClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-up\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-up\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n <button\n class=\"sky-btn\"\n [attr.aria-label]=\"'skyux_flyout_iterator_next_button' | skyLibResources\"\n [disabled]=\"nextButtonDisabled\"\n [skyThemeClass]=\"{\n 'sky-btn-default sky-margin-inline-compact': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-sm': 'modern'\n }\"\n (click)=\"onIteratorNextClick()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-down\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-down\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n</div>\n",
|
|
431
|
-
styles: [":host-context(.sky-theme-modern) .sky-flyout-iterators{display:inline}.sky-theme-modern .sky-flyout-iterators{display:inline}\n"],
|
|
432
|
-
}]
|
|
433
|
-
}], propDecorators: { nextButtonDisabled: [{
|
|
434
|
-
type: i0.Input
|
|
435
|
-
}], previousButtonDisabled: [{
|
|
436
|
-
type: i0.Input
|
|
437
|
-
}], previousButtonClick: [{
|
|
438
|
-
type: i0.Output
|
|
439
|
-
}], nextButtonClick: [{
|
|
440
|
-
type: i0.Output
|
|
441
|
-
}] } });
|
|
442
|
-
|
|
443
443
|
var FLYOUT_OPEN_STATE = 'flyoutOpen';
|
|
444
444
|
var FLYOUT_CLOSED_STATE = 'flyoutClosed';
|
|
445
445
|
var nextId = 0;
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
this.ngUnsubscribe.complete();
|
|
540
540
|
};
|
|
541
541
|
SkyFlyoutComponent.prototype.onWindowResize = function (event) {
|
|
542
|
-
if (this.flyoutMediaQueryService.isWidthWithinBreakpiont(event.target.innerWidth, i1.SkyMediaBreakpoints.xs)) {
|
|
542
|
+
if (this.flyoutMediaQueryService.isWidthWithinBreakpiont(event.target.innerWidth, i1$1.SkyMediaBreakpoints.xs)) {
|
|
543
543
|
this.updateBreakpointAndResponsiveClass(event.target.innerWidth);
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
this.xCoord = this.windowBufferSize;
|
|
806
806
|
this.setUserData();
|
|
807
807
|
}
|
|
808
|
-
if (this.flyoutMediaQueryService.isWidthWithinBreakpiont(window.innerWidth, i1.SkyMediaBreakpoints.xs)) {
|
|
808
|
+
if (this.flyoutMediaQueryService.isWidthWithinBreakpiont(window.innerWidth, i1$1.SkyMediaBreakpoints.xs)) {
|
|
809
809
|
this.updateBreakpointAndResponsiveClass(window.innerWidth);
|
|
810
810
|
}
|
|
811
811
|
else {
|
|
@@ -831,6 +831,7 @@
|
|
|
831
831
|
if (this.resizeKeyControlActive) {
|
|
832
832
|
this.resizeKeyControlActive = false;
|
|
833
833
|
}
|
|
834
|
+
break;
|
|
834
835
|
case 'left':
|
|
835
836
|
if (this.resizeKeyControlActive) {
|
|
836
837
|
/* istanbul ignore else */
|
|
@@ -874,12 +875,12 @@
|
|
|
874
875
|
};
|
|
875
876
|
return SkyFlyoutComponent;
|
|
876
877
|
}());
|
|
877
|
-
SkyFlyoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutComponent, deps: [{ token: SkyFlyoutAdapterService }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.Injector }, { token: i0__namespace.ComponentFactoryResolver }, { token: i2__namespace$1.SkyLibResourcesService }, { token: SkyFlyoutMediaQueryService }, { token: i0__namespace.ElementRef }, { token: i1__namespace.SkyUIConfigService }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
878
|
+
SkyFlyoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutComponent, deps: [{ token: SkyFlyoutAdapterService }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.Injector }, { token: i0__namespace.ComponentFactoryResolver }, { token: i2__namespace$1.SkyLibResourcesService }, { token: SkyFlyoutMediaQueryService }, { token: i0__namespace.ElementRef }, { token: i1__namespace$1.SkyUIConfigService }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
878
879
|
SkyFlyoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyFlyoutComponent, selector: "sky-flyout", host: { listeners: { "window:resize": "onWindowResize($event)" } }, providers: [
|
|
879
880
|
SkyFlyoutAdapterService,
|
|
880
881
|
SkyFlyoutMediaQueryService,
|
|
881
|
-
{ provide: i1.SkyMediaQueryService, useExisting: SkyFlyoutMediaQueryService },
|
|
882
|
-
], viewQueries: [{ propertyName: "flyoutRef", first: true, predicate: ["flyoutRef"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "target", first: true, predicate: ["target"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "flyoutCloseButton", first: true, predicate: ["flyoutCloseButton"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "flyoutContent", first: true, predicate: ["flyoutContent"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "flyoutHeader", first: true, predicate: ["flyoutHeader"], descendants: true, read: i0.ElementRef, static: true }], ngImport: i0__namespace, template: "<div\n class=\"sky-flyout\"\n tabindex=\"-1\"\n [attr.role]=\"config?.ariaRole ? config.ariaRole : 'dialog'\"\n [attr.aria-describedby]=\"config?.ariaDescribedBy\"\n [attr.aria-label]=\"config?.ariaLabel\"\n [attr.aria-labelledby]=\"config?.ariaLabelledBy\"\n [attr.aria-modal]=\"\n config?.ariaRole === 'dialog' || !config?.ariaRole ? true : false\n \"\n [attr.hidden]=\"!instanceReady ? true : undefined\"\n [id]=\"flyoutId\"\n [ngClass]=\"{\n 'sky-flyout-hidden': !isOpen && !isOpening,\n 'sky-flyout-fullscreen': isFullscreen\n }\"\n [skyThemeClass]=\"{\n 'sky-shadow': 'default',\n 'sky-elevation-8': 'modern'\n }\"\n (@flyoutState.done)=\"animationDone($event)\"\n [@flyoutState]=\"getAnimationState()\"\n [style.width.px]=\"flyoutWidth\"\n #flyoutRef\n [cdkTrapFocus]=\"enableTrapFocus\"\n [cdkTrapFocusAutoCapture]=\"enableTrapFocusAutoCapture\"\n>\n <div\n class=\"sky-flyout-header\"\n [skyThemeClass]=\"{\n 'sky-padding-squish-large': 'default'\n }\"\n #flyoutHeader\n >\n <div class=\"sky-flyout-header-content\">\n <button\n *skyThemeIf=\"'modern'\"\n class=\"\n sky-btn\n sky-btn-icon-borderless\n sky-margin-inline-sm\n sky-flyout-header-grab-handle\n \"\n [attr.aria-label]=\"'skyux_flyout_resize_handle' | skyLibResources\"\n (keydown)=\"onHeaderGrabHandleKeyDown($event)\"\n (mousedown)=\"onHeaderGrabHandleMouseDown($event)\"\n >\n <sky-icon icon=\"tile-drag\" iconType=\"skyux\" size=\"lg\"> </sky-icon>\n </button>\n\n <sky-flyout-iterator\n *ngIf=\"config.showIterator\"\n [nextButtonDisabled]=\"config.iteratorNextButtonDisabled\"\n [previousButtonDisabled]=\"config.iteratorPreviousButtonDisabled\"\n (nextButtonClick)=\"onIteratorNextButtonClick()\"\n (previousButtonClick)=\"onIteratorPreviousButtonClick()\"\n >\n </sky-flyout-iterator>\n </div>\n <div class=\"sky-flyout-header-buttons\">\n <ng-container *ngTemplateOutlet=\"permalinkTemplate\"> </ng-container>\n <ng-container *ngTemplateOutlet=\"primaryActionTemplate\"> </ng-container>\n <button\n class=\"sky-btn sky-flyout-btn-close sky-label-icon-theme-default\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_flyout_close' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-btn-default': 'default',\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"close()\"\n #flyoutCloseButton\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"close\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"close\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n </div>\n </div>\n <div class=\"sky-flyout-content\" #flyoutContent>\n <div #target></div>\n </div>\n <div\n class=\"sky-flyout-resize-handle\"\n role=\"separator\"\n tabindex=\"0\"\n type=\"range\"\n [attr.aria-controls]=\"flyoutId\"\n [attr.aria-label]=\"'skyux_flyout_resize_handle' | skyLibResources\"\n [attr.aria-valuemax]=\"config.maxWidth\"\n [attr.aria-valuemin]=\"config.minWidth\"\n [attr.aria-valuenow]=\"flyoutWidth\"\n (keydown)=\"onResizeHandleKeyDown($event)\"\n (mousedown)=\"onResizeHandleMouseDown($event)\"\n ></div>\n</div>\n\n<ng-template #permalinkTemplate>\n <ng-template [ngIf]=\"permalink\">\n <ng-template [ngIf]=\"permalink.url\">\n <a\n class=\"sky-btn sky-flyout-btn-permalink sky-margin-inline-default\"\n [skyHref]=\"permalink.url\"\n [skyThemeClass]=\"{\n 'sky-btn-default': 'default',\n 'sky-btn-borderless': 'modern'\n }\"\n (click)=\"close()\"\n >\n {{ permalinkLabel }}\n </a>\n </ng-template>\n <ng-template [ngIf]=\"permalink.route\">\n <a\n class=\"sky-btn sky-flyout-btn-permalink sky-margin-inline-default\"\n [routerLink]=\"permalink.route.commands\"\n [fragment]=\"permalink.route.extras?.fragment\"\n [skyThemeClass]=\"{\n 'sky-btn-default': 'default',\n 'sky-btn-borderless': 'modern'\n }\"\n [queryParams]=\"permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"permalink.route.extras?.queryParamsHandling\"\n [state]=\"permalink.route.extras?.state\"\n (click)=\"close()\"\n >\n {{ permalinkLabel }}\n </a>\n </ng-template>\n </ng-template>\n</ng-template>\n\n<ng-template #primaryActionTemplate>\n <ng-template [ngIf]=\"primaryAction && primaryAction.callback\">\n <button\n type=\"button\"\n class=\"\n sky-btn\n sky-btn-default\n sky-flyout-btn-primary-action\n sky-margin-inline-default\n \"\n (click)=\"invokePrimaryAction()\"\n >\n {{ primaryActionLabel }}\n </button>\n </ng-template>\n</ng-template>\n", styles: [".sky-flyout{position:fixed;right:0;top:0;bottom:0;height:100%;background-color:#fff;border-left:6px solid #0974a1;z-index:1001}.sky-flyout:focus{outline:none}.sky-flyout.sky-flyout-fullscreen{min-width:100%;max-width:100%}.sky-flyout.sky-flyout-fullscreen .sky-flyout-resize-handle{cursor:initial}.sky-flyout.sky-flyout-hidden{visibility:hidden}.sky-flyout .sky-flyout-input-aria-only{width:0;height:0;padding:0;opacity:0;position:absolute;margin:-1px;border:0;overflow:hidden;clip:rect(0 0 0 0);outline:none}.sky-flyout-resize-handle{-webkit-appearance:none;-moz-appearance:none;height:100%;width:14px;position:absolute;left:-10px;cursor:ew-resize;padding:0;border:0;background:transparent;display:block;top:0;bottom:0;direction:rtl}.sky-flyout-resize-handle::-moz-range-thumb,.sky-flyout-resize-handle::-moz-range-track{-webkit-appearance:none;-moz-appearance:none;width:0;height:0;border-radius:0;border:0 none;background:none;display:none}.sky-flyout-resize-handle::-ms-thumb,.sky-flyout-resize-handle::-ms-track{-webkit-appearance:none;-moz-appearance:none;width:0;height:0;border-radius:0;border:0 none;background:none;display:none}.sky-flyout-resize-handle::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;width:0;height:0;border-radius:0;border:0 none;background:none;display:none}.sky-flyout-header{border-bottom:1px solid #cdcfd2;width:100%;background:#eeeeef;height:50px;display:flex;align-items:flex-start}.sky-flyout-header-content{flex-grow:1}.sky-flyout-btn-permalink:hover{text-decoration:none}.sky-flyout-help-shim{padding-right:8px}@media (min-width: 768px){.sky-flyout-help-shim{padding-right:50px}}.sky-flyout-content{overflow-y:auto;height:calc(100% - 50px)}:host-context(.sky-theme-modern) .sky-flyout{border-left:0}:host-context(.sky-theme-modern) .sky-flyout-header{border-bottom:none;background:#fff;padding:15px 10px}:host-context(.sky-theme-modern) .sky-flyout-header-grab-handle{cursor:move;cursor:-moz-grab}.sky-theme-modern .sky-flyout{border-left:0}.sky-theme-modern .sky-flyout-header{border-bottom:none;background:#fff;padding:15px 10px}.sky-theme-modern .sky-flyout-header-grab-handle{cursor:move;cursor:-moz-grab}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-flyout{background:#000}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-flyout-header{background:#000}.sky-theme-modern.sky-theme-mode-dark .sky-flyout{background:#000}.sky-theme-modern.sky-theme-mode-dark .sky-flyout-header{background:#000}\n"], components: [{ type: i1__namespace
|
|
882
|
+
{ provide: i1$1.SkyMediaQueryService, useExisting: SkyFlyoutMediaQueryService },
|
|
883
|
+
], viewQueries: [{ propertyName: "flyoutRef", first: true, predicate: ["flyoutRef"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "target", first: true, predicate: ["target"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "flyoutCloseButton", first: true, predicate: ["flyoutCloseButton"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "flyoutContent", first: true, predicate: ["flyoutContent"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "flyoutHeader", first: true, predicate: ["flyoutHeader"], descendants: true, read: i0.ElementRef, static: true }], ngImport: i0__namespace, template: "<div\n class=\"sky-flyout\"\n tabindex=\"-1\"\n [attr.role]=\"config?.ariaRole ? config.ariaRole : 'dialog'\"\n [attr.aria-describedby]=\"config?.ariaDescribedBy\"\n [attr.aria-label]=\"config?.ariaLabel\"\n [attr.aria-labelledby]=\"config?.ariaLabelledBy\"\n [attr.aria-modal]=\"\n config?.ariaRole === 'dialog' || !config?.ariaRole ? true : false\n \"\n [attr.hidden]=\"!instanceReady ? true : undefined\"\n [id]=\"flyoutId\"\n [ngClass]=\"{\n 'sky-flyout-hidden': !isOpen && !isOpening,\n 'sky-flyout-fullscreen': isFullscreen\n }\"\n [skyThemeClass]=\"{\n 'sky-shadow': 'default',\n 'sky-elevation-8': 'modern'\n }\"\n (@flyoutState.done)=\"animationDone($event)\"\n [@flyoutState]=\"getAnimationState()\"\n [style.width.px]=\"flyoutWidth\"\n #flyoutRef\n [cdkTrapFocus]=\"enableTrapFocus\"\n [cdkTrapFocusAutoCapture]=\"enableTrapFocusAutoCapture\"\n>\n <div\n class=\"sky-flyout-header\"\n [skyThemeClass]=\"{\n 'sky-padding-squish-large': 'default'\n }\"\n #flyoutHeader\n >\n <div class=\"sky-flyout-header-content\">\n <button\n *skyThemeIf=\"'modern'\"\n class=\"\n sky-btn\n sky-btn-icon-borderless\n sky-margin-inline-sm\n sky-flyout-header-grab-handle\n \"\n [attr.aria-label]=\"'skyux_flyout_resize_handle' | skyLibResources\"\n (keydown)=\"onHeaderGrabHandleKeyDown($event)\"\n (mousedown)=\"onHeaderGrabHandleMouseDown($event)\"\n >\n <sky-icon icon=\"tile-drag\" iconType=\"skyux\" size=\"lg\"> </sky-icon>\n </button>\n\n <sky-flyout-iterator\n *ngIf=\"config.showIterator\"\n [nextButtonDisabled]=\"config.iteratorNextButtonDisabled\"\n [previousButtonDisabled]=\"config.iteratorPreviousButtonDisabled\"\n (nextButtonClick)=\"onIteratorNextButtonClick()\"\n (previousButtonClick)=\"onIteratorPreviousButtonClick()\"\n >\n </sky-flyout-iterator>\n </div>\n <div class=\"sky-flyout-header-buttons\">\n <ng-container *ngTemplateOutlet=\"permalinkTemplate\"> </ng-container>\n <ng-container *ngTemplateOutlet=\"primaryActionTemplate\"> </ng-container>\n <button\n class=\"sky-btn sky-flyout-btn-close sky-label-icon-theme-default\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_flyout_close' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-btn-default': 'default',\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"close()\"\n #flyoutCloseButton\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"close\"> </sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"close\"\n iconType=\"skyux\"\n size=\"lg\"\n >\n </sky-icon>\n </button>\n </div>\n </div>\n <div class=\"sky-flyout-content\" #flyoutContent>\n <div #target></div>\n </div>\n <div\n class=\"sky-flyout-resize-handle\"\n role=\"separator\"\n tabindex=\"0\"\n type=\"range\"\n [attr.aria-controls]=\"flyoutId\"\n [attr.aria-label]=\"'skyux_flyout_resize_handle' | skyLibResources\"\n [attr.aria-valuemax]=\"config.maxWidth\"\n [attr.aria-valuemin]=\"config.minWidth\"\n [attr.aria-valuenow]=\"flyoutWidth\"\n (keydown)=\"onResizeHandleKeyDown($event)\"\n (mousedown)=\"onResizeHandleMouseDown($event)\"\n ></div>\n</div>\n\n<ng-template #permalinkTemplate>\n <ng-template [ngIf]=\"permalink\">\n <ng-template [ngIf]=\"permalink.url\">\n <a\n class=\"sky-btn sky-flyout-btn-permalink sky-margin-inline-default\"\n [skyHref]=\"permalink.url\"\n [skyThemeClass]=\"{\n 'sky-btn-default': 'default',\n 'sky-btn-borderless': 'modern'\n }\"\n (click)=\"close()\"\n >\n {{ permalinkLabel }}\n </a>\n </ng-template>\n <ng-template [ngIf]=\"permalink.route\">\n <a\n class=\"sky-btn sky-flyout-btn-permalink sky-margin-inline-default\"\n [routerLink]=\"permalink.route.commands\"\n [fragment]=\"permalink.route.extras?.fragment\"\n [skyThemeClass]=\"{\n 'sky-btn-default': 'default',\n 'sky-btn-borderless': 'modern'\n }\"\n [queryParams]=\"permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"permalink.route.extras?.queryParamsHandling\"\n [state]=\"permalink.route.extras?.state\"\n (click)=\"close()\"\n >\n {{ permalinkLabel }}\n </a>\n </ng-template>\n </ng-template>\n</ng-template>\n\n<ng-template #primaryActionTemplate>\n <ng-template [ngIf]=\"primaryAction && primaryAction.callback\">\n <button\n type=\"button\"\n class=\"\n sky-btn\n sky-btn-default\n sky-flyout-btn-primary-action\n sky-margin-inline-default\n \"\n (click)=\"invokePrimaryAction()\"\n >\n {{ primaryActionLabel }}\n </button>\n </ng-template>\n</ng-template>\n", styles: [".sky-flyout{position:fixed;right:0;top:0;bottom:0;height:100%;background-color:#fff;border-left:6px solid #0974a1;z-index:1001}.sky-flyout:focus{outline:none}.sky-flyout.sky-flyout-fullscreen{min-width:100%;max-width:100%}.sky-flyout.sky-flyout-fullscreen .sky-flyout-resize-handle{cursor:initial}.sky-flyout.sky-flyout-hidden{visibility:hidden}.sky-flyout .sky-flyout-input-aria-only{width:0;height:0;padding:0;opacity:0;position:absolute;margin:-1px;border:0;overflow:hidden;clip:rect(0 0 0 0);outline:none}.sky-flyout-resize-handle{-webkit-appearance:none;-moz-appearance:none;height:100%;width:14px;position:absolute;left:-10px;cursor:ew-resize;padding:0;border:0;background:transparent;display:block;top:0;bottom:0;direction:rtl}.sky-flyout-resize-handle::-moz-range-thumb,.sky-flyout-resize-handle::-moz-range-track{-webkit-appearance:none;-moz-appearance:none;width:0;height:0;border-radius:0;border:0 none;background:none;display:none}.sky-flyout-resize-handle::-ms-thumb,.sky-flyout-resize-handle::-ms-track{-webkit-appearance:none;-moz-appearance:none;width:0;height:0;border-radius:0;border:0 none;background:none;display:none}.sky-flyout-resize-handle::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;width:0;height:0;border-radius:0;border:0 none;background:none;display:none}.sky-flyout-header{border-bottom:1px solid #cdcfd2;width:100%;background:#eeeeef;height:50px;display:flex;align-items:flex-start}.sky-flyout-header-content{flex-grow:1}.sky-flyout-btn-permalink:hover{text-decoration:none}.sky-flyout-help-shim{padding-right:8px}@media (min-width: 768px){.sky-flyout-help-shim{padding-right:50px}}.sky-flyout-content{overflow-y:auto;height:calc(100% - 50px)}:host-context(.sky-theme-modern) .sky-flyout{border-left:0}:host-context(.sky-theme-modern) .sky-flyout-header{border-bottom:none;background:#fff;padding:15px 10px}:host-context(.sky-theme-modern) .sky-flyout-header-grab-handle{cursor:move;cursor:-moz-grab}.sky-theme-modern .sky-flyout{border-left:0}.sky-theme-modern .sky-flyout-header{border-bottom:none;background:#fff;padding:15px 10px}.sky-theme-modern .sky-flyout-header-grab-handle{cursor:move;cursor:-moz-grab}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-flyout{background:#000}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-flyout-header{background:#000}.sky-theme-modern.sky-theme-mode-dark .sky-flyout{background:#000}.sky-theme-modern.sky-theme-mode-dark .sky-flyout-header{background:#000}\n"], components: [{ type: i1__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: SkyFlyoutIteratorComponent, selector: "sky-flyout-iterator", inputs: ["nextButtonDisabled", "previousButtonDisabled"], outputs: ["previousButtonClick", "nextButtonClick"] }], directives: [{ type: i7__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i9__namespace.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i2__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i7__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i10__namespace.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }, { type: i2__namespace$2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "skyLibResources": i2__namespace$1.SkyLibResourcesPipe }, animations: [
|
|
883
884
|
animations.trigger('flyoutState', [
|
|
884
885
|
animations.state(FLYOUT_OPEN_STATE, animations.style({ transform: 'initial' })),
|
|
885
886
|
animations.state(FLYOUT_CLOSED_STATE, animations.style({ transform: 'translateX(100%)' })),
|
|
@@ -899,7 +900,7 @@
|
|
|
899
900
|
providers: [
|
|
900
901
|
SkyFlyoutAdapterService,
|
|
901
902
|
SkyFlyoutMediaQueryService,
|
|
902
|
-
{ provide: i1.SkyMediaQueryService, useExisting: SkyFlyoutMediaQueryService },
|
|
903
|
+
{ provide: i1$1.SkyMediaQueryService, useExisting: SkyFlyoutMediaQueryService },
|
|
903
904
|
],
|
|
904
905
|
animations: [
|
|
905
906
|
animations.trigger('flyoutState', [
|
|
@@ -915,7 +916,7 @@
|
|
|
915
916
|
// Allow automatic change detection for child components.
|
|
916
917
|
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
917
918
|
}]
|
|
918
|
-
}], ctorParameters: function () { return [{ type: SkyFlyoutAdapterService }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.Injector }, { type: i0__namespace.ComponentFactoryResolver }, { type: i2__namespace$1.SkyLibResourcesService }, { type: SkyFlyoutMediaQueryService }, { type: i0__namespace.ElementRef }, { type: i1__namespace.SkyUIConfigService }, { type: i0__namespace.NgZone }]; }, propDecorators: { flyoutRef: [{
|
|
919
|
+
}], ctorParameters: function () { return [{ type: SkyFlyoutAdapterService }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.Injector }, { type: i0__namespace.ComponentFactoryResolver }, { type: i2__namespace$1.SkyLibResourcesService }, { type: SkyFlyoutMediaQueryService }, { type: i0__namespace.ElementRef }, { type: i1__namespace$1.SkyUIConfigService }, { type: i0__namespace.NgZone }]; }, propDecorators: { flyoutRef: [{
|
|
919
920
|
type: i0.ViewChild,
|
|
920
921
|
args: ['flyoutRef', {
|
|
921
922
|
read: i0.ElementRef,
|
|
@@ -961,7 +962,7 @@
|
|
|
961
962
|
forms.FormsModule,
|
|
962
963
|
i2$2.RouterModule,
|
|
963
964
|
i2.SkyI18nModule,
|
|
964
|
-
i1
|
|
965
|
+
i1.SkyIconModule,
|
|
965
966
|
SkyFlyoutResourcesModule,
|
|
966
967
|
i2$1.SkyThemeModule,
|
|
967
968
|
i10.SkyHrefModule], exports: [SkyFlyoutComponent] });
|
|
@@ -971,7 +972,7 @@
|
|
|
971
972
|
forms.FormsModule,
|
|
972
973
|
i2$2.RouterModule,
|
|
973
974
|
i2.SkyI18nModule,
|
|
974
|
-
i1
|
|
975
|
+
i1.SkyIconModule,
|
|
975
976
|
SkyFlyoutResourcesModule,
|
|
976
977
|
i2$1.SkyThemeModule,
|
|
977
978
|
i10.SkyHrefModule,
|
|
@@ -986,7 +987,7 @@
|
|
|
986
987
|
forms.FormsModule,
|
|
987
988
|
i2$2.RouterModule,
|
|
988
989
|
i2.SkyI18nModule,
|
|
989
|
-
i1
|
|
990
|
+
i1.SkyIconModule,
|
|
990
991
|
SkyFlyoutResourcesModule,
|
|
991
992
|
i2$1.SkyThemeModule,
|
|
992
993
|
i10.SkyHrefModule,
|
|
@@ -1147,14 +1148,14 @@
|
|
|
1147
1148
|
};
|
|
1148
1149
|
return SkyFlyoutService;
|
|
1149
1150
|
}());
|
|
1150
|
-
SkyFlyoutService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutService, deps: [{ token: i1__namespace.SkyCoreAdapterService }, { token: i1__namespace.SkyAppWindowRef }, { token: i1__namespace.SkyDynamicComponentService }, { token: i2__namespace$2.Router }, { token: i0__namespace.NgZone }, { token: i0__namespace.ApplicationRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1151
|
+
SkyFlyoutService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutService, deps: [{ token: i1__namespace$1.SkyCoreAdapterService }, { token: i1__namespace$1.SkyAppWindowRef }, { token: i1__namespace$1.SkyDynamicComponentService }, { token: i2__namespace$2.Router }, { token: i0__namespace.NgZone }, { token: i0__namespace.ApplicationRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1151
1152
|
SkyFlyoutService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutService, providedIn: 'any' });
|
|
1152
1153
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyFlyoutService, decorators: [{
|
|
1153
1154
|
type: i0.Injectable,
|
|
1154
1155
|
args: [{
|
|
1155
1156
|
providedIn: 'any',
|
|
1156
1157
|
}]
|
|
1157
|
-
}], ctorParameters: function () { return [{ type: i1__namespace.SkyCoreAdapterService }, { type: i1__namespace.SkyAppWindowRef }, { type: i1__namespace.SkyDynamicComponentService }, { type: i2__namespace$2.Router }, { type: i0__namespace.NgZone }, { type: i0__namespace.ApplicationRef }]; } });
|
|
1158
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.SkyCoreAdapterService }, { type: i1__namespace$1.SkyAppWindowRef }, { type: i1__namespace$1.SkyDynamicComponentService }, { type: i2__namespace$2.Router }, { type: i0__namespace.NgZone }, { type: i0__namespace.ApplicationRef }]; } });
|
|
1158
1159
|
|
|
1159
1160
|
/**
|
|
1160
1161
|
* Generated bundle index. Do not edit.
|